April 2024 | ||||||
Mo | Tu | We | Th | Fr | Sa | Su |
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 1 | 2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 | 11 | 12 |
laptop-detect - attempt to detect a laptop
laptop-detect [-h|--help|-v|--verbose|-V|--version]
Laptop-detect attempts to determine whether it is being run on a laptop or a desktop and appraises its caller of this.
0 most likely running on a laptop 1 most likely NOT running on a laptop 2 usage error (arguments supplied)
/proc/acpi/battery
/proc/pmu/info
Franklin PIAT <fpiat@bigfoot.com>
dmidecode(8)