-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
feats: prevent sleep while active BT profile connected and allow sleep while USB power connected #3288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feats: prevent sleep while active BT profile connected and allow sleep while USB power connected #3288
Changes from 7 commits
8b4bf7d
2d77d1d
ba812cb
f3d9aaa
fd67eb2
0511b3a
7469360
2441c4b
c5c30a1
6bfae52
039d460
8c9ec64
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -415,6 +415,15 @@ config ZMK_IDLE_SLEEP_TIMEOUT | |||||
| int "Milliseconds of inactivity before entering deep sleep" | ||||||
| default 900000 | ||||||
|
|
||||||
| config ZMK_BLE_PREVENT_SLEEP_WHILE_ACTIVE_CONNECTED | ||||||
| bool "Prevent sleeping while the active BT profile is connected" | ||||||
| depends on ZMK_BLE | ||||||
| default n | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. One thing I missed; can you remove? See #2161
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| config ZMK_USB_ALLOW_SLEEP_WHILE_POWERED | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| bool "Allow sleeping while USB power is connected" | ||||||
| default n | ||||||
|
|
||||||
| endif # ZMK_SLEEP | ||||||
|
|
||||||
| config ZMK_EXT_POWER | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO these should be prefixed with
ZMK_SLEEP, since they are all sub-options related to it.