mirror of
https://github.com/CTCaer/hekate
synced 2024-11-04 19:06:35 +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. |
||
---|---|---|
.. | ||
bq24193.c | ||
bq24193.h | ||
max7762x.c | ||
max7762x.h | ||
max17050.c | ||
max17050.h | ||
max77620.h | ||
regulator_5v.c | ||
regulator_5v.h |