#177 fixed typo
This commit is contained in:
parent
fbc8c2ba7b
commit
e5abb78443
2 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@ local function worker(args)
|
||||||
first_line(bstr .. "/charge_full"))
|
first_line(bstr .. "/charge_full"))
|
||||||
|
|
||||||
bat_now.status = first_line(bstr .. "/status") or "N/A"
|
bat_now.status = first_line(bstr .. "/status") or "N/A"
|
||||||
bat_now.ac = first_line(string.format("/sys/class/power_supply/%s/online", ac)) or "N/A"
|
bat_now.ac_status = first_line(string.format("/sys/class/power_supply/%s/online", ac)) or "N/A"
|
||||||
|
|
||||||
local time_rat = 0
|
local time_rat = 0
|
||||||
if bat_now.status == "Charging"
|
if bat_now.status == "Charging"
|
||||||
|
|
2
wiki
2
wiki
|
@ -1 +1 @@
|
||||||
Subproject commit 3abe7c4113a2ebcb2b95dc50e2176d2e5e44a947
|
Subproject commit bc955e7cd731f672831e6f9013037cccf38b6c9b
|
Loading…
Add table
Reference in a new issue