am ee549d25: am ff9ec2d9: healthd: perform periodic chores when awake and on battery power
* commit 'ee549d256f50ca3078a8537fa5b32a3f86295ea5': healthd: perform periodic chores when awake and on battery power
This commit is contained in:
commit
47f284af49
|
@ -250,6 +250,9 @@ static void healthd_mainloop(void) {
|
|||
if (events[n].data.ptr)
|
||||
(*(void (*)())events[n].data.ptr)();
|
||||
}
|
||||
|
||||
if (!nevents)
|
||||
periodic_chores();
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue