mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: parts-aidl: No need to set the bool every 5s
This commit is contained in:
parent
aa216cb327
commit
820eeff595
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ void SmartCharge::battery_monitor(void) {
|
|||
kTookAction = true;
|
||||
restart_stat += 1;
|
||||
} else {
|
||||
if (!kTookAction) goto sleep;
|
||||
kTookAction = false;
|
||||
}
|
||||
sleep:
|
||||
|
|
|
|||
Loading…
Reference in a new issue