-
问题形容
-
开机呈现以下问题
the ac power adapter type cannot be determined
-
开机抉择diagnose进行查看发现
the battery is reaching the end of its life
显示电池曾经达到生命止境
-
-
问题起因剖析
电池坏掉后cpu动不动就跑满了,因为此时cpu的工作模式被批改了-
装置cpufrequency工具
sudo apt-get install cpufrequtils
-
查看cpu信息
cpufreq-info
所有内核都变成了powersave的模式
-
-
批改模式
sudo cpufreq-set -c 0 -g performance sudo cpufreq-set -c 1 -g performance sudo cpufreq-set -c 2 -g performance sudo cpufreq-set -c 3 -g performance modprobe msr wrmsr 0x1FC 2 //敞开BD PROCHOT watch -n 1 "cat /proc/cpuinfo | grep MHz"
- 再次查看 cpufreq-info ,此时模式曾经批改过去,电脑不再卡顿
发表回复