feat: override disable_pico_led for low-battery blink
The low-battery indicator is critical info — keep blinking even when the user has the LED disabled (Speaker mute toggle). Steady-state LED still respects the flag: when battery recovers or charging starts, the LED returns to off if the flag is set, otherwise to the existing connected = solid-on state. (cherry picked from commit 775346cd29d9a3c566309ec7d29db80f0b6979f1)
This commit is contained in:
@@ -59,7 +59,7 @@ Some behaviors depend on reconnection cycles to take effect
|
||||
|
||||
### Low-battery LED indicator
|
||||
|
||||
When the connected DualSense reports its battery at or below 10% (and it is not charging), the Pico onboard LED switches from solid-on to a 1 Hz blink so you can see the warning at a glance. The LED returns to solid-on as soon as the controller is plugged in or its reported level rises again. The indicator respects the existing `disable_pico_led` setting (Speaker mute toggle).
|
||||
When the connected DualSense reports its battery at or below 10% (and it is not charging), the Pico onboard LED switches from solid-on to a 1 Hz blink so you can see the warning at a glance. The LED returns to solid-on as soon as the controller is plugged in or its reported level rises again. The blink also fires when `disable_pico_led` is set — the warning is treated as critical and overrides the LED-off preference; the LED returns to its disabled (off) state once the battery recovers or the controller starts charging.
|
||||
|
||||
To opt out at build time, configure with `-DENABLE_BATT_LED=OFF`. Default is ON.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user