Power management

From Bashlinux
Revision as of 03:10, 11 June 2015 by Manpaz (talk | contribs) (Created page with "== ACPI == === How to switch to standby mode === Issue the following command on the terminal to switch to suspend mode: echo mem > /sys/power/state __NOTOC__ == Xorg == Ensu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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