Skip to content

Instantly share code, notes, and snippets.

@casperghst42
Created April 26, 2024 20:07
Show Gist options
  • Save casperghst42/f7c776a07ce5ecc36d7434cb9cde2944 to your computer and use it in GitHub Desktop.
Save casperghst42/f7c776a07ce5ecc36d7434cb9cde2944 to your computer and use it in GitHub Desktop.
Start powertop --auto-tune on startup
[Unit]
Description=PowerTOP auto tune
[Service]
Type=oneshot
Environment="TERM=dumb"
RemainAfterExit=true
ExecStart=/usr/sbin/powertop --auto-tune
[Install]
WantedBy=multi-user.target
@casperghst42
Copy link
Author

vi /etc/systemd/system/powertop.service
systemctl daemon-reload
systemctl enable powertop.service
systemctl start powertop.service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment