1DPMSSetTimeouts(3x) X FUNCTIONS DPMSSetTimeouts(3x)
2
3
4
6 DPMSSetTimeouts - permits applications to set the timeout values used
7 by the X server for DPMS timings
8
10 cc [ flag ... ] file ... -lXext [ library ... ]
11 #include <X11/extensions/dpms.h>
12
13 Status DPMSSetTimeouts
14 (
15 Display *display,
16 CARD16 standby,
17 CARD16 suspend,
18 CARD16 off
19 );
20
22 display
23 Specifies the connection to the X server
24
25 standby
26 Specifies the new standby timeout in seconds
27
28 suspend
29 Specifies the new suspend timeout in seconds
30
31 off Specifies the new off timeout in seconds
32
34 The DPMSSetTimeouts function permits applications to set the timeout
35 values used by the X server for Display Power Management Signaling
36 (DPMS) timings.
37
38 The value standby is the amount of inactivity time, in seconds, before
39 standby mode is invoked. The actual effects of this mode are dependent
40 on the characteristics of the monitor and frame buffer card. Standby
41 mode is implemented by shutting off the horizontal sync signal, and
42 pulsing the vertical sync signal. Standby mode provides the quickest
43 monitor recovery time. Note also that many monitors implement this
44 mode identical to suspend mode. A value of zero disables the standby
45 mode.
46
47 The value suspend is the amount of time of inactivity, in seconds,
48 before the second level of power savings is invoked. Suspend mode's
49 physical and electrical characteristics are implementation defined. For
50 DPMS compliant hardware, setting the suspend mode is implemented by
51 pulsing the horizontal sync signal and shutting off the vertical sync
52 signal. In general, suspend mode recovery is considered to be slower
53 than standby mode, but faster than off mode. However it may vary from
54 monitor to monitor. As noted above, many monitors implement this mode
55 identical to the standby mode. A value of zero disables this mode.
56
57 The value off is the amount of time of inactivity,in seconds, before
58 the third and final level of power savings is invoked. Off mode's phys‐
59 ical and electrical characteristics are implementation defined. In DPMS
60 compliant hardware, it is implemented by shutting off both horizontal
61 and vertical sync signals, resulting in powering down of the monitor.
62 Recovery time is implementation dependent. Usually the recovery time
63 is very close to the power-up time of the monitor. A value of zero dis‐
64 ables this mode.
65
66 Chronologically, standby mode occurs before or simultaneously with sus‐
67 pend mode, and suspend mode must occur before or simultaneously with
68 off mode. Therefore, non-zero mode timeout values must be greater than
69 or equal to the timeout values of earlier modes. If inconsistent val‐
70 ues are supplied, a BadValue error will result.
71
73 TRUE The DPMSSetTimeouts function returns TRUE when the func‐
74 tion has succeeded.
75
77 BadValue An argument is out of range.
78
80 DPMSCapable(3x), DPMSInfo(3x), DPMSGetTimeouts(3x)
81
82
83
84X Version 11 libXext 1.0.1 DPMSSetTimeouts(3x)