diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-07-30 01:48:07 +0200 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-07-30 01:48:07 +0200 |
commit | e2d503ee36d0e3f0d20f7f888ab03caac68c32bb (patch) | |
tree | 558ffd011e2d1bc8ebd06fab4f21eb6da05c4ac3 /mbox.lua | |
parent | 19ca7b5a038508179b2e195d223ecaa2299f14a1 (diff) | |
download | vicious-legacy-e2d503ee36d0e3f0d20f7f888ab03caac68c32bb.tar.xz |
Added a new, standalone, battery widget.
The widget reads /proc/acpi/battery/*/{info,state} and doesn't require
an external utility like 'acpi' or 'acpitool'. It returns state,
charge and remaining time information, just like the old bat (now
batat) widget. Using /sys/class/power_supply we would need to open
much more file descriptors so we use /proc for now.
Diffstat (limited to 'mbox.lua')
0 files changed, 0 insertions, 0 deletions