diff options
-rw-r--r-- | common/led_onoff_states.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/led_onoff_states.c b/common/led_onoff_states.c index 8d1dce8971..48886e5de3 100644 --- a/common/led_onoff_states.c +++ b/common/led_onoff_states.c @@ -99,6 +99,8 @@ static enum led_states led_get_state(void) case PWR_STATE_IDLE: /* External power connected in IDLE */ if (charge_get_flags() & CHARGE_FLAG_FORCE_IDLE) new_state = STATE_FACTORY_TEST; + else if (chipset_in_state(CHIPSET_STATE_ANY_OFF)) + new_state = STATE_DISCHARGE_S5; else new_state = STATE_DISCHARGE_S0; break; |