1PM-IS-SUPPORTED(1) pm-utils User Manual PM-IS-SUPPORTED(1)
2
3
4
6 pm-is-supported - Test whether suspend or hibernate is supported.
7
9 pm-is-supported [{--suspend | --hibernate | --suspend-hybrid}]
10
12 This manual page documents briefly the pm-is-supported command.
13
14 The intended purpose of pm-is-supported is to find out which power
15 management modes are supported by the system. hald(8) will call it to
16 do just that. (Note that DeviceKit-power does not use this.)
17
19 --suspend
20 Test whether suspend is supported. Suspend is a state where most
21 devices are shutdown, except for RAM. This state still draws power.
22
23 --hibernate
24 Test whether hibernate is supported. During hibernate the state of
25 the system is saved to disk, the system is fully powered off.
26
27 --suspend-hybrid
28 Test whether hybrid-suspend is supported. Hybrid-suspend is the
29 process where first the state of the system is saved to disk --
30 just like with hibernate -- but instead of poweroff, the system
31 goes in suspend state, which means it can wakeup quicker than for
32 normal hibernation. The advantage over suspend is that you can
33 resume even if you run out of power. s2both is a hybrid-suspend
34 implementation.
35
37 The result of the test for a certain powermanagement state is defined
38 by the following exit codes.
39
40 Code Diagnostic
41 0 State available.
42 1 State NOT available.
43
44
46 DeviceKit-power(7), hald(8), pm-suspend(8), s2both(8)
47
49 Tim Dijkstra <tim@famdijkstra.org>
50 Manpage author.
51
53 Copyright © 2007 Tim Dijkstra
54
55 This manual page was originally written for the Debian(TM) system, and
56 has been adopted by the pm-utils project.
57
58 Permission is granted to copy, distribute and/or modify this document
59 under the terms of the GNU General Public License, Version 2 or (at
60 your option) any later version published by the Free Software
61 Foundation.
62
63
64
65
66pm-is-supported Apr 18, 2007 PM-IS-SUPPORTED(1)