1
0
Fork 0
mirror of https://github.com/CTCaer/hekate.git synced 2024-12-23 00:22:01 +00:00
hekate/bootloader
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
..
config tools: Force sparse verification on TUI 2020-04-06 05:36:09 +03:00
frontend tools: Force sparse verification on TUI 2020-04-06 05:36:09 +03:00
gfx main: Add empty battery screen 2020-04-06 05:54:45 +03:00
hos fss: Fix launching CFW on sys for < 7.0.0 2020-03-21 13:15:24 +02:00
ianos
libs Move all I/DRAM addresses into a memory map 2019-12-08 02:23:03 +02:00
mem minerva: More protections 2020-03-21 22:10:06 +02:00
power main: Add empty battery screen 2020-04-06 05:54:45 +03:00
rtc rtc: Add epoch convertion functions 2019-12-14 22:27:07 +02:00
sec bpmp: Reduce freq to 589MHz 2019-12-07 02:01:29 +02:00
soc main: Add empty battery screen 2020-04-06 05:54:45 +03:00
storage Bugfixes 2020-03-21 22:28:50 +02:00
utils minerva: More protections 2020-03-21 22:10:06 +02:00
link.ld
main.c main: Add empty battery screen 2020-04-06 05:54:45 +03:00
start.S