sudo apto install powerman

sudo apt-get install powerman
devcraft