1ON_AC_POWER(1)                                                  ON_AC_POWER(1)
2
3
4

NAME

6       on_ac_power - test whether the computer is running on line power
7

SYNOPSIS

9       on_ac_power
10

DESCRIPTION

12       This manual page documents briefly the on_ac_power command.
13
14       on_ac_power is a command line program to test whether the computer is
15       running on line power
16

EXIT CODES

18       The command succeeds (status 0) if the system is using line power and
19       fails (status other than 0) otherwise. It is designed to be easy to use
20       in shell scripts.
21
22       0 (true)
23           System is on line power.
24
25       1 (false)
26           System is not on line power.
27

SEE ALSO

29       pm-suspend(8)
30

AUTHOR

32       This manual page was written by Richard Hughes <richard@hughsie.com>.
33

AUTHOR

35       Richard Hughes
36           Author.
37
39       Copyright © 2006 Richard Hughes
40
41
42
43                                 05 June, 2006                  ON_AC_POWER(1)
Impressum