mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-26 07:37:21 -08:00
N249: Battery status fix
This commit is contained in:
parent
a4b62b6811
commit
914618c95c
1 changed files with 1 additions and 1 deletions
|
@ -811,7 +811,7 @@ namespace {
|
|||
}
|
||||
}
|
||||
else if(global::deviceID == "n249\n") {
|
||||
if(readFile("/sys/class/power_supply/rn5t618-battery/status") != "Not charging\n") {
|
||||
if(readFile("/sys/class/power_supply/rn5t618-battery/status") != "Discharging\n") {
|
||||
return 1;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue