adds critical charging state to FreeBSDs battery widget

This commit is contained in:
mutlusun 2018-03-12 21:16:22 +01:00 committed by Andreas Geisenhainer
parent a81435e1be
commit 57bab3542b
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@ local function worker(format, warg)
state = "" state = ""
elseif bat_info["State"] == "charging" then elseif bat_info["State"] == "charging" then
state = "+" state = "+"
elseif bat_info["State"] == "critical charging" then
state = "+"
elseif bat_info["State"] == "discharging" then elseif bat_info["State"] == "discharging" then
state = "-" state = "-"
else else