summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-04-03 13:33:03 -0400
committerAdam Jackson <ajax@redhat.com>2009-04-03 18:22:20 -0400
commitd52fddefaeb43f15b677eefbea4a288a9948373b (patch)
tree987d886e230760e0aab1170be3ed346fafbb7e26
parent38576dc3ae8ddec2baedd2f7e64abdfc56bedf93 (diff)
DPMS: Align the default timeouts with the default screensaver timeout.
On a typical LCD, a black screensaver is actually worse for power consumption than a normal screen, because it takes more energy to turn the crystals opaque. Also, the intermediate DPMS states are essentially useless and most monitors alias them to the 'off' state, so we may as well do the same. As a pleasant side effect, this brings the default DPMS timeouts in line with the EnergyStar Program Requirements for Computers: http://www.energystar.gov/index.cfm?c=revisions.computer_spec which state that products must be "shipped with the display's Sleep mode set to activate within 15 minutes of user inactivity".
-rw-r--r--dix/globals.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dix/globals.c b/dix/globals.c
index 805621a2c..aa15de962 100644
--- a/dix/globals.c
+++ b/dix/globals.c
@@ -95,9 +95,9 @@ int ScreenSaverBlanking;
int ScreenSaverAllowExposures;
#ifdef DPMSExtension
-CARD32 defaultDPMSStandbyTime = DEFAULT_SCREEN_SAVER_TIME * 2;
-CARD32 defaultDPMSSuspendTime = DEFAULT_SCREEN_SAVER_TIME * 3;
-CARD32 defaultDPMSOffTime = DEFAULT_SCREEN_SAVER_TIME * 4;
+CARD32 defaultDPMSStandbyTime = DEFAULT_SCREEN_SAVER_TIME;
+CARD32 defaultDPMSSuspendTime = DEFAULT_SCREEN_SAVER_TIME;
+CARD32 defaultDPMSOffTime = DEFAULT_SCREEN_SAVER_TIME;
CARD16 DPMSPowerLevel = 0;
Bool defaultDPMSEnabled = TRUE;
Bool DPMSEnabledSwitch = FALSE; /* these denote the DPMS command */