mirror of https://github.com/lcpz/lain.git
#199 fix attempt
This commit is contained in:
parent
f67b9d8990
commit
84005d16a9
|
@ -49,7 +49,6 @@ local function worker(args)
|
||||||
bg = "#FFFFFF"
|
bg = "#FFFFFF"
|
||||||
}
|
}
|
||||||
|
|
||||||
function update()
|
|
||||||
bat_now = {
|
bat_now = {
|
||||||
status = "Not present",
|
status = "Not present",
|
||||||
ac_status = "N/A",
|
ac_status = "N/A",
|
||||||
|
@ -63,6 +62,7 @@ local function worker(args)
|
||||||
bat_now.n_status[i] = "Not present"
|
bat_now.n_status[i] = "Not present"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function update()
|
||||||
local sum_rate_current = 0
|
local sum_rate_current = 0
|
||||||
local sum_rate_voltage = 0
|
local sum_rate_voltage = 0
|
||||||
local sum_rate_power = 0
|
local sum_rate_power = 0
|
||||||
|
|
Loading…
Reference in New Issue