am ff9ec2d9
: healthd: perform periodic chores when awake and on battery power
* commit 'ff9ec2d9990fbf9a707df063f3d43e9169bdde16': healthd: perform periodic chores when awake and on battery power
This commit is contained in:
commit
ee549d256f
1 changed files with 3 additions and 0 deletions
|
@ -249,6 +249,9 @@ static void healthd_mainloop(void) {
|
|||
if (events[n].data.ptr)
|
||||
(*(void (*)())events[n].data.ptr)();
|
||||
}
|
||||
|
||||
if (!nevents)
|
||||
periodic_chores();
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue