boot: implement battery icon drawing functions
This commit is contained in:
1 parent
cccef3b85c
commit
72377c2345
8 files changed
+198
-5
No files matched your search
@@ -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. */
|
||||
|
||||
Reference in new issue
Block a user