Skip to content

Instantly share code, notes, and snippets.

@andrebrait
Forked from tazjin/powertop.service
Created March 17, 2025 12:47
Show Gist options
  • Save andrebrait/1e02fe1620aab61abaff358e0662750d to your computer and use it in GitHub Desktop.
Save andrebrait/1e02fe1620aab61abaff358e0662750d to your computer and use it in GitHub Desktop.
Systemd service for powertop auto tune
[Unit]
Description=Powertop tunings
[Service]
Type=oneshot
RemainAfterExit=no
ExecStart=/usr/bin/powertop --auto-tune
#"powertop --auto-tune" still needs a terminal for some reason.
#Possibly a bug?
Environment="TERM=xterm"
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment