aboutsummaryrefslogtreecommitdiff
path: root/gmail.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-10-15 23:11:36 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-10-15 23:47:54 +0200
commita72b776dd5abcbe4ab646be0e4a4364eac1d8a25 (patch)
tree2117daa8973e78cf7c6d14008c95b7bd544a4447 /gmail.lua
parent46d71165751797cb0ba454bc38f19b5174e78866 (diff)
downloadvicious-legacy-a72b776dd5abcbe4ab646be0e4a4364eac1d8a25.tar.xz
bat: better fix for ACPI, from bioe007
Previous commit had redudant string > number conversions, and only covered one scenario - when battery is charged. bioe007 suggested to use math.min. Now lets explain why this is needed. Some (lousy) batteries report "remaining capacity" higher than "last full capacity" when AC is connected. That leads to battery charges like "160%".
Diffstat (limited to 'gmail.lua')
0 files changed, 0 insertions, 0 deletions