Sysfs related query

Could any one please tell me how to put my TX2 in deep sleep mode. Is there any sysfs based command available to achieve this task. Please let me know.

Thanks

You may use (the former is better):

sudo systemctl suspend

or

sudo bash -c 'echo -n mem > /sys/power/state'

Thanks Honey. It worked.

The TX2 support two mode

  1. Suspend Mode (LP1).
  2. Deep Sleep Mode (LP0).

If the above given command is for deep sleep mode mean what command should use to put the system in suspend mode?

I cannot check now for a systemctl command, but from sysfs this should work:

sudo bash -c 'echo -n freeze > /sys/power/state'