Sleep state


Does anyone know what the power consumption is in sleep state? and what the recover time from sleep state?



Hi avihay.ayash,

around 1.5-2W idle for the Jetson AGX Xavier devkit.


Is there a way to put it into sleep state through a command?

sudo systemctl suspend


Thank you, but how do I wake it back up if I suspend it? Assuming I can only connect through ssh.

I’d suggest using rctwake. For example, this will put the xavier idle for 60 seconds:

sudo rtcwake -m freeze -s 60

You may otherwise use WakeOnLan.

Wake on Lan is exactly what I want, but is it available on the TX2? A quick search leads me to think it isn’t.

It works. Try this on Xavier:

# Get the mac address of Xavier's wired ethernet controler and copy it
<s>ifconfig eth0 |grep ether| tr -s " " | cut -d' ' -f3</s>
ifconfig eth0 | grep -i ether | tr  ' ' '\n' | egrep -A1 "ether|HWaddr"

# Enable WOL for eth0
sudo ethtool -s eth0 wol g

# Put Xavier in suspend mode
sudo systemctl suspend

Then on host (assuming a an Ubuntu host):

#install wakeonlan:
sudo apt-get install wakeonlan

# Now wakeup your Xavier providing its mac address:
wakeonlan xx:xx:xx:xx:xx:xx

[EDIT: depending on your network you may have to set -i :

wakeonlan -i <broadcast-address> <mac-address>


Awesome, thank you. Will try it out and update here

Doesn’t seem to work on the TX2.
How do I check the success of this?:

sudo ethtool -s eth0 wol g

I’m using the Auvidea J90 carrier board for my TX2. Not sure if that is the reason it doesn’t work

Sorry, I did only test on Xavier (this topic is for Xavier) and did not pay attention to the fact you were asking about tx2.

Now testing on TX2 devtkit I see it fails. Although it seems ok:

sudo ethtool eth0  | egrep "^[[:blank:]]*Wake-on: (g|d)"
[sudo] password for nvidia:
        Wake-on: g

The TX2 doesn’t wake up when receiving the magic packet. Seems this is known to be related to Ethernet phy(BCM89610) not supporting this feature.
Sorry again for misleading information.

Ah, my bad. I didn’t realize this was an Xavier post.
Thank you for your help nevertheless

Sorry, just to clarify, is this post talking about a different power requirement? 10 mW looked like a typo but I wasn’t sure.

Incidentally would you know the sleep state power consumption for the TX2i in sleep mode?

Not sure this is the same post (or this user name has changed) but AFAIU @dusty_nv gave different numbers than @Trumany. I haven’t measured this myself, but someone who did may tell more.
Updated here.

my jetson xavier nx run rtcwake is not work.

sudo rtcwake -m freeze -s 10

will got

rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "freeze" using /dev/rtc0 at Sat Jun 20 04:53:39 2020
rtcwake: write error

Sorry, I don’t have a NX yet, so I don’t know what power states are available:
sudo cat /sys/power/state
Use one of the available modes.

You may check if rtc can be used as wakealarm:

sudo su
# set wake alarm in 10s
echo +10 > /sys/class/rtc/rtc0/wakealarm

# check: this would display a number during the 10s, then nothing 
cat  /sys/class/rtc/rtc0/wakealarm

If it works, you may try (with an available suspend mode):

echo +10 > /sys/class/rtc/rtc0/wakealarm; echo freeze > /sys/power/state

It worked once, but after that when i try to suspend, neither sudo pm-suspend nor sudo systemctl suspend can make Xavier asleep, i looks weird but in both conditions it auto wakes up a second after being suspended,
i use jetpack 4.5.1 on agx Xavier

I found that this is the case when I boot from m2-key ssd, when I normally boot from emmc, everything works fine, how should I use ssd with wake on lan.?!?!