adds critical charging state to FreeBSDs battery widget
This commit is contained in:
parent
a81435e1be
commit
57bab3542b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue