Binary package “laptop-detect” in ubuntu mantic

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.