This commit is contained in:
copycat-killer 2016-03-22 18:41:39 +01:00
parent fbc8c2ba7b
commit e5abb78443
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ local function worker(args)
first_line(bstr .. "/charge_full"))
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
if bat_now.status == "Charging"

2
wiki

@ -1 +1 @@
Subproject commit 3abe7c4113a2ebcb2b95dc50e2176d2e5e44a947
Subproject commit bc955e7cd731f672831e6f9013037cccf38b6c9b