Users Guide

Table 15. Values and configuration options for the ignition pin
ignore
Do nothing
poweroff (default) Shut down the system
reboot
Reboot the system
halt
Halt the system
kexec
Direct-boot a new kernel
suspend
Suspend the system
hibernate
Hibernate the system
hybrid-sleep
Suspend to both disk and RAM
lock
Screen-lock all running sessions.
For example, to reboot the system when the power button is pressed, run the command:
$ snap set core system.power-key-action=reboot
System Power Management
Configuring low power states: S3 and S4
Configure sleep state–S3
$ sudo systemctl suspend
Configure hibernate state–S4
$ sudo systemctl hibernate
Rebooting or power off
To reboot the system
$ sudo reboot
To power off
$ sudo poweroff
Configuring system wake-up from LAN or WLAN
1. Enable Wake on LAN in the BIOS program. For more information on accessing the BIOS program, see Accessing BIOS settings
2. Connect the system to a wireless network.
$ sudo network-manager.nmcli dev wifi connect $SSID password $PSK ifname wlan0
3. Enable Wake on LAN.
$ sudo iw phy0 wowlan enable magic-packet
4. Recheck the support status.
$ sudo iw phy phy0 wowlan show
5. Make sure wlan0 is up and running with IP address.
6. Perform sleep.
$ sudo systemctl sleep
Or, perform hibernation.
$ sudo systemctl hibernate
7. Use another system to wake from wlan (Supported tools: wakeonlan, and etherwake).
$ sudo wakeonlan MAC
$ sudo etherwake MAC
58