Difference between revisions of "Power management"
From Bashlinux
(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...") |
|||
Line 1: | Line 1: | ||
⚫ | |||
== ACPI == |
== ACPI == |
||
=== How to switch to standby mode === |
=== How to switch to standby mode === |
||
Issue the following command on the terminal to switch to suspend mode: |
Issue the following command on the terminal to switch to suspend mode: |
||
echo mem > /sys/power/state |
echo mem > /sys/power/state |
||
− | |||
⚫ | |||
− | == Xorg == |
||
− | Ensure the following line is present in <tt>/etc/X11/xorg.conf</tt> 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 |
Latest revision as of 00:21, 19 June 2015
ACPI
How to switch to standby mode
Issue the following command on the terminal to switch to suspend mode:
echo mem > /sys/power/state