ubuntu系统笔记本电池坏掉性能下降(卡顿解决)
更新时间:2023年10月08日 08:50:22 作者:frank
这篇文章主要为大家介绍了ubuntu系统笔记本电池坏掉性能下降(卡顿解决)方法详解,有需要的朋友可以借鉴参考下,希望能够有所帮助,祝大家多多进步,早日升职加薪
问题描述
开机出现以下问题
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 ,此时模式已经修改过来,电脑不再卡顿
systemctl stop ondemand systemctl disable ondemand vim /etc/sysfs.conf devices/system/cpu/cpu0/cpufreq/scaling_governor = performance devices/system/cpu/cpu1/cpufreq/scaling_governor = performance devices/system/cpu/cpu2/cpufreq/scaling_governor = performance devices/system/cpu/cpu3/cpufreq/scaling_governor = performance reboot
以上就是ubuntu系统笔记本电池坏掉性能下降(卡顿解决)的详细内容,更多关于ubuntu系统性能卡顿解决的资料请关注脚本之家其它相关文章!
相关文章
用phpMyadmin创建Mysql数据库及独立数据库帐号的图文教程
在一个服务器上一般来讲都不止一个站点,更不止一个MySQL(和PHP搭配之最佳组合)数据库。2010-03-03
使用cwRsync实现windows下服务器文件定时同步备份(附错误处理方法)
原来服务器一直用绿环ftp同步工具,发现一些大文件经常无法同步,所以这里推荐使用cwRsync2012-06-06


最新评论