on_ac_power - Online in the Cloud

This is the command on_ac_power that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


on_ac_power - test whether computer is running on AC power

SYNOPSIS


on_ac_power

DESCRIPTION


on_ac_power checks whether the system is running on AC power (i.e., mains power) as
opposed to battery power.

OPTIONS


None.

EXIT STATUS


0 (true) System is on mains power
1 (false) System is not on mains power
255 (false) Power status could not be determined

Use on_ac_power online using onworks.net services



Latest Linux & Windows online programs