Skip to content

Instantly share code, notes, and snippets.

View jdtimmerman's full-sized avatar

Joost Timmerman jdtimmerman

View GitHub Profile
@jdtimmerman
jdtimmerman / powertop-autotune
Last active August 2, 2024 16:17
Run powertop --auto-tune but exclude some devices
#!/usr/bin/env sh
# Script for running powertop --auto-tune but disable optimizations for some devices
#
# Based on solution from https://askubuntu.com/a/1026527/53903
powertop --auto-tune
devices=(
"0001:abcd" # My important device