Skip to content

Instantly share code, notes, and snippets.

@abelardojarab
Created November 21, 2019 21:26
Show Gist options
  • Save abelardojarab/8d858f57332ea7ea1dafb010ee610c4b to your computer and use it in GitHub Desktop.
Save abelardojarab/8d858f57332ea7ea1dafb010ee610c4b to your computer and use it in GitHub Desktop.
Create powertop systemd service
$cat << EOF | sudo tee /etc/systemd/system/powertop.service
[Unit]
Description=PowerTOP auto tune

[Service]
Type=idle
Environment="TERM=dumb"
ExecStart=/usr/sbin/powertop --auto-tune

[Install]
WantedBy=multi-user.target
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment