README.rst
1.. zephyr:code-sample:: nrf_system_off
2 :name: System Off
3 :relevant-api: sys_poweroff subsys_pm_device
4
5 Use deep sleep on Nordic platforms.
6
7Overview
8********
9
10This sample can be used for basic power measurement and as an example of
11deep sleep on Nordic platforms.
12
13RAM Retention
14=============
15
16This sample can also demonstrate RAM retention.
17By selecting ``CONFIG_APP_USE_RETAINED_MEM=y`` state related to number of boots,
18number of times system off was entered, and total uptime since initial power-on
19are retained in a checksummed data structure.
20RAM is configured to keep the containing section powered while in system-off mode.
21
22Requirements
23************
24
25This application uses nRF51 DK, nRF52 DK or nRF54L15 DK board for the demo.
26
27Sample Output
28=============
29
30nRF52 core output
31-----------------
32
33.. code-block:: console
34
35 *** Booting Zephyr OS build v2.3.0-rc1-204-g5f2eb85f728d ***
36
37 nrf52dk system off demo
38 Entering system off; press sw0 to restart
39