#Is there a way to make Linux Mint switch power mode automatically on laptops?

8 messages · Page 1 of 1 (latest)

pallid ether
#

Is there a way to make Linux Mint on my laptop switch power modes automatically between Power Saver and Performance whenever I plug/unplug my laptop?

steep parcel
#

It already does that behind the scenes

#

the kernel automatically sets a higher power profile (enery_performance_preference) when plugged in and resets it when unplugged

#

the UI just doesn't reflect the change

pallid ether
steep parcel
#

cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference outputs balance_performance or performance

upbeat swallow
#

can also be done from terminal or bash script:echo "performance" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

#

cat that file to see the current one per core