1
0
Fork 0
mirror of https://github.com/CTCaer/hekate.git synced 2024-12-23 16:36:03 +00:00
hekate/bootloader/gfx
CTCaer 5f142b4c86 main: Add empty battery screen
This disables low battery monitor shutdown (LBM shutdown) on boot and checks if battery is enough.

The logic is as follows:

If battery is not enough:
- If not charging and 15s pass, it will re enable LBM shutdown and power off.
- If charging, it will wait until it is charged above the limit.
 Screen will auto turn off to save power. A press on Power button or a change on charger, will enable it for another 15s.

If battery is enough:
- Enables LBM shutdown and continues with the boot process.
2020-04-06 05:54:45 +03:00
..
di.c Move all I/DRAM addresses into a memory map 2019-12-08 02:23:03 +02:00
di.h Move all I/DRAM addresses into a memory map 2019-12-08 02:23:03 +02:00
di.inl Move all I/DRAM addresses into a memory map 2019-12-08 02:23:03 +02:00
gfx.c Update and add missing copyrights 2020-03-14 09:24:24 +02:00
gfx.h Update and add missing copyrights 2020-03-14 09:24:24 +02:00
logos.h main: Add empty battery screen 2020-04-06 05:54:45 +03:00
tui.c Add error printing for issues with libraries 2019-12-11 11:22:11 +02:00
tui.h refactor: Remove all unwanted whitespace 2019-10-18 18:02:06 +03:00