Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 814 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 814 Bytes

powertop-systemd-service

A powertop SystemD service with accompanying udev rules that starts/stops the service when the battery charging status changes.

Installation instructions

sudo apt-get --assume-yes install powertop at
sudo cp powertop.service /etc/systemd/system
sudo cp async-start-powertop /usr/local/bin
sudo cp async-stop-powertop /usr/local/bin
sudo cp power_supply.rules /etc/udev/rules.d

sudo systemctl daemon-reload
sudo chmod 755 /usr/local/bin/async-start-powertop
sudo chmod 755 /usr/local/bin/async-stop-powertop
sudo udevadm control --reload-rules

Debian / Ubuntu packages

Debian/Ubuntu .deb files can be downloaded from releases