Users Guide

Table Of Contents
Specify the action to take when the power button is pressed.
Table 20. 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 stateS3
$ sudo systemctl suspend
Configure hibernate stateS4
$ 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
Setting up the operating system
65