.Andy
deepin
2018-11-08 17:12 关注一下 感谢分享
Reply Like 0 View the author


https://bbs.deepin.org/post/167842
deepin下我的电脑只能用5~6小时,win10下可以有10小时
刚安装tlp*,看看效果如何 ...

https://bbs.deepin.org/post/167842
我安装tlp后,默认并不能变为powersave,无论是AC还是battery情况下,我的硬件问题??
另外,echo powe ...
https://bbs.deepin.org/post/167842
看上面的各位的回复看起来 powersave 真的是有用的……开发15.7的时候我测试设置 powersave 没什么太大的效 ...
Popular Ranking
ChangePopular Events
More
看到15.7 releaseNote中提到对省电有提升,立即重新安装体验,发现耗电非常大,后来发现是deepin安装了laptop_mode_tools,但是没有最优配置
于是开始了一番折腾,目前笔记本功耗又能够达到我的要求了,待机5小时左右
我之前ubuntu和deepin 15.6都会自己安装tlp并进行一番配置以达到最优省电,这次15.7装了laptop_mode_tools,我又对其进行一番配置
目前来看laptop_mode_tools跟tlp经过配置都能够达到很好的省电效果
【laptop_mode_tools篇】
15.7的laptop_mode_tools在我的笔记本上,默认并没有让我的cpu进入powersave模式
当我拔掉AC后,依然没有进入powersave模式,这是导致功耗极大的原因。(当然我的笔记本是集显,没有显卡耗电问题,功耗基本集中在cpu)
于是我在/etc/rc.local加入了开机强制进入powersave模式的指令
echo 'powersave' > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 'powersave' > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo 'powersave' > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo 'powersave' > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
实际上这一步是最关键的,其他对laptop_mode_tools的其他配置影响不大。这一步就能降低很大功耗
【TLP篇】
安装TLP会自动卸载laptop_mode_tools
sudo apt install tlp*
安装后,不做设置就能很好的降低功耗,默认配置能够将CPU进入powersave模式,这一点优于laptop_mode_tools
不过也可以对其进行一些定制化配置,其中有一点我非常喜欢
编辑配置文件"/etc/default/tlp"
其中有一个配置能够在battery模式限制CPU最高百分比,这样又能进一步降低功耗,这一点我认为tlp胜出,并简单
# Set Intel P-state performance: 0..100 (%).
# Limit the max/min P-state to control the power dissipation of the CPU.
# Values are stated as a percentage of the available performance.
# Requires an Intel Core i processor with intel_pstate driver.
CPU_MIN_PERF_ON_AC=0
CPU_MAX_PERF_ON_AC=100
CPU_MIN_PERF_ON_BAT=0
CPU_MAX_PERF_ON_BAT=70