laptop-detect8
Attempt to detect a laptop
Usage
laptop-detect [{-h | --help | -v | --verbose | -V | --version}]
Overview
Laptop-detect attempts to determine whether it is being run on a laptop or a desktop and appraises its caller of this.
Options
-
-h --help -
Output help information and exit.
-
-v --verbose -
be verbose (messages go to STDOUT)
-
-V --version -
Output version information and exit.
Exit status
0 most likely running on a laptop 1 most likely NOT running on a laptop 2 usage error (arguments supplied)
Files
/proc/acpi/battery
/proc/pmu/info
Releases
Unchanged in 5 releases since Debian 5.0 (Lenny).