whitespaces removed

This commit is contained in:
Luke Bonham 2016-04-04 14:09:54 +02:00
parent e061c2ec06
commit fe8e24e5f5
2 changed files with 14 additions and 15 deletions

View File

@ -101,7 +101,6 @@ local function worker(args)
local hours = math.floor(rate_time) local hours = math.floor(rate_time)
local minutes = math.floor((rate_time - hours) * 60) local minutes = math.floor((rate_time - hours) * 60)
local watt = rate_power and (rate_power / 1e6) or (rate_voltage * rate_current) / 1e12 local watt = rate_power and (rate_power / 1e6) or (rate_voltage * rate_current) / 1e12
bat_now.perc = string.format("%d", energy_percentage) bat_now.perc = string.format("%d", energy_percentage)