zmk
zmk copied to clipboard
[Feature Request] Option to disable sleep while bluetooth connection is active
The ZMK checks the USB connection before starting the sleep timer. I would like to be able to check the BLE connections.
Now the keyboard falls asleep when I watch a video and I have to wake it up every time to pause the video.
I increased the time before falling asleep to an hour. Now, after turning off the PC, the keyboard still tries to connect to it for a long time.
I would like the keyboard to fall asleep 5 minutes after losing connection to the PC.
I think this is a really nice idea as a tweak or optional change to the current sleep code. Some folks may still prefer the current behavior, so probably work putting behavior a new Kconfig flag.