summaryrefslogtreecommitdiff
path: root/app/Kconfig
diff options
context:
space:
mode:
authorNick Winans <nick@winans.codes>2020-12-15 13:22:16 -0600
committerPete Johanson <peter@peterjohanson.com>2020-12-29 08:30:57 -0500
commit43f6d798be70ef247b0717730ec34202cb81e96d (patch)
tree9b0ebe807d6aa924ec9c9f2fdb41a2ac6a926bcd /app/Kconfig
parent87dbd4ca28405ab3d17cf62f3df86581606279b7 (diff)
feat(ext-power): Cut power when PM is sleeping
Diffstat (limited to 'app/Kconfig')
-rw-r--r--app/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Kconfig b/app/Kconfig
index acb288c..4341df1 100644
--- a/app/Kconfig
+++ b/app/Kconfig
@@ -234,6 +234,9 @@ choice SYS_PM_POLICY
default SYS_PM_POLICY_APP
endchoice
+config DEVICE_POWER_MANAGEMENT
+ default y
+
config ZMK_IDLE_SLEEP_TIMEOUT
int "Milliseconds of inactivity before entering deep sleep"
default 900000