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:
Todd Poynor 2013-09-09 16:54:49 -07:00 committed by Android Git Automerger
commit 47f284af49
1 changed files with 3 additions and 0 deletions

View File

@ -250,6 +250,9 @@ static void healthd_mainloop(void) {
if (events[n].data.ptr)
(*(void (*)())events[n].data.ptr)();
}
if (!nevents)
periodic_chores();
}
return;