diff options
-rw-r--r-- | common/power_button_x86.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/power_button_x86.c b/common/power_button_x86.c index 9570d9c3b3..f695b0ffdb 100644 --- a/common/power_button_x86.c +++ b/common/power_button_x86.c @@ -121,7 +121,8 @@ static void set_pwrbtn_to_pch(int high) * is too low. */ #ifdef CONFIG_CHARGER - if (!high && (charge_want_shutdown() || charge_prevent_power_on())) { + if (chipset_in_state(CHIPSET_STATE_ANY_OFF) && !high && + (charge_want_shutdown() || charge_prevent_power_on())) { CPRINTS("PB PCH pwrbtn ignored due to battery level"); high = 1; } |