Fixed batat module name and expanded bat states and symbols.

This commit is contained in:
Adrian C. (anrxc) 2009-07-29 23:13:24 +02:00
parent b331cb1570
commit 9cd250be0b
1 changed files with 4 additions and 2 deletions

View File

@ -9,7 +9,7 @@ local table = { insert = table.insert }
-- }}}
-- Bat: provides state, charge, and remaining time for all batteries using acpitool
-- Batat: provides state, charge, and remaining time for all batteries using acpitool
module("vicious.batat")
@ -18,7 +18,9 @@ function worker(format)
-- Initialise tables
local battery_info = {}
local battery_state = {
["charged"] = "+",
["full"] = "*",
["unknown"] = " "
["charged"] = "*",
["charging"] = "+",
["discharging"] = "-"
}