counterfix on pull #6

This commit is contained in:
luke bonham 2013-09-27 13:09:29 +02:00
parent 2fd9382035
commit efca46a9f4
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ local function worker(args)
bat_now.watt = string.format("%.2fW", (rate * ratev) / 1e12) bat_now.watt = string.format("%.2fW", (rate * ratev) / 1e12)
-- notifications for low and critical states -- notifications for low and critical states
if bat_new.status == "Discharging" if bat_now.status == "Discharging"
then then
if bat_now.perc <= 5 if bat_now.perc <= 5
then then