These page contains some of the power management behaviors currently supported by ZMK.
The External power control behavior allows enabling or disabling the VCC power output to save power. Some of the LEDs will consume power even in OFF state. To preserve battery life in this scenario, some controller boards have support to disable the external power completely.
The following boards currently support this feature:
External power control command defines are provided through the
which is added at the top of the keymap file:
This will allow you to reference the actions defined in this header such as
Here is a table describing the command for each define:
|Disable the external power.|
|Enable the external power.|
|Toggle the external power.|
- Parameter#1: Command, e.g
Behavior binding to enable the external power&ext_power EP_ON
Behavior binding to disable the external power&ext_power EP_OFF
Behavior binding to toggle the external power&ext_power EP_TOG