mirror of
https://github.com/CTCaer/hekate.git
synced 2024-12-23 00:22:01 +00:00
5f142b4c86
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. |
||
---|---|---|
.. | ||
config | ||
frontend | ||
gfx | ||
hos | ||
ianos | ||
libs | ||
mem | ||
power | ||
rtc | ||
sec | ||
soc | ||
storage | ||
utils | ||
link.ld | ||
main.c | ||
start.S |