chore: Disable cpupower set on boot

You can set governor using `cpufreq.default_governor` kernel option
since Linux 5.9

REF: https://wiki.archlinux.org/title/CPU_frequency_scaling#Make_changes_permanent
This commit is contained in:
Ahmad Ansori Palembani 2024-05-02 07:22:47 +07:00
parent 87b95207de
commit 69b724605f
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -7,7 +7,7 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
xset s off -dpms
# Set cpu-governor to performance (Sometime it still set to powersave)
cpupower frequency-set -g performance
#cpupower frequency-set -g performance
# Slow app startup fix (for flatpaks)
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY