sudo apt install tlp tlp-rdw
sudo systemctl enable --now tlp
suod vim /etc/tlp.conf
# in /etc/tlp.conf
CPU_SCALING_GOVERNOR_ON_AC=performance
CPU_SCALING_GOVERNOR_ON_BAT=powersave
DISK_APM_LEVEL_ON_AC="254"
DISK_APM_LEVEL_ON_BAT="128"
参考资料:
请随意转载