mirror of
https://github.com/Quill-OS/quill.git
synced 2024-10-31 21:33:22 -07: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") {
|
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;
|
return 1;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue