summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/bluetooth/lpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keychron/bluetooth/lpm.c')
-rw-r--r--keyboards/keychron/bluetooth/lpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/keychron/bluetooth/lpm.c b/keyboards/keychron/bluetooth/lpm.c
index 62e78d03b1..187c6d75c0 100644
--- a/keyboards/keychron/bluetooth/lpm.c
+++ b/keyboards/keychron/bluetooth/lpm.c
@@ -86,7 +86,7 @@ void lpm_task(void) {
#ifdef RGB_MATRIX_ENABLE
&& rgb_matrix_is_driver_shutdown()
#endif
- && !lpm_any_matrix_action())
+ && !lpm_any_matrix_action() && !battery_power_on_sample())
enter_power_mode(LOW_POWER_MODE);
}