How the power sleep mode works xavier NX

How would I be able put the system to sleep and wake it up? Would it be through a command?
how the power sleep mode works xavier NX?

hello venkatraman.bhat,

please refer to developer guide, Power Management for Jetson Xavier NX and Jetson AGX Xavier Series Devices.
you may have system controls to put your device enter Deep Sleep (SC7), i.e. $ sudo systemctl suspend
thanks

Hi,
I tried below commands :
sudo systemctl suspend and sudo rtcwake -t $(date +%s -d ’ + 10 seconds’) -m mem -v

but it comes back immediately within few second to the normal mode

nvidia@nvidia-desktop:~ sudo rtcwake -t (date +%s -d ’ + 10 seconds’) -m mem -v
rtcwake: assuming RTC uses UTC …
Using UTC time.
delta = 0
tzone = 0
tzname = UTC
systime = 1611832396, (UTC) Thu Jan 28 11:13:16 2021
rtctime = 1611832396, (UTC) Thu Jan 28 11:13:16 2021
alarm 1611832406, sys_time 1611832396, rtc_time 1611832396, seconds 0
rtcwake: wakeup from “mem” using /dev/rtc0 at Thu Jan 28 11:13:26 2021
suspend mode: mem; suspending system
nvidia@nvidia-desktop:~ sudo rtcwake -t (date +%s -d ’ + 30 seconds’) -m mem -v
rtcwake: assuming RTC uses UTC …
Using UTC time.
delta = 0
tzone = 0
tzname = UTC
systime = 1611832416, (UTC) Thu Jan 28 11:13:36 2021
rtctime = 1611832416, (UTC) Thu Jan 28 11:13:36 2021
alarm 1611832446, sys_time 1611832416, rtc_time 1611832416, seconds 0
rtcwake: wakeup from “mem” using /dev/rtc0 at Thu Jan 28 11:14:06 2021
suspend mode: mem; suspending system
nvidia@nvidia-desktop:~$ sudo /usr/sbin/nvpmodel -q
NV Fan Mode:quiet
NV Power Mode: MODE_10W_2CORE
3

hello venkatraman.bhat,

please refer to [Deep Sleep (SC7)] session, there’re sample commands to initiate deep sleep from the user space.
thanks