feat(power) Add additional idle options#2398
feat(power) Add additional idle options#2398nmunnich wants to merge 4 commits intozmkfirmware:mainfrom
Conversation
|
I think the combination of the two settings is overlapping with |
|
There is some ideological overlap, but currently no functional overlap: How this would look in the future when we have proper PM support I'm less certain about. I'm not sure I follow the rest of your statement. |
|
Going to close this for the time being - on further thinking, I think I'd rather revisit this once #1775 is merged and see if it's still a good thing to have then. |
Added two Kconfig flags:
ZMK_EXT_POWER_IDLE_OFF(disabled by default) to turn off external power when the keyboard goes into idle, and enable it again when it exits idle. Seems like it would be particularly useful for trackpoint users.ZMK_IDLE_USB(enabled by default) which enables/disables idling while connected to USB power. I'd be expecting RGB lovers to request this.First flag is tested and confirmed working. Unable to test second flag, implementation is trivial though. Unable to test whether the display re-init bug mentioned in #1300 is still present, would expect this to interact poorly if so.