USB state power manager module

The USB state power manager module is minor, stateless module that imposes an application power level restriction related to the USB state. The application power level is managed by the power manager module.

Module events

Source Module

Input Event

This Module

Output Event

Sink Module

Source modules for module_state_event



USB state module



Power manager module


Power manager module


See the Overview: Firmware architecture for more information about the event-based communication in the nRF Desktop application and about how to read this table.


The module is enabled by selecting CONFIG_DESKTOP_USB_PM_ENABLE option. It depends on CONFIG_DESKTOP_USB_ENABLE and CONFIG_CAF_POWER_MANAGER options.

The log level is inherited from the USB state module.

Implementation details

For the change of the restricted power level, the module reacts to usb_state_event. Upon reception of the event and depending on the current USB state, the module requests different power restrictions:

For more information about the USB states in nRF Desktop, see the USB state module.