[Topic DIscussion] 转: 用 TLP 解锁 Linux 笔记本的长续航体验
Tofloor
poster avatar
封大脚
deepin
2025-08-24 07:19
Author

作者是用的Archlinux,deepin上应该也能借鉴下。

image.png

按作者描述,续航效果还不错

具体操作,看原文吧

Archlinux 笔记本省电设置 - 少数派

Reply Favorite View the author
All Replies
新手小白
deepin
2025-08-24 07:54
#1

kde和gnome都是官方支持power-profiles-daemon,直接集成在电源设置里,还支持快捷键切换电源模式。图片.png

还有deepin本来就装了tlp,真不知道你们在瞎折腾什么
图片.png

Reply View the author
安洛
deepin
2025-08-24 10:12
#2
新手小白

kde和gnome都是官方支持power-profiles-daemon,直接集成在电源设置里,还支持快捷键切换电源模式。图片.png

还有deepin本来就装了tlp,真不知道你们在瞎折腾什么
图片.png

ppd 和 tlp 是针对不同的用途的,倒不是说 ppd 比 tlp 先进。不过 tlp 比 ppd 要复杂是真的。如果是桌面设备,使用 PPD 可能更简单方便。可以参考 ppd 官网里面和 TLP 的对比:https://gitlab.freedesktop.org/upower/power-profiles-daemon#tuned-and-tlp

Both projects have similar goals, allowing for tweaks to be applied, for a variety of workloads that goes far beyond the workloads and use cases that power-profiles-daemon targets.
A fair number of the tweaks that could apply to devices running GNOME or another free desktop are either potentially destructive (eg. some of the SATA power-saving mode resulting in corrupted data), or working well enough to be put into place by default (eg. audio codec power-saving), even if we need to disable the power saving on some hardware that reacts badly to it.
Both are good projects to use for the purpose of experimenting with particular settings to see if they'd be something that can be implemented by default, or to put some fine-grained, static, policies in place on server-type workloads which are not as fluid and changing as desktop workloads can be.

中文翻译:

这两个项目(TLP和tuned)都有类似的目标,允许对各种工作负载进行调整,这些工作负载远远超出了power-profiles-daemon的目标。
一些用于桌面设备的调整要么具有潜在的破坏性(如某些SATA省电模式导致数据损坏),或者默认设置就已经足够好(例如,音频编解码器节能),虽然我们需要在某些工作不良的硬件上调整默认设置来禁用节能。
两者都是很好的项目,可以用来测试特定的设置,看看它们是否可以在默认情况下实现,或者在服务器类型的工作负载上配置一些细粒度的静态策略,这些工作负载不像桌面工作负载那样流动和变化。

Reply View the author
新手小白
deepin
2025-08-24 10:31
#3
安洛

ppd 和 tlp 是针对不同的用途的,倒不是说 ppd 比 tlp 先进。不过 tlp 比 ppd 要复杂是真的。如果是桌面设备,使用 PPD 可能更简单方便。可以参考 ppd 官网里面和 TLP 的对比:https://gitlab.freedesktop.org/upower/power-profiles-daemon#tuned-and-tlp

Both projects have similar goals, allowing for tweaks to be applied, for a variety of workloads that goes far beyond the workloads and use cases that power-profiles-daemon targets.
A fair number of the tweaks that could apply to devices running GNOME or another free desktop are either potentially destructive (eg. some of the SATA power-saving mode resulting in corrupted data), or working well enough to be put into place by default (eg. audio codec power-saving), even if we need to disable the power saving on some hardware that reacts badly to it.
Both are good projects to use for the purpose of experimenting with particular settings to see if they'd be something that can be implemented by default, or to put some fine-grained, static, policies in place on server-type workloads which are not as fluid and changing as desktop workloads can be.

中文翻译:

这两个项目(TLP和tuned)都有类似的目标,允许对各种工作负载进行调整,这些工作负载远远超出了power-profiles-daemon的目标。
一些用于桌面设备的调整要么具有潜在的破坏性(如某些SATA省电模式导致数据损坏),或者默认设置就已经足够好(例如,音频编解码器节能),虽然我们需要在某些工作不良的硬件上调整默认设置来禁用节能。
两者都是很好的项目,可以用来测试特定的设置,看看它们是否可以在默认情况下实现,或者在服务器类型的工作负载上配置一些细粒度的静态策略,这些工作负载不像桌面工作负载那样流动和变化。

功能多少根本不重要。所谓节能工具的核心就是限制cpu频率。

显卡那些就不用讲了,谁会不插电源用笔记本打游戏。屏幕亮度自己调,不需要借助这些工具。

除此之外的设备,什么网卡各种设备接口节约的那点电量有屁用。cpu满载一分钟就能花光。

这些乱七八糟的工具,开发了一个又一个。搞来搞去就是 frequency-set 限制最高频率就完事了

Reply View the author
fslong
deepin
2025-08-24 10:45
#4
新手小白

功能多少根本不重要。所谓节能工具的核心就是限制cpu频率。

显卡那些就不用讲了,谁会不插电源用笔记本打游戏。屏幕亮度自己调,不需要借助这些工具。

除此之外的设备,什么网卡各种设备接口节约的那点电量有屁用。cpu满载一分钟就能花光。

这些乱七八糟的工具,开发了一个又一个。搞来搞去就是 frequency-set 限制最高频率就完事了

支持,最多就是用tlp限制下最高频率完事,高那么复杂,本末倒置了。

Reply View the author
安洛
deepin
20 hours ago
#5
新手小白

功能多少根本不重要。所谓节能工具的核心就是限制cpu频率。

显卡那些就不用讲了,谁会不插电源用笔记本打游戏。屏幕亮度自己调,不需要借助这些工具。

除此之外的设备,什么网卡各种设备接口节约的那点电量有屁用。cpu满载一分钟就能花光。

这些乱七八糟的工具,开发了一个又一个。搞来搞去就是 frequency-set 限制最高频率就完事了

也不尽然。TLP有个很实用的功能是在插入网线时自动关闭WiFi,然后在断开网线时再自动打开。这可以避免插入网线之后,系统依然选择使用低速的WiFi(Linux默认不会优先选择有线网)。虽然这个偏离了节能的用途,但是别人也不做,只能用TLP来代替一下了。包括使用 TLP 关闭机械硬盘的自动启停,不节能,但是可以大大减少噪音。总之你可以把 TLP 视作小工具大杂烩,而不是单纯的节能软件。

另外 PPD 有个不太好的地方是它的性能模式并不是真正的性能模式,它在性能模式下依然选择 powersave 调速器,而不是 performance。这导致它的频率比真正的性能模式低 200 Mhz 左右,且调度上也比较怂,应对突发性能需求时表现不理想。大部分性能调度软件,包括 Deepin 系统设置自带的那个都可以调成真正的性能模式,只有 PPD 不支持。

Reply View the author