summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/bluetooth/bluetooth.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keychron/bluetooth/bluetooth.c')
-rw-r--r--keyboards/keychron/bluetooth/bluetooth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/keychron/bluetooth/bluetooth.c b/keyboards/keychron/bluetooth/bluetooth.c
index 481099af67..bf0950a529 100644
--- a/keyboards/keychron/bluetooth/bluetooth.c
+++ b/keyboards/keychron/bluetooth/bluetooth.c
@@ -291,7 +291,7 @@ uint8_t bluetooth_keyboard_leds(void) {
extern keymap_config_t keymap_config;
void bluetooth_send_keyboard(report_keyboard_t *report) {
- if (bt_state == BLUETOOTH_PARING && !pincodeEntry) return;
+ if ((bt_state == BLUETOOTH_PARING && !pincodeEntry) || battery_is_critical_low()) return;
if (bt_state == BLUETOOTH_CONNECTED || (bt_state == BLUETOOTH_PARING && pincodeEntry)) {
#if defined(NKRO_ENABLE)