---
name: "laptop-detect"
section: "8"
platform: "linux"
package: "laptop-detect"
version: "0.13.8"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/laptop-detect/8"
---

# laptop-detect(8)

attempt to detect a laptop

## NAME

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

```
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*

## AUTHORS

Franklin PIAT \<fpiat@bigfoot.com\>

## SEE ALSO

[dmidecode(8)](/dmidecode/8.md)
