Skip to content

Commit

Permalink
lcpz#199 fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Bonham committed May 31, 2016
1 parent f67b9d8 commit 84005d1
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions widgets/bat.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,20 @@ local function worker(args)
bg = "#FFFFFF"
}

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
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()
local sum_rate_current = 0
local sum_rate_voltage = 0
local sum_rate_power = 0
Expand Down

0 comments on commit 84005d1

Please sign in to comment.