Skip to content

Instantly share code, notes, and snippets.

@peterchaula
Created September 11, 2016 19:23
Show Gist options
  • Save peterchaula/eaba00cb98c0f90763c36c43dbfc9367 to your computer and use it in GitHub Desktop.
Save peterchaula/eaba00cb98c0f90763c36c43dbfc9367 to your computer and use it in GitHub Desktop.
#!/bin/bash
for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do [ -f $CPUFREQ ] || continue; echo -n $1 > $CPUFREQ; done
@peterchaula
Copy link
Author

peterchaula commented Sep 11, 2016

Change power settings in Debian

Usage

./power perfomance|powersave

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