![X1 Carbon Gen 8 无法通过 TLP 1.3.1 更改充电阈值](https://linux22.com/image/940574/X1%20Carbon%20Gen%208%20%E6%97%A0%E6%B3%95%E9%80%9A%E8%BF%87%20TLP%201.3.1%20%E6%9B%B4%E6%94%B9%E5%85%85%E7%94%B5%E9%98%88%E5%80%BC.png)
我有一台新的 X1 gen8,配备 core i7 10510U CPU。我安装了 Ubuntu 20.04 和 tlp,到目前为止,一直在成功更改充电水平。我想,我已经安装了一些常规更新,但它不再起作用了 :( 当我尝试通过它做任何事情时,tlp
它告诉Error: battery charge thresholds not available.
$ uname -r
5.11.0-27-generic
$ sudo tlp-stat -b
--- TLP 1.3.1 --------------------------------------------
+++ Battery Features: Charge Thresholds and Recalibrate
natacpi = inactive (laptop not supported)
tpacpi-bat = inactive (laptop not supported)
tp-smapi = inactive (laptop not supported)
据我所知,其中之一必须得到支持...我查看了 tlp 常见问题解答,没有发现有关此问题的任何信息。看来,这是与 natacpi 或类似的东西有关的事情。
答案1
好的,我找到问题了。我搞乱了 thinkfan 并破坏了thinkpad_acpi
配置,modprobe 无法加载它:
$ sudo modprobe thinkpad_acpi
modprobe: ERROR: could not insert 'thinkpad_acpi': Invalid argument
内容为thinkpad_acpi.conf
:
cat /etc/modprobe.d/thinkpad_acpi.conf
options thinkpad_acpi fan_control=1
options thinkpad_acpi fan_control=7
只留下第一行解决了所有问题,thinkpad_acpi
加载并tlp
通过以下方式工作natacpi
:
sudo tlp-stat -b
--- TLP 1.3.1 --------------------------------------------
+++ Battery Features: Charge Thresholds and Recalibrate
natacpi = active (data, thresholds)
tpacpi-bat = active (recalibrate)
tp-smapi = inactive (ThinkPad not supported)