#199 fix attempt

This commit is contained in:
Luke Bonham 2016-05-31 10:55:15 +02:00
parent f67b9d8990
commit 84005d16a9
1 changed files with 13 additions and 13 deletions

View File

@ -49,20 +49,20 @@ local function worker(args)
bg = "#FFFFFF"
}
bat_now = {
status = "Not present",
ac_status = "N/A",
perc = "N/A",
time = "N/A",
watt = "N/A"
}
bat_now.n_status = {}
for i = 1, #batteries do
bat_now.n_status[i] = "Not present"
end
function update()
bat_now = {
status = "Not present",
ac_status = "N/A",
perc = "N/A",
time = "N/A",
watt = "N/A"
}
bat_now.n_status = {}
for i = 1, #batteries do
bat_now.n_status[i] = "Not present"
end
local sum_rate_current = 0
local sum_rate_voltage = 0
local sum_rate_power = 0