counterfix on pull #6
This commit is contained in:
parent
2fd9382035
commit
efca46a9f4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue