1
0
Fork 0
mirror of https://github.com/CTCaer/hekate.git synced 2024-11-22 18:06:40 +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 ianos: Remove error unneeded printing 2019-08-28 02:09:05 +03:00
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 [Versioning] Better and smarter for update and sept 2019-03-07 23:53:58 +02:00
main.c main: Add empty battery screen 2020-04-06 05:54:45 +03:00
start.S Refactor ALL the things + enable LTO 2018-08-13 11:58:24 +03:00