ON_AC_POWER
Section: (1)Updated: 05 June, 2006
Index Return to Main Contents
NAME
on_ac_power - test whether the computer is running on line powerSYNOPSIS
- on_ac_power
DESCRIPTION
on_ac_power is a command line program to test whether the computer is running on line power
EXIT CODES
The command succeeds (status 0) if the system is using line power and fails (status other than 0) otherwise. It is designed to be easy to use in shell scripts.
0 (true)
- System is on line power.
1 (false)
- System is not on line power.
SEE ALSO
pm-suspend(8)
AUTHOR
This manual page was written by Richard Hughes <richard@hughsie.com>.
AUTHOR
Richard Hughes
- Author.
COPYRIGHT
Copyright © 2006 Richard Hughes
Index
This document was created by man2html, using the manual pages.
Time: 05:29:06 GMT, December 24, 2015