pwrcheck 1.0 review
Downloadpwrcheck is a simple, scriptable, command-line utility to determine if you are running on battery or not.
|
|
pwrcheck is a simple, scriptable, command-line utility to determine if you are running on battery or not.
pwrcheck returns 0 if the computer is running on AC power, or 1 if it is running on battery. The source code includes a trivialshell script check.sh that shows one way how to use pwrcheck to determine if running on battery.
pwrcheck 1.0 keywords