Skip to content

Instantly share code, notes, and snippets.

@Fusseldieb
Last active June 20, 2022 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fusseldieb/49bb770dff86faf1cf5d7713a837db1a to your computer and use it in GitHub Desktop.
Save Fusseldieb/49bb770dff86faf1cf5d7713a837db1a to your computer and use it in GitHub Desktop.
Making the computer cool and silent with the nbfc and cpupower package - Made for a 2017 MiBook running Manjaro
# Install nbfc and cpupower package first
# Run in crontab when computer starts
# Add this line to `sudo crontab -e`:
# @reboot /usr/bin/sh /home/<your_username>/silent_fans.sh
# And save this file in the same location (/home/<your_username>/silent_fans.sh)
# Restart and see if it works - If you're using a 2017 MiBook, it definitively should
# After the login, only one fan should spin very slowly, maintaining a constant active airflow cooling the computer
#
#I couldn't verify a decrease in battery runtime, it seems that it remains the same
# A theory of mine is that the computer uses more energy to idle the fans, get hot and then ramp up the fans to cool it back down, whereas maintaing it at low rpm prevents it from heating up in the first place.
/usr/bin/nbfc set -f 0 -s 0
/usr/bin/nbfc set -f 1 -s 50
/usr/bin/cpupower frequency-set -g conservative
echo 0 > /sys/devices/system/cpu/cpufreq/boost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment