Commit Graph

4 Commits

Author SHA1 Message Date
Adrian C. (anrxc) bc637062d7 Coding style fixes in battery widgets. 2009-07-30 20:47:02 +02:00
Adrian C. (anrxc) 2921200d0f Added handlers to batat and fixed the battery_state table.
Batat now returns "/" in situations where the battery is not
present. Last commit broke the battery_state table, fixed that.
2009-07-30 02:05:22 +02:00
Adrian C. (anrxc) 9cd250be0b Fixed batat module name and expanded bat states and symbols. 2009-07-29 23:13:24 +02:00
Adrian C. (anrxc) 76b8978ef2 Battery widget moved to batat.lua in preparation for a new bat widget.
It's time for a standalone battery widget that reads
/proc/acpi/battery/*/{info,state} alone. However the old battery
widget that uses 'acpitool' will not be deleted, let it serve as an
alternative widget as a convenience. Some might also prefer it over
reading multiple files in /proc
2009-07-29 22:20:32 +02:00