You are not logged in.

#1 2022-06-27 16:36:07

AirOne01
Member
Registered: 2022-06-27
Posts: 5

Undetected battery on laptop

Hi, my battery is undetected and I have no idea why.
Apparently it could be something about ACPI, but not sure what I am supposed to do from there.

Using X11, Plasma, fresh (manual) install.

Thanks for checking this out.

Offline

#2 2022-06-27 16:42:47

AirOne01
Member
Registered: 2022-06-27
Posts: 5

Re: Undetected battery on laptop

Output of doas dmesg | grep -i ACPI:

[    0.000000] BIOS-e820: [mem 0x000000008c3c2000-0x000000008c43efff] ACPI data
[    0.000000] BIOS-e820: [mem 0x000000008c43f000-0x000000008c56dfff] ACPI NVS
[    0.000000] efi: ACPI 2.0=0x8c3db000 ACPI=0x8c3db000 TPMFinalLog=0x8c4f8000 SMBIOS=0x8c9ae000 SMBIOS 3.0=0x8c9ad000 ESRT=0x86fcb198 
[    0.019273] ACPI: Early table checksum verification disabled
[    0.019277] ACPI: RSDP 0x000000008C3DB000 000024 (v02 ALASKA)
[    0.019282] ACPI: XSDT 0x000000008C3DB0B8 0000EC (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.019289] ACPI: FACP 0x000000008C418E28 000114 (v06 ALASKA A M I    01072009 AMI  00010013)
[    0.019295] ACPI: DSDT 0x000000008C3DB230 03DBF1 (v02 ALASKA A M I    01072009 INTL 20160527)
[    0.019299] ACPI: FACS 0x000000008C56D080 000040
[    0.019302] ACPI: APIC 0x000000008C418F40 0000BC (v04 ALASKA A M I    01072009 AMI  00010013)
[    0.019306] ACPI: FPDT 0x000000008C419000 000044 (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.019309] ACPI: FIDT 0x000000008C419048 00009C (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.019313] ACPI: MCFG 0x000000008C4190E8 00003C (v01 ALASKA A M I    01072009 MSFT 00000097)
[    0.019316] ACPI: SSDT 0x000000008C419128 007862 (v02 DptfTa DptfTabl 00001000 INTL 20160527)
[    0.019320] ACPI: SSDT 0x000000008C420990 001B1C (v02 CpuRef CpuSsdt  00003000 INTL 20160527)
[    0.019324] ACPI: MSDM 0x000000008C4224B0 000055 (v03 ALASKA A M I    01072009 AMI  00010013)
[    0.019327] ACPI: SSDT 0x000000008C422508 0031C6 (v02 SaSsdt SaSsdt   00003000 INTL 20160527)
[    0.019331] ACPI: HPET 0x000000008C4256D0 000038 (v01 ALASKA A M I    00000002      01000013)
[    0.019334] ACPI: SSDT 0x000000008C425708 002F8A (v02 ALASKA CnlU_Rvp 00001000 INTL 20160527)
[    0.019338] ACPI: SSDT 0x000000008C428698 000FAE (v02 ALASKA Ther_Rvp 00001000 INTL 20160527)
[    0.019341] ACPI: SSDT 0x000000008C429648 002D55 (v02 INTEL  xh_whld4 00000000 INTL 20160527)
[    0.019345] ACPI: UEFI 0x000000008C42C3A0 000042 (v01 ALASKA A M I    00000002      01000013)
[    0.019348] ACPI: LPIT 0x000000008C42C3E8 000094 (v01 ALASKA A M I    00000002      01000013)
[    0.019352] ACPI: SSDT 0x000000008C42C480 0027DE (v02 ALASKA PtidDevc 00001000 INTL 20160527)
[    0.019355] ACPI: SSDT 0x000000008C42EC60 0014E2 (v02 ALASKA TbtTypeC 00000000 INTL 20160527)
[    0.019359] ACPI: DBGP 0x000000008C430148 000034 (v01 ALASKA A M I    00000002      01000013)
[    0.019362] ACPI: DBG2 0x000000008C430180 000054 (v00 ALASKA A M I    00000002      01000013)
[    0.019365] ACPI: SSDT 0x000000008C4301D8 000C56 (v02 ALASKA UsbCTabl 00001000 INTL 20160527)
[    0.019369] ACPI: DMAR 0x000000008C430E30 0000A8 (v01 INTEL  EDK2     00000002      01000013)
[    0.019372] ACPI: SSDT 0x000000008C430ED8 000144 (v02 Intel  ADebTabl 00001000 INTL 20160527)
[    0.019376] ACPI: BGRT 0x000000008C431020 000038 (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.019379] ACPI: TPM2 0x000000008C431058 000034 (v04 ALASKA A M I    00000001 AMI  00000000)
[    0.019383] ACPI: WSMT 0x000000008C431090 000028 (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.019386] ACPI: Reserving FACP table memory at [mem 0x8c418e28-0x8c418f3b]
[    0.019387] ACPI: Reserving DSDT table memory at [mem 0x8c3db230-0x8c418e20]
[    0.019389] ACPI: Reserving FACS table memory at [mem 0x8c56d080-0x8c56d0bf]
[    0.019390] ACPI: Reserving APIC table memory at [mem 0x8c418f40-0x8c418ffb]
[    0.019391] ACPI: Reserving FPDT table memory at [mem 0x8c419000-0x8c419043]
[    0.019392] ACPI: Reserving FIDT table memory at [mem 0x8c419048-0x8c4190e3]
[    0.019393] ACPI: Reserving MCFG table memory at [mem 0x8c4190e8-0x8c419123]
[    0.019394] ACPI: Reserving SSDT table memory at [mem 0x8c419128-0x8c420989]
[    0.019395] ACPI: Reserving SSDT table memory at [mem 0x8c420990-0x8c4224ab]
[    0.019396] ACPI: Reserving MSDM table memory at [mem 0x8c4224b0-0x8c422504]
[    0.019397] ACPI: Reserving SSDT table memory at [mem 0x8c422508-0x8c4256cd]
[    0.019399] ACPI: Reserving HPET table memory at [mem 0x8c4256d0-0x8c425707]
[    0.019400] ACPI: Reserving SSDT table memory at [mem 0x8c425708-0x8c428691]
[    0.019401] ACPI: Reserving SSDT table memory at [mem 0x8c428698-0x8c429645]
[    0.019402] ACPI: Reserving SSDT table memory at [mem 0x8c429648-0x8c42c39c]
[    0.019403] ACPI: Reserving UEFI table memory at [mem 0x8c42c3a0-0x8c42c3e1]
[    0.019404] ACPI: Reserving LPIT table memory at [mem 0x8c42c3e8-0x8c42c47b]
[    0.019407] ACPI: Reserving SSDT table memory at [mem 0x8c42c480-0x8c42ec5d]
[    0.019408] ACPI: Reserving SSDT table memory at [mem 0x8c42ec60-0x8c430141]
[    0.019409] ACPI: Reserving DBGP table memory at [mem 0x8c430148-0x8c43017b]
[    0.019411] ACPI: Reserving DBG2 table memory at [mem 0x8c430180-0x8c4301d3]
[    0.019412] ACPI: Reserving SSDT table memory at [mem 0x8c4301d8-0x8c430e2d]
[    0.019413] ACPI: Reserving DMAR table memory at [mem 0x8c430e30-0x8c430ed7]
[    0.019414] ACPI: Reserving SSDT table memory at [mem 0x8c430ed8-0x8c43101b]
[    0.019415] ACPI: Reserving BGRT table memory at [mem 0x8c431020-0x8c431057]
[    0.019416] ACPI: Reserving TPM2 table memory at [mem 0x8c431058-0x8c43108b]
[    0.019418] ACPI: Reserving WSMT table memory at [mem 0x8c431090-0x8c4310b7]
[    0.077792] ACPI: PM-Timer IO Port: 0x1808
[    0.077799] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[    0.077801] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
[    0.077802] ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
[    0.077803] ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1])
[    0.077804] ACPI: LAPIC_NMI (acpi_id[0x05] high edge lint[0x1])
[    0.077805] ACPI: LAPIC_NMI (acpi_id[0x06] high edge lint[0x1])
[    0.077806] ACPI: LAPIC_NMI (acpi_id[0x07] high edge lint[0x1])
[    0.077807] ACPI: LAPIC_NMI (acpi_id[0x08] high edge lint[0x1])
[    0.077871] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.077873] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.077878] ACPI: Using ACPI (MADT) for SMP configuration information
[    0.077879] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.196366] ACPI: Core revision 20211217
[    0.221069] ACPI: PM: Registering ACPI NVS region [mem 0x8c43f000-0x8c56dfff] (1241088 bytes)
[    0.222685] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.225229] ACPI: Added _OSI(Module Device)
[    0.225231] ACPI: Added _OSI(Processor Device)
[    0.225232] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.225233] ACPI: Added _OSI(Processor Aggregator Device)
[    0.225234] ACPI: Added _OSI(Linux-Dell-Video)
[    0.225235] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.225236] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    0.293353] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.I2C1.TPL1], AE_NOT_FOUND (20211217/dswload2-162)
[    0.293362] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20211217/psobject-220)
[    0.293364] ACPI: Skipping parse of AML opcode: Scope (0x0010)
[    0.312926] ACPI: 11 ACPI AML tables successfully acquired and loaded
[    0.322375] ACPI: Dynamic OEM Table Load:
[    0.322383] ACPI: SSDT 0xFFFF8A4A80241B00 0000F4 (v02 PmRef  Cpu0Psd  00003000 INTL 20160527)
[    0.323914] ACPI: \_SB_.PR00: _OSC native thermal LVT Acked
[    0.326442] ACPI: Dynamic OEM Table Load:
[    0.326450] ACPI: SSDT 0xFFFF8A4A8141A400 000400 (v02 PmRef  Cpu0Cst  00003001 INTL 20160527)
[    0.328155] ACPI: Dynamic OEM Table Load:
[    0.328162] ACPI: SSDT 0xFFFF8A4A812C8800 0005A2 (v02 PmRef  Cpu0Ist  00003000 INTL 20160527)
[    0.329960] ACPI: Dynamic OEM Table Load:
[    0.329965] ACPI: SSDT 0xFFFF8A4A8022A000 00011B (v02 PmRef  Cpu0Hwp  00003000 INTL 20160527)
[    0.331541] ACPI: Dynamic OEM Table Load:
[    0.331549] ACPI: SSDT 0xFFFF8A4A812C9800 000724 (v02 PmRef  HwpLvt   00003000 INTL 20160527)
[    0.333505] ACPI: Dynamic OEM Table Load:
[    0.333513] ACPI: SSDT 0xFFFF8A4A812CD800 0005FC (v02 PmRef  ApIst    00003000 INTL 20160527)
[    0.335312] ACPI: Dynamic OEM Table Load:
[    0.335318] ACPI: SSDT 0xFFFF8A4A8141E000 000317 (v02 PmRef  ApHwp    00003000 INTL 20160527)
[    0.337152] ACPI: Dynamic OEM Table Load:
[    0.337160] ACPI: SSDT 0xFFFF8A4A80123000 000AB0 (v02 PmRef  ApPsd    00003000 INTL 20160527)
[    0.339748] ACPI: Dynamic OEM Table Load:
[    0.339755] ACPI: SSDT 0xFFFF8A4A8141A000 00030A (v02 PmRef  ApCst    00003000 INTL 20160527)
[    0.346809] ACPI: EC: EC started
[    0.346810] ACPI: EC: interrupt blocked
[    0.350913] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.350916] ACPI: \_SB_.PCI0.LPCB.H_EC: Boot DSDT EC used to handle transactions
[    0.350918] ACPI: Interpreter enabled
[    0.350973] ACPI: PM: (supports S0 S3 S4 S5)
[    0.350975] ACPI: Using IOAPIC for interrupt routing
[    0.351026] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.352908] ACPI: Enabled 8 GPEs in block 00 to 7F
[    0.360478] ACPI: PM: Power Resource [PXP]
[    0.362000] ACPI: PM: Power Resource [PXP]
[    0.364755] ACPI: PM: Power Resource [WRST]
[    0.365163] ACPI: PM: Power Resource [DRST]
[    0.371510] ACPI: PM: Power Resource [DBTP]
[    0.373849] ACPI: PM: Power Resource [USBC]
[    0.374193] ACPI: PM: Power Resource [PAUD]
[    0.378423] ACPI: PM: Power Resource [V0PR]
[    0.379015] ACPI: PM: Power Resource [V1PR]
[    0.379616] ACPI: PM: Power Resource [V2PR]
[    0.383529] ACPI: PM: Power Resource [PXTC]
[    0.387871] ACPI: PM: Power Resource [WRST]
[    0.388358] acpi ABCD0000:00: ACPI dock station (docks/bays count: 1)
[    0.393314] ACPI: PM: Power Resource [FN00]
[    0.393415] ACPI: PM: Power Resource [FN01]
[    0.393513] ACPI: PM: Power Resource [FN02]
[    0.393607] ACPI: PM: Power Resource [FN03]
[    0.393702] ACPI: PM: Power Resource [FN04]
[    0.394388] ACPI: PM: Power Resource [PIN]
[    0.394949] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-fe])
[    0.394957] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI EDR HPX-Type3]
[    0.397956] acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug SHPCHotplug PME AER PCIeCapability LTR DPC]
[    0.424432] ACPI: PCI: Interrupt link LNKA configured for IRQ 0
[    0.424552] ACPI: PCI: Interrupt link LNKB configured for IRQ 1
[    0.424669] ACPI: PCI: Interrupt link LNKC configured for IRQ 0
[    0.424785] ACPI: PCI: Interrupt link LNKD configured for IRQ 0
[    0.424901] ACPI: PCI: Interrupt link LNKE configured for IRQ 0
[    0.425017] ACPI: PCI: Interrupt link LNKF configured for IRQ 0
[    0.425135] ACPI: PCI: Interrupt link LNKG configured for IRQ 0
[    0.425253] ACPI: PCI: Interrupt link LNKH configured for IRQ 0
[    0.437532] ACPI: EC: interrupt unblocked
[    0.437533] ACPI: EC: event unblocked
[    0.437555] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.437557] ACPI: EC: GPE=0x50
[    0.437558] ACPI: \_SB_.PCI0.LPCB.H_EC: Boot DSDT EC initialization complete
[    0.437561] ACPI: \_SB_.PCI0.LPCB.H_EC: EC: Used to handle transactions and events
[    0.437655] ACPI: bus type USB registered
[    0.438523] PCI: Using ACPI for IRQ routing
[    0.495041] pnp: PnP ACPI init
[    0.501358] pnp: PnP ACPI: found 10 devices
[    0.507047] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.581212] ACPI: button: Lid Switch [LID0]
[    0.581309] ACPI: button: Sleep Button [SLPB]
[    0.581540] ACPI: button: Power Button [PWRF]
[    0.583642] ACPI: thermal: [Firmware Bug]: Invalid critical threshold (0)
[    0.583916] ACPI: thermal: Thermal Zone [TZ00] (28 C)
[    0.585719] hpet_acpi_add: no address or irqs in _CRS
[    0.598325] ACPI: bus type drm_connector registered
[    2.341530] acpi PNP0C14:02: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:01)
[    2.849261] ACPI: video: Video Device [GFX0] (multi-head: yes  rom: no  post: no)

Offline

#3 2022-06-27 17:51:31

JoeyCorleone
Member
Registered: 2022-01-22
Posts: 88

Re: Undetected battery on laptop

Usual suggestions for this issue include:
- using the LTS kernel,
- updating your BIOS.

Offline

#4 2022-06-28 18:18:37

AirOne01
Member
Registered: 2022-06-27
Posts: 5

Re: Undetected battery on laptop

Tested all different kernels, without any luck.
It seems to be a problem with Chuwi, my laptop manufacturer.

Sadly, there are no BIOS update possible.

Offline

#5 2022-06-28 19:55:01

JoeyCorleone
Member
Registered: 2022-01-22
Posts: 88

Re: Undetected battery on laptop

Alright. So, what else can we check:
- Has your battery ever been detected before (under any GNU/Linux OS) and is it just recently not working anymore?
- Do you maybe have a dual-boot to check if it works under Windows?
- Try any other live distro (e.g. Ubuntu) to see if it is detected there.

Offline

#6 2022-06-28 22:15:45

AirOne01
Member
Registered: 2022-06-27
Posts: 5

Re: Undetected battery on laptop

Yes, forgot to mention but I did actually test on both Arch (GUI) and Ubuntu live versions (as well as a few other distros).
None of them detected the kernel.
I haven’t tried out with Windows, as there doesn’t seem to be any live option, and my disk is already full (no dual boot).

Last edited by AirOne01 (2022-06-28 22:16:24)

Offline

#7 2022-06-29 07:37:13

JoeyCorleone
Member
Registered: 2022-01-22
Posts: 88

Re: Undetected battery on laptop

JoeyCorleone wrote:

- Has your battery ever been detected before (under any GNU/Linux OS) and is it just recently not working anymore?

^?

I suppose your last post implies an answer to this, but to be sure I repeat the question. This is to rule out a potential hardware failure.

Offline

#8 2022-06-29 08:14:51

AirOne01
Member
Registered: 2022-06-27
Posts: 5

Re: Undetected battery on laptop

No, it’s never been detected before.

Offline

#9 2022-06-29 08:56:32

JoeyCorleone
Member
Registered: 2022-01-22
Posts: 88

Re: Undetected battery on laptop

I assume

dmesg | grep -i battery

shows the battery is absent.

Maybe a quirk for your device can be added into the kernel. Read this bug report and this ticket to get a feeling for what info is needed for developers and consider filing a ticket in the mentioned kernel bug tracker.

Installing linux-mainline is also worth a try to see if the quirk is already added.

Offline

Board footer

Powered by FluxBB