Install laptop-detect by entering the following commands in the terminal:
sudo apt update sudo apt install laptop-detect
Description:
system chassis type checker
This package provides a simple shell script which attempts to determine whether it is being run on a laptop (or similar portable machine). It is mainly useful for installers.
Homepage: https://gitlab.com/debiants/laptop-detect
Version: 0.16
Section: utils