Power manager module
Use the power manager module to reduce the energy consumption of battery-powered devices. The module achieves this by switching to low power modes when the device is not used for a longer period of time. The power manager module is by default enabled, along with all of the required dependencies for every nRF Desktop device.
Module events
Source Module |
Input Event |
This Module |
Output Event |
Sink Module |
---|---|---|---|---|
|
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Note
See the Application overview for more information about the event-based communication in the nRF Desktop application and about how to read this table.
Configuration
nRF Desktop uses the power manager module from the Common Application Framework (CAF).
The CONFIG_DESKTOP_POWER_MANAGER Kconfig option selects CONFIG_CAF_POWER_MANAGER
and aligns the default module configuration to the application requirements.
The CONFIG_DESKTOP_POWER_MANAGER Kconfig option is implied by the CONFIG_DESKTOP_COMMON_MODULES Kconfig option.
The CONFIG_DESKTOP_COMMON_MODULES option is enabled by default and is not user-assignable.
Additionally, the CONFIG_CAF_POWER_MANAGER_STAY_ON
option is automatically enabled for nRF Desktop dongles (CONFIG_DESKTOP_DESKTOP_ROLE_HID_DONGLE).
Implementation details
See the CAF power manager module page for implementation details.