Power management
From Bashlinux
ACPI
How to switch to standby mode
Issue the following command on the terminal to switch to suspend mode:
echo mem > /sys/power/state
Xorg
Ensure the following line is present in /etc/X11/xorg.conf in order to let GUI handle the blank screen.
Option "DPMS"
How to turn on/off the display from the CLi
xset
- Enable DPMS
xset +dpms
- Turn On/Off respectively
xset -display :0 dpms force off xset -display :0 dpms force on
- Check the current display status
xset -q
xrandr
- List outputs
export DISPLAY=:0 xranrd -q
- Turn On/Off respectively
xrandr --output DFP-1 --off xrandr --output DFP-1 --auto
vbetool
export DISPLAY=:0 vbetool dpms off vbetool dpms on