CONFIG_SYS_POWER_DEEP_SLEEP_STATES

Deep Sleep states

Type: bool

Help

This option enables the kernel to interface with a power manager application. This permits the system to enter a Deep sleep state supported by the SOC where the system clock is turned off while RAM is retained. This state would be entered when the kernel becomes idle for extended periods and would have a high wake latency. Resume would be from the reset vector same as cold boot. The interface allows restoration of states that were saved at the time of suspend.

Direct dependencies

(HAS_SYS_POWER_STATE_DEEP_SLEEP_1 || HAS_SYS_POWER_STATE_DEEP_SLEEP_2 || HAS_SYS_POWER_STATE_DEEP_SLEEP_3) && SYS_POWER_MANAGEMENT

(Includes any dependencies from if’s and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At kernel/Kconfig.power_mgmt:30

Included via Kconfig:10Kconfig.zephyr:31kernel/Kconfig:760

Menu path: (top menu) → General Kernel Options → System Power management

config SYS_POWER_DEEP_SLEEP_STATES
    bool
    prompt "Deep Sleep states" if (HAS_SYS_POWER_STATE_DEEP_SLEEP_1 || HAS_SYS_POWER_STATE_DEEP_SLEEP_2 || HAS_SYS_POWER_STATE_DEEP_SLEEP_3) && SYS_POWER_MANAGEMENT
    depends on (HAS_SYS_POWER_STATE_DEEP_SLEEP_1 || HAS_SYS_POWER_STATE_DEEP_SLEEP_2 || HAS_SYS_POWER_STATE_DEEP_SLEEP_3) && SYS_POWER_MANAGEMENT
    help
      This option enables the kernel to interface with a power manager
      application. This permits the system to enter a Deep sleep state
      supported by the SOC where the system clock is turned off while RAM is
      retained. This state would be entered when the kernel becomes idle for
      extended periods and would have a high wake latency.  Resume would be
      from the reset vector same as cold boot. The interface allows
      restoration of states that were saved at the time of suspend.

(Definitions include propagated dependencies, including from if’s and menus.)