boot: implement battery icon drawing functions

This commit is contained in:
Michael Scire 2019-05-06 13:33:54 -07:00
parent cccef3b85c
commit 72377c2345
8 changed files with 198 additions and 5 deletions

View file

@ -133,6 +133,18 @@ int main(int argc, char **argv)
Boot::SetInitialClockConfiguration();
Boot::ShowLowBatteryIcon();
Boot::StartShowChargingIcon(0, true);
Boot::EndShowChargingIcon();
Boot::StartShowChargingIcon(15, true);
Boot::EndShowChargingIcon();
Boot::StartShowChargingIcon(100, true);
Boot::EndShowChargingIcon();
while (1) { }
/* TODO: CheckAndRepairBootImages(); */
/* Tell PM to start boot2. */