diff options
author | Jörg Thalheim <jthalheim@gmail.com> | 2012-02-09 12:43:22 +0100 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2012-03-04 20:24:22 +0100 |
commit | 7a3699cf4c1102cddb7ace1c089364634c25a227 (patch) | |
tree | 94d3b1eb7992b8b7535fac6036c63dbf952e5b2f /widgets/thermal.lua | |
parent | b11bb78e04b1efa1cd7b352f0522c88280647ad4 (diff) | |
download | vicious-legacy-7a3699cf4c1102cddb7ace1c089364634c25a227.tar.xz |
division by zero, if battery is full charged
If the battery state change from charging to full,
power_now is reseted to zero for a little time.
This cause division by zero, which was visible as a very big negative
number because of the behaviour of string.format.
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
Diffstat (limited to 'widgets/thermal.lua')
0 files changed, 0 insertions, 0 deletions