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:
Todd Poynor 2013-09-09 16:53:13 -07:00 committed by Android Git Automerger
commit ee549d256f

View file

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