feat(docs): Warn of battery life impact of logging
This commit is contained in:
parent
7e0924107c
commit
1766b090ee
1 changed files with 7 additions and 0 deletions
|
@ -12,6 +12,13 @@ If you are developing ZMK on a device that does not have a built in UART for deb
|
||||||
Zephyr can be configured to create a USB CDC ACM device and the direct all `printk`, console output, and log
|
Zephyr can be configured to create a USB CDC ACM device and the direct all `printk`, console output, and log
|
||||||
messages to that device instead.
|
messages to that device instead.
|
||||||
|
|
||||||
|
:::warning Battery Life Impact
|
||||||
|
|
||||||
|
Enabling logging increases the power usage of your keyboard, and can have a non-trivial impact to your time on battery.
|
||||||
|
It is recommended to only enable logging when needed, and not leaving it on by default.
|
||||||
|
|
||||||
|
:::
|
||||||
|
|
||||||
## Kconfig
|
## Kconfig
|
||||||
|
|
||||||
The following KConfig values need to be set, either by copy and pasting into the `app/prj.conf` file, or by running
|
The following KConfig values need to be set, either by copy and pasting into the `app/prj.conf` file, or by running
|
||||||
|
|
Loading…
Reference in a new issue