mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-05 11:27:09 +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. |
||
---|---|---|
.. | ||
bpmp.c | ||
bpmp.h | ||
clock.c | ||
clock.h | ||
cluster.c | ||
cluster.h | ||
fuse.c | ||
fuse.h | ||
gpio.c | ||
gpio.h | ||
hw_init.c | ||
hw_init.h | ||
i2c.c | ||
i2c.h | ||
kfuse.c | ||
kfuse.h | ||
pinmux.c | ||
pinmux.h | ||
pmc_lp0_t210.h | ||
pmc.h | ||
smmu.c | ||
smmu.h | ||
t210.h | ||
uart.c | ||
uart.h |