laptop-detect (8) Linux Manual Page
laptop-detect – attempt to detect a laptop
Synopsis
laptop-detect [-h|–help|-v|–verbose|-V|–version]
Description
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
0most likely running on a laptop1most likely NOT running on a laptop2usage error (arguments supplied)
Files
/proc/acpi/battery
/proc/pmu/info
Authors
Franklin PIAT <fpiat [at] bigfoot.com>
See Also
dmidecode(8)
