Closed luu176 closed 1 month ago
The
shutdown_idle_delay_ms
value is now dynamically retrieved from the PowerSettings to ensure the timer is set accurately according to user-defined settings.
no point, when user changes this value, it is updated in service accordingly. this is just loading from file when theres no need to :D
This implements safeguard to prevent the flipper zero from shutting down while it's in a charging state. By doing so, we ensure that the battery charges fully without interruption.
What's new
power_auto_shutdown_timer_callback
function to check the power state.shutdown_idle_delay_ms
shutdown_idle_delay_ms
value is now dynamically retrieved from the PowerSettings to ensure the timer is set accurately according to user-defined settings.