rewrite of the battery plugin which gathers data from /sys
commitd5a6781b4e88e6be4c3a714402167371add2c3be
authorBart Trojanowski <bart@jukie.net>
Fri, 15 Jan 2010 20:37:33 +0000 (15 15:37 -0500)
committerBart Trojanowski <bart@jukie.net>
Fri, 15 Jan 2010 20:40:14 +0000 (15 15:40 -0500)
tree12bb95a1c9ed76c3f82072bea22b4c9a62599f5e
parent86f498a242643b3b0eb6ce58cd6f2ceb70d36569
rewrite of the battery plugin which gathers data from /sys

The /proc interface is deprecated in the kernel, and the old module was kept
around as 'proc-battery' if you need it.
src/plugins/battery.lua
src/plugins/proc-battery.lua [copied from src/plugins/battery.lua with 100% similarity]