HP 笔记本电脑不显示电池百分比

HP 笔记本电脑不显示电池百分比

最近,我使用 Ubuntu 双启动了 Windows HP 笔记本电脑。Ubuntu 无法检测到电池。在上游内核 5.4 中,可以检测到电池,但电量从未低于 100%。如果笔记本电脑插入适配器启动,电池旁边会显示一个闪电符号,但断开与充电器的连接后,符号不会消失。显然 Ubuntu 不知道如何从电池中读取这些值。

在网上找到的几种解决方案均已应用,但行为没有改变。

我的系统与 Windows 10 双启动。电池状态在 Windows 中正确显示。

安全启动已禁用。

我想知道是否有人自己遇到过这个问题并找到了解决方法。

:~$ lsb_release -rd
Description: Ubuntu 20.04.1 LTS
Release: 20.04
:~$ uname -r
5.10.2-051002-generic
:~$ cat /sys/class/power_supply/BAT0/status
cat: /sys/class/power_supply/BAT0/status: No such file or directory
:~$ cat /proc/acpi/battery/BAT0/state
cat: /proc/acpi/battery/BAT0/state: No such file or directory
:~$ sudo apt-cache policy acpi
acpi:
  Installed: 1.7-1.1
  Candidate: 1.7-1.1
  Version table:
 *** 1.7-1.1 500
        500 http://be.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        100 /var/lib/dpkg/status

ACPI 相关错误:~$ sudo dmesg

[ 0.229715] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20200925/psobject-220)
[ 1.213005] battery: ACPI: Battery Slot [BAT0] (battery absent)
[ 1.214643] hpet_acpi_add: no address or irqs in _CRS
[ 1.486160] acpi PNP0C14:02: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:01)
[ 1.486227] acpi PNP0C14:03: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:01)
[ 1.486457] acpi PNP0C14:04: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:01)
[ 1.503599] usb: port power management may be unreliable

来自的非 ACPI 相关错误:~$ sudo dmesg

[ 1.486596] wmi_bus wmi_bus-PNP0C14:04: WQBJ data block query control method not found
[ 1.614067] i2c_hid i2c-SYNA328E:00: supply vdd not found, using dummy regulator
[ 1.614099] i2c_hid i2c-SYNA328E:00: supply vddl not found, using dummy regulator
[ 1.709308] i801_smbus 0000:00:1f.4: Timeout waiting for interrupt!
[ 1.709312] i801_smbus 0000:00:1f.4: Transaction timeout
[ 1.711424] i801_smbus 0000:00:1f.4: Failed terminating the transaction
[ 1.711525] i801_smbus 0000:00:1f.4: SMBus is busy, can't use it!
[ 1.756903] thunderbolt 0000:00:0d.2: 0: uid crc8 mismatch (expected: 0x8e, got: 0xe7)
[ 2.095956] thunderbolt 0000:00:0d.3: 0: uid crc8 mismatch (expected: 0x0, got: 0xdb)
[ 3.866634] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-Qu-c0-hr-b0-49.ucode failed with error -2
[ 4.255298] thermal thermal_zone8: failed to read out thermal zone (-61)
[ 5.469973] hp_wmi: query 0x4c returned error 0x6

来自的出色信息:~$ sudo dmesg

[ 3.757921] acer_wmi: Acer Laptop ACPI-WMI Extras -- 我在 HP 笔记本电脑上

GRUB 内核参数:“”

内核参数已经尝试过,但行为没有改变:

  • acpi=force
  • acpi_osi=Windows
  • acpi_osi=Linux
  • pci=nocrs

BIOS 设置已尝试过,但行为没有变化:

  • 已启用Battery remaining time

硬件:HP ENVY 13-aq1006nb,配备最新 BIOS 版本F14 rev. A

谢谢

相关内容