Skip to content
Open
14 changes: 14 additions & 0 deletions prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,20 @@ CONFIG_I2C_NRFX=y

CONFIG_POWEROFF=y

# Auto-off power saving modes: 0=off, 1=minimal, 2=balanced, 3=aggressive.
# Higher modes are more aggressive: shorter timeout, fewer participants can veto.
CONFIG_POWER_SAVING_DEFAULT_MODE=2

# Auto-off participant levels are the most aggressive mode where a component
# may veto. Level 2 applies in modes 1 and 2, but not mode 3.
CONFIG_POWER_SAVING_LEVEL_LEAUDIO=3
CONFIG_POWER_SAVING_LEVEL_SENSOR_MANAGER=2

# Auto-off timeouts in minutes for each power saving mode
CONFIG_AUTO_OFF_TIMEOUT_AGGRESSIVE=5
CONFIG_AUTO_OFF_TIMEOUT_BALANCED=15
CONFIG_AUTO_OFF_TIMEOUT_MINIMAL=30

CONFIG_PM=y # may cause delay issues for ISO stream ?
CONFIG_PM_DEVICE=y
CONFIG_PM_DEVICE_RUNTIME=y
Expand Down
Loading
Loading