This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |