sleepd

puts an inactive or low battery laptop to sleep

Debian Debian
RUN apt-get update && \ apt-get install -y sleepd
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y sleepd
Raspbian
RUN apt-get update && \ apt-get install -y sleepd
click the source code to copy install sleepd on any operating system with command-not-found.com