Skip to content

Commit a1c2933

Browse files
committed
Enable deep sleep in zmk
1 parent 6b5cdc0 commit a1c2933

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

boards/shields/charybdis/charybdis_right.conf

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
CONFIG_SPI=y
22
CONFIG_INPUT=y
33
CONFIG_ZMK_POINTING=y
4-
CONFIG_ZMK_EXT_POWER=y
4+
# Disable external power control for reduced deep sleep consumption
5+
# Following 280Zo optimization: https://github.com/280Zo/charybdis-wireless-mini-zmk-firmware
6+
# CONFIG_ZMK_EXT_POWER is set to 'n' to reduce power consumption during deep sleep
7+
# Uncomment below if you need external power control for peripherals (displays, lighting)
8+
#CONFIG_ZMK_EXT_POWER=y
9+
CONFIG_ZMK_EXT_POWER=n
510

611
CONFIG_PMW3610_ALT=y
712
CONFIG_PMW3610_ALT_SMART_ALGORITHM=y

config/charybdis.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@ CONFIG_BT_L2CAP_TX_BUF_COUNT=32
1111
CONFIG_ZMK_BLE_EXPERIMENTAL_FEATURES=y
1212
CONFIG_ZMK_BEHAVIORS_QUEUE_SIZE=512
1313

14+
# Deep Sleep Configuration
15+
# Enable deep sleep support to reduce power consumption when idle
16+
CONFIG_ZMK_SLEEP=y
17+
18+
# Testing timeout: 1-2 minutes (60000-120000ms)
19+
# CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=120000

0 commit comments

Comments
 (0)