You are not logged in.

#1 2022-11-23 16:49:13

Arthurmeade12
Member
Registered: 2022-10-18
Posts: 18

Unable to read battery / broken battery

Arch Linux is unable to read my battery or charge my battery. Not sure if this is a hardware problem or software problem.
Output of

find /sys/class/power_supply/BAT0/ -printf "%p :\n" -exec cat {} \; -printf "\n" 2>/dev/null
 /sys/class/power_supply/BAT0/ :
/sys/class/power_supply/BAT0/uevent :
POWER_SUPPLY_NAME=BAT0
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_STATUS=Not charging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CYCLE_COUNT=11
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11400000
POWER_SUPPLY_VOLTAGE_NOW=1505000
POWER_SUPPLY_POWER_NOW=0
POWER_SUPPLY_ENERGY_FULL_DESIGN=41040000
POWER_SUPPLY_ENERGY_FULL=42510000
POWER_SUPPLY_ENERGY_NOW=0
POWER_SUPPLY_CAPACITY=0
POWER_SUPPLY_CAPACITY_LEVEL=Low
POWER_SUPPLY_MODEL_NAME=Primary
POWER_SUPPLY_MANUFACTURER=HP
POWER_SUPPLY_SERIAL_NUMBER=SerialNumber

/sys/class/power_supply/BAT0/serial_number :
SerialNumber

/sys/class/power_supply/BAT0/technology :
Li-ion

/sys/class/power_supply/BAT0/power_now :
0

/sys/class/power_supply/BAT0/present :
1

/sys/class/power_supply/BAT0/power :
/sys/class/power_supply/BAT0/power/runtime_active_time :
0

/sys/class/power_supply/BAT0/power/runtime_status :
unsupported

/sys/class/power_supply/BAT0/power/autosuspend_delay_ms :
/sys/class/power_supply/BAT0/power/runtime_suspended_time :
0

/sys/class/power_supply/BAT0/power/control :
auto

/sys/class/power_supply/BAT0/manufacturer :
HP

/sys/class/power_supply/BAT0/hwmon2 :
/sys/class/power_supply/BAT0/hwmon2/uevent :

/sys/class/power_supply/BAT0/hwmon2/in0_input :
1505

/sys/class/power_supply/BAT0/hwmon2/power :
/sys/class/power_supply/BAT0/hwmon2/power/runtime_active_time :
0

/sys/class/power_supply/BAT0/hwmon2/power/runtime_status :
unsupported

/sys/class/power_supply/BAT0/hwmon2/power/autosuspend_delay_ms :
/sys/class/power_supply/BAT0/hwmon2/power/runtime_suspended_time :
0

/sys/class/power_supply/BAT0/hwmon2/power/control :
auto

/sys/class/power_supply/BAT0/hwmon2/device :
/sys/class/power_supply/BAT0/hwmon2/subsystem :
/sys/class/power_supply/BAT0/hwmon2/name :
BAT0

/sys/class/power_supply/BAT0/device :
/sys/class/power_supply/BAT0/energy_now :
0

/sys/class/power_supply/BAT0/type :
Battery

/sys/class/power_supply/BAT0/capacity :
0

/sys/class/power_supply/BAT0/cycle_count :
11

/sys/class/power_supply/BAT0/voltage_now :
1505000

/sys/class/power_supply/BAT0/subsystem :
/sys/class/power_supply/BAT0/status :
Not charging

/sys/class/power_supply/BAT0/alarm :
3410000

/sys/class/power_supply/BAT0/model_name :
Primary

/sys/class/power_supply/BAT0/voltage_min_design :
11400000

/sys/class/power_supply/BAT0/capacity_level :
Low

/sys/class/power_supply/BAT0/energy_full_design :
41040000

/sys/class/power_supply/BAT0/energy_full :
42510000

Output of

acpi -b
Battery 0: Not charging, 0%

Output of

sudo dmesg | grep -i acpi
[    0.008657] ACPI: Reserving SSDT table memory at [mem 0x6d04d000-0x6d0502d2]
[    0.008657] ACPI: Reserving SSDT table memory at [mem 0x6d04a000-0x6d04cb58]
[    0.008657] ACPI: Reserving SSDT table memory at [mem 0x6d046000-0x6d04934f]
[    0.008658] ACPI: Reserving HPET table memory at [mem 0x6d045000-0x6d045037]
[    0.008658] ACPI: Reserving APIC table memory at [mem 0x6d044000-0x6d04412b]
[    0.008659] ACPI: Reserving NHLT table memory at [mem 0x6d042000-0x6d0438cd]
[    0.008659] ACPI: Reserving LPIT table memory at [mem 0x6d041000-0x6d0410cb]
[    0.008660] ACPI: Reserving SSDT table memory at [mem 0x6d03d000-0x6d03f71f]
[    0.008660] ACPI: Reserving SSDT table memory at [mem 0x6d03c000-0x6d03c129]
[    0.008661] ACPI: Reserving DBGP table memory at [mem 0x6d03b000-0x6d03b033]
[    0.008661] ACPI: Reserving DBG2 table memory at [mem 0x6d03a000-0x6d03a053]
[    0.008661] ACPI: Reserving SSDT table memory at [mem 0x6d039000-0x6d039ba2]
[    0.008662] ACPI: Reserving DMAR table memory at [mem 0x6d038000-0x6d038087]
[    0.008662] ACPI: Reserving SSDT table memory at [mem 0x6d037000-0x6d037693]
[    0.008663] ACPI: Reserving SSDT table memory at [mem 0x6d036000-0x6d036143]
[    0.008663] ACPI: Reserving SSDT table memory at [mem 0x6d035000-0x6d03505f]
[    0.008664] ACPI: Reserving UEFI table memory at [mem 0x6d0d6000-0x6d0d6639]
[    0.008664] ACPI: Reserving UEFI table memory at [mem 0x6d0d5000-0x6d0d505b]
[    0.008665] ACPI: Reserving TPM2 table memory at [mem 0x6d034000-0x6d03404b]
[    0.008665] ACPI: Reserving PTDT table memory at [mem 0x6d033000-0x6d033cfd]
[    0.008666] ACPI: Reserving WSMT table memory at [mem 0x6d040000-0x6d040027]
[    0.008666] ACPI: Reserving FPDT table memory at [mem 0x6d032000-0x6d032043]
[    0.008667] ACPI: Reserving BGRT table memory at [mem 0x6d031000-0x6d031037]
[    0.025271] ACPI: PM-Timer IO Port: 0x1808
[    0.025279] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[    0.025280] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
[    0.025281] ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
[    0.025281] ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1])
[    0.025281] ACPI: LAPIC_NMI (acpi_id[0x05] high edge lint[0x1])
[    0.025282] ACPI: LAPIC_NMI (acpi_id[0x06] high edge lint[0x1])
[    0.025282] ACPI: LAPIC_NMI (acpi_id[0x07] high edge lint[0x1])
[    0.025282] ACPI: LAPIC_NMI (acpi_id[0x08] high edge lint[0x1])
[    0.025283] ACPI: LAPIC_NMI (acpi_id[0x09] high edge lint[0x1])
[    0.025283] ACPI: LAPIC_NMI (acpi_id[0x0a] high edge lint[0x1])
[    0.025283] ACPI: LAPIC_NMI (acpi_id[0x0b] high edge lint[0x1])
[    0.025284] ACPI: LAPIC_NMI (acpi_id[0x0c] high edge lint[0x1])
[    0.025284] ACPI: LAPIC_NMI (acpi_id[0x0d] high edge lint[0x1])
[    0.025285] ACPI: LAPIC_NMI (acpi_id[0x0e] high edge lint[0x1])
[    0.025285] ACPI: LAPIC_NMI (acpi_id[0x0f] high edge lint[0x1])
[    0.025285] ACPI: LAPIC_NMI (acpi_id[0x10] high edge lint[0x1])
[    0.025323] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.025324] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.025327] ACPI: Using ACPI (MADT) for SMP configuration information
[    0.025328] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.063127] ACPI: Core revision 20220331
[    0.081802] ACPI: PM: Registering ACPI NVS region [mem 0x6d0ae000-0x6d169fff] (770048 bytes)
[    0.083434] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[    0.083434] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.089400] ACPI: Added _OSI(Module Device)
[    0.089401] ACPI: Added _OSI(Processor Device)
[    0.089401] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.089402] ACPI: Added _OSI(Processor Aggregator Device)
[    0.089403] ACPI: Added _OSI(Linux-Dell-Video)
[    0.089404] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.089405] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    0.145259] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS01._UPC], AE_ALREADY_EXISTS (20220331/dswload2-326)
[    0.145331] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)
[    0.145331] ACPI: Skipping parse of AML opcode: Method (0x0014)
[    0.145331] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS01._PLD], AE_ALREADY_EXISTS (20220331/dswload2-326)
[    0.145331] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)
[    0.145331] ACPI: Skipping parse of AML opcode: Method (0x0014)
[    0.146331] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS02._UPC], AE_ALREADY_EXISTS (20220331/dswload2-326)
[    0.146331] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)
[    0.146331] ACPI: Skipping parse of AML opcode: Method (0x0014)
[    0.146331] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS02._PLD], AE_ALREADY_EXISTS (20220331/dswload2-326)
[    0.146331] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)
[    0.146331] ACPI: Skipping parse of AML opcode: Method (0x0014)
[    0.146331] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS03._UPC], AE_ALREADY_EXISTS (20220331/dswload2-326)
[    0.146331] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)
[    0.146331] ACPI: Skipping parse of AML opcode: Method (0x0014)
[    0.146331] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS03._PLD], AE_ALREADY_EXISTS (20220331/dswload2-326)
[    0.146331] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)
[    0.146331] ACPI: Skipping parse of AML opcode: Method (0x0014)
[    0.146331] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS01._UPC], AE_ALREADY_EXISTS (20220331/dswload2-326)
[    0.146331] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)
[    0.146331] ACPI: Skipping parse of AML opcode: Method (0x0014)
[    0.146331] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS01._PLD], AE_ALREADY_EXISTS (20220331/dswload2-326)
[    0.146331] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)
[    0.146331] ACPI: Skipping parse of AML opcode: Method (0x0014)
[    0.146331] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS02._UPC], AE_ALREADY_EXISTS (20220331/dswload2-326)
[    0.146331] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)
[    0.146331] ACPI: Skipping parse of AML opcode: Method (0x0014)
[    0.146331] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS02._PLD], AE_ALREADY_EXISTS (20220331/dswload2-326)
[    0.146331] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)
[    0.146331] ACPI: Skipping parse of AML opcode: Method (0x0014)
[    0.146331] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS03._UPC], AE_ALREADY_EXISTS (20220331/dswload2-326)
[    0.146331] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)
[    0.146331] ACPI: Skipping parse of AML opcode: Method (0x0014)
[    0.146331] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS03._PLD], AE_ALREADY_EXISTS (20220331/dswload2-326)
[    0.146331] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)
[    0.146331] ACPI: Skipping parse of AML opcode: Method (0x0014)
[    0.146331] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS04._UPC], AE_ALREADY_EXISTS (20220331/dswload2-326)
[    0.146331] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)
[    0.146331] ACPI: Skipping parse of AML opcode: Method (0x0014)
[    0.146331] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS04._PLD], AE_ALREADY_EXISTS (20220331/dswload2-326)
[    0.146331] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)
[    0.146331] ACPI: Skipping parse of AML opcode: Method (0x0014)
[    0.146331] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS05._UPC], AE_ALREADY_EXISTS (20220331/dswload2-326)
[    0.146331] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)
[    0.146331] ACPI: Skipping parse of AML opcode: Method (0x0014)
[    0.146331] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS05._PLD], AE_ALREADY_EXISTS (20220331/dswload2-326)
[    0.146331] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)
[    0.146331] ACPI: Skipping parse of AML opcode: Method (0x0014)
[    0.146331] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS06._UPC], AE_ALREADY_EXISTS (20220331/dswload2-326)
[    0.146331] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)
[    0.146331] ACPI: Skipping parse of AML opcode: Method (0x0014)
[    0.146331] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.SS06._PLD], AE_ALREADY_EXISTS (20220331/dswload2-326)
[    0.146331] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)
[    0.146331] ACPI: Skipping parse of AML opcode: Method (0x0014)
[    0.146331] ACPI: 11 ACPI AML tables successfully acquired and loaded
[    0.154333] ACPI: Dynamic OEM Table Load:
[    0.154333] ACPI: SSDT 0xFFFF8A918159EE00 0001B8 (v02 PmRef  Cpu0Psd  00003000 INTL 20191018)
[    0.154812] ACPI: \_SB_.PR00: _OSC native thermal LVT Acked
[    0.155471] ACPI: Dynamic OEM Table Load:
[    0.155476] ACPI: SSDT 0xFFFF8A9180FED800 000394 (v02 PmRef  Cpu0Cst  00003001 INTL 20191018)
[    0.156309] ACPI: Dynamic OEM Table Load:
[    0.156313] ACPI: SSDT 0xFFFF8A91815D8000 0005C3 (v02 PmRef  Cpu0Ist  00003000 INTL 20191018)
[    0.157446] ACPI: Dynamic OEM Table Load:
[    0.157451] ACPI: SSDT 0xFFFF8A91815D6000 0008E7 (v02 PmRef  ApIst    00003000 INTL 20191018)
[    0.158404] ACPI: Dynamic OEM Table Load:
[    0.158410] ACPI: SSDT 0xFFFF8A91815D8800 00048A (v02 PmRef  ApHwp    00003000 INTL 20191018)
[    0.159261] ACPI: Dynamic OEM Table Load:
[    0.159265] ACPI: SSDT 0xFFFF8A91815DE000 0004D2 (v02 PmRef  ApPsd    00003000 INTL 20191018)
[    0.160118] ACPI: Dynamic OEM Table Load:
[    0.160122] ACPI: SSDT 0xFFFF8A91815D9800 00048A (v02 PmRef  ApCst    00003000 INTL 20191018)
[    0.163242] ACPI: EC: EC started
[    0.163243] ACPI: EC: interrupt blocked
[    0.173374] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.173376] ACPI: \_SB_.PC00.LPCB.EC0_: Boot DSDT EC used to handle transactions
[    0.173377] ACPI: Interpreter enabled
[    0.173420] ACPI: PM: (supports S0 S4 S5)
[    0.173421] ACPI: Using IOAPIC for interrupt routing
[    0.173456] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.173810] ACPI: Enabled 7 GPEs in block 00 to 7F
[    0.188018] ACPI: PM: Power Resource [V0PR]
[    0.188126] ACPI: PM: Power Resource [V1PR]
[    0.188223] ACPI: PM: Power Resource [V2PR]
[    0.190380] ACPI: PM: Power Resource [WRST]
[    0.191116] ACPI: PM: Power Resource [V0PR]
[    0.191151] ACPI: PM: Power Resource [V1PR]
[    0.191184] ACPI: PM: Power Resource [V2PR]
[    0.191217] ACPI: PM: Power Resource [V3PR]
[    0.195171] ACPI: PM: Power Resource [PIN]
[    0.195442] ACPI: PCI Root Bridge [PC00] (domain 0000 [bus 00-fe])
[    0.195447] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI EDR HPX-Type3]
[    0.197226] acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug SHPCHotplug PME AER PCIeCapability LTR DPC]
[    0.197227] acpi PNP0A08:00: FADT indicates ASPM is unsupported, using BIOS configuration
[    0.208329] ACPI: PCI: Interrupt link LNKA configured for IRQ 0
[    0.208329] ACPI: PCI: Interrupt link LNKB configured for IRQ 1
[    0.208329] ACPI: PCI: Interrupt link LNKC configured for IRQ 0
[    0.208329] ACPI: PCI: Interrupt link LNKD configured for IRQ 0
[    0.208329] ACPI: PCI: Interrupt link LNKE configured for IRQ 0
[    0.208329] ACPI: PCI: Interrupt link LNKF configured for IRQ 0
[    0.208329] ACPI: PCI: Interrupt link LNKG configured for IRQ 0
[    0.208329] ACPI: PCI: Interrupt link LNKH configured for IRQ 0
[    0.218623] ACPI: EC: interrupt unblocked
[    0.218624] ACPI: EC: event unblocked
[    0.218642] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.218642] ACPI: EC: GPE=0x6e
[    0.218643] ACPI: \_SB_.PC00.LPCB.EC0_: Boot DSDT EC initialization complete
[    0.218644] ACPI: \_SB_.PC00.LPCB.EC0_: EC: Used to handle transactions and events
[    0.219359] ACPI: bus type USB registered
[    0.219651] PCI: Using ACPI for IRQ routing
[    0.241355] pnp: PnP ACPI init
[    0.244228] pnp: PnP ACPI: found 8 devices
[    0.249313] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.290900] ACPI: \_SB_.PR00: Found 3 idle states
[    0.291620] ACPI: AC: AC Adapter [ADP1] (on-line)
[    0.291658] ACPI: button: Lid Switch [LID0]
[    0.291676] ACPI: button: Power Button [PWRB]
[    0.292485] ACPI: button: Power Button [PWRF]
[    0.295544] ACPI: thermal: Thermal Zone [TZ01] (34 C)
[    0.296545] hpet_acpi_add: no address or irqs in _CRS
[    0.297035] ACPI: bus type drm_connector registered
[    0.311577] ACPI: battery: Slot [BAT0] (battery present)
[    0.315812] acpi ACPI000E:00: hash matches
[    0.315820] acpi device:8c: hash matches
[    0.922217] acpi PNP0C14:01: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[    0.922359] acpi PNP0C14:02: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[    1.333832] Modules linked in: hid_multitouch(+) hp_wmi(+) cbc acpi_cpufreq(-) snd_hda_core pcc_cpufreq(-) aesni_intel mei_pxp sparse_keymap ecb rtw88_core snd_hwdep crypto_simd mei_hdcp intel_rapl_msr platform_profile wmi_bmof snd_pcm algif_skcipher cryptd i915(+) snd_timer cmac mac80211 md4 intel_cstate snd algif_hash i2c_i801 spi_nor drm_buddy processor_thermal_device_pci_legacy intel_uncore libarc4 af_alg pcspkr mtd i2c_smbus cfg80211 soundcore processor_thermal_device ttm mei_me processor_thermal_rfim rfkill drm_display_helper processor_thermal_mbox mei intel_lpss_pci processor_thermal_rapl cec intel_lpss intel_rapl_common idma64 intel_gtt intel_soc_dts_iosf igen6_edac i2c_hid_acpi tpm_crb vfat wmi fat tpm_tis i2c_hid tpm_tis_core tpm video int3400_thermal int3403_thermal rng_core acpi_thermal_rel int340x_thermal_zone acpi_pad dptf_pch_fivr wireless_hotkey mac_hid pkcs8_key_parser crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 nvme serio_raw
[    1.334917] Modules linked in: iTCO_vendor_support hid_multitouch(+) hp_wmi(+) cbc acpi_cpufreq(-) snd_hda_core pcc_cpufreq(-) aesni_intel mei_pxp sparse_keymap ecb rtw88_core snd_hwdep crypto_simd mei_hdcp intel_rapl_msr platform_profile wmi_bmof snd_pcm algif_skcipher cryptd i915(+) snd_timer cmac mac80211 md4 intel_cstate snd algif_hash i2c_i801 spi_nor drm_buddy processor_thermal_device_pci_legacy intel_uncore libarc4 af_alg pcspkr mtd i2c_smbus cfg80211 soundcore processor_thermal_device ttm mei_me processor_thermal_rfim rfkill drm_display_helper processor_thermal_mbox mei intel_lpss_pci processor_thermal_rapl cec intel_lpss intel_rapl_common idma64 intel_gtt intel_soc_dts_iosf igen6_edac i2c_hid_acpi tpm_crb vfat wmi fat tpm_tis i2c_hid tpm_tis_core tpm video int3400_thermal int3403_thermal rng_core acpi_thermal_rel int340x_thermal_zone acpi_pad dptf_pch_fivr wireless_hotkey mac_hid pkcs8_key_parser crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache
[    1.336871] Modules linked in: ghash_clmulni_intel iTCO_vendor_support hid_multitouch(+) hp_wmi(+) cbc acpi_cpufreq(-) snd_hda_core pcc_cpufreq(-) aesni_intel mei_pxp sparse_keymap ecb rtw88_core snd_hwdep crypto_simd mei_hdcp intel_rapl_msr platform_profile wmi_bmof snd_pcm algif_skcipher cryptd i915(+) snd_timer cmac mac80211 md4 intel_cstate snd algif_hash i2c_i801 spi_nor drm_buddy processor_thermal_device_pci_legacy intel_uncore libarc4 af_alg pcspkr mtd i2c_smbus cfg80211 soundcore processor_thermal_device ttm mei_me processor_thermal_rfim rfkill drm_display_helper processor_thermal_mbox mei intel_lpss_pci processor_thermal_rapl cec intel_lpss intel_rapl_common idma64 intel_gtt intel_soc_dts_iosf igen6_edac i2c_hid_acpi tpm_crb vfat wmi fat tpm_tis i2c_hid tpm_tis_core tpm video int3400_thermal int3403_thermal rng_core acpi_thermal_rel int340x_thermal_zone acpi_pad dptf_pch_fivr wireless_hotkey mac_hid pkcs8_key_parser crypto_user fuse bpf_preload ip_tables x_tables ext4
[    1.337877] Modules linked in: ghash_clmulni_intel iTCO_vendor_support hid_multitouch(+) hp_wmi(+) cbc acpi_cpufreq(-) snd_hda_core pcc_cpufreq(-) aesni_intel mei_pxp sparse_keymap ecb rtw88_core snd_hwdep crypto_simd mei_hdcp intel_rapl_msr platform_profile wmi_bmof snd_pcm algif_skcipher cryptd i915(+) snd_timer cmac mac80211 md4 intel_cstate snd algif_hash i2c_i801 spi_nor drm_buddy processor_thermal_device_pci_legacy intel_uncore libarc4 af_alg pcspkr mtd i2c_smbus cfg80211 soundcore processor_thermal_device ttm mei_me processor_thermal_rfim rfkill drm_display_helper processor_thermal_mbox mei intel_lpss_pci processor_thermal_rapl cec intel_lpss intel_rapl_common idma64 intel_gtt intel_soc_dts_iosf igen6_edac i2c_hid_acpi tpm_crb vfat wmi fat tpm_tis i2c_hid tpm_tis_core tpm video int3400_thermal int3403_thermal rng_core acpi_thermal_rel int340x_thermal_zone acpi_pad dptf_pch_fivr wireless_hotkey mac_hid pkcs8_key_parser crypto_user fuse bpf_preload ip_tables x_tables ext4
[    1.339382] Modules linked in: gf128mul(+) intel_pmc_bxt(+) ghash_clmulni_intel iTCO_vendor_support hid_multitouch(+) hp_wmi(+) cbc acpi_cpufreq(-) snd_hda_core pcc_cpufreq(-) aesni_intel mei_pxp sparse_keymap ecb rtw88_core snd_hwdep crypto_simd mei_hdcp intel_rapl_msr platform_profile wmi_bmof snd_pcm algif_skcipher cryptd i915(+) snd_timer cmac mac80211 md4 intel_cstate snd algif_hash i2c_i801 spi_nor drm_buddy processor_thermal_device_pci_legacy intel_uncore libarc4 af_alg pcspkr mtd i2c_smbus cfg80211 soundcore processor_thermal_device ttm mei_me processor_thermal_rfim rfkill drm_display_helper processor_thermal_mbox mei intel_lpss_pci processor_thermal_rapl cec intel_lpss intel_rapl_common idma64 intel_gtt intel_soc_dts_iosf igen6_edac i2c_hid_acpi tpm_crb vfat wmi fat tpm_tis i2c_hid tpm_tis_core tpm video int3400_thermal int3403_thermal rng_core acpi_thermal_rel int340x_thermal_zone acpi_pad dptf_pch_fivr wireless_hotkey mac_hid pkcs8_key_parser crypto_user fuse bpf_preload
[    1.340574] Modules linked in: rtw88_pci(+) gf128mul(+) intel_pmc_bxt(+) ghash_clmulni_intel iTCO_vendor_support hid_multitouch(+) hp_wmi(+) cbc acpi_cpufreq(-) snd_hda_core pcc_cpufreq(-) aesni_intel mei_pxp sparse_keymap ecb rtw88_core snd_hwdep crypto_simd mei_hdcp intel_rapl_msr platform_profile wmi_bmof snd_pcm algif_skcipher cryptd i915(+) snd_timer cmac mac80211 md4 intel_cstate snd algif_hash i2c_i801 spi_nor drm_buddy processor_thermal_device_pci_legacy intel_uncore libarc4 af_alg pcspkr mtd i2c_smbus cfg80211 soundcore processor_thermal_device ttm mei_me processor_thermal_rfim rfkill drm_display_helper processor_thermal_mbox mei intel_lpss_pci processor_thermal_rapl cec intel_lpss intel_rapl_common idma64 intel_gtt intel_soc_dts_iosf igen6_edac i2c_hid_acpi tpm_crb vfat wmi fat tpm_tis i2c_hid tpm_tis_core tpm video int3400_thermal int3403_thermal rng_core acpi_thermal_rel int340x_thermal_zone acpi_pad dptf_pch_fivr wireless_hotkey mac_hid pkcs8_key_parser crypto_user fuse
[    1.341728] Modules linked in: rtw88_pci(+) gf128mul(+) intel_pmc_bxt(+) ghash_clmulni_intel iTCO_vendor_support hid_multitouch(+) hp_wmi(+) cbc acpi_cpufreq(-) snd_hda_core pcc_cpufreq(-) aesni_intel mei_pxp sparse_keymap ecb rtw88_core snd_hwdep crypto_simd mei_hdcp intel_rapl_msr platform_profile wmi_bmof snd_pcm algif_skcipher cryptd i915(+) snd_timer cmac mac80211 md4 intel_cstate snd algif_hash i2c_i801 spi_nor drm_buddy processor_thermal_device_pci_legacy intel_uncore libarc4 af_alg pcspkr mtd i2c_smbus cfg80211 soundcore processor_thermal_device ttm mei_me processor_thermal_rfim rfkill drm_display_helper processor_thermal_mbox mei intel_lpss_pci processor_thermal_rapl cec intel_lpss intel_rapl_common idma64 intel_gtt intel_soc_dts_iosf igen6_edac i2c_hid_acpi tpm_crb vfat wmi fat tpm_tis i2c_hid tpm_tis_core tpm video int3400_thermal int3403_thermal rng_core acpi_thermal_rel int340x_thermal_zone acpi_pad dptf_pch_fivr wireless_hotkey mac_hid pkcs8_key_parser crypto_user fuse
[    1.342920] Modules linked in: rtw88_pci(+) gf128mul(+) intel_pmc_bxt(+) ghash_clmulni_intel iTCO_vendor_support hid_multitouch(+) hp_wmi(+) cbc acpi_cpufreq(-) snd_hda_core pcc_cpufreq(-) aesni_intel mei_pxp sparse_keymap ecb rtw88_core snd_hwdep crypto_simd mei_hdcp intel_rapl_msr platform_profile wmi_bmof snd_pcm algif_skcipher cryptd i915(+) snd_timer cmac mac80211 md4 intel_cstate snd algif_hash i2c_i801 spi_nor drm_buddy processor_thermal_device_pci_legacy intel_uncore libarc4 af_alg pcspkr mtd i2c_smbus cfg80211 soundcore processor_thermal_device ttm mei_me processor_thermal_rfim rfkill drm_display_helper processor_thermal_mbox mei intel_lpss_pci processor_thermal_rapl cec intel_lpss intel_rapl_common idma64 intel_gtt intel_soc_dts_iosf igen6_edac i2c_hid_acpi tpm_crb vfat wmi fat tpm_tis i2c_hid tpm_tis_core tpm video int3400_thermal int3403_thermal rng_core acpi_thermal_rel int340x_thermal_zone acpi_pad dptf_pch_fivr wireless_hotkey mac_hid pkcs8_key_parser crypto_user fuse
[    1.360005] ACPI: video: Video Device [GFX0] (multi-head: yes  rom: no  post: no)

Any help is appreciated.

Offline

#2 2022-11-23 17:15:40

seth
Member
Registered: 2012-09-03
Posts: 33,623

Re: Unable to read battery / broken battery

POWER_SUPPLY_CYCLE_COUNT=11

POWER_SUPPLY_POWER_NOW=0
POWER_SUPPLY_ENERGY_FULL_DESIGN=41040000
POWER_SUPPLY_ENERGY_FULL=42510000
POWER_SUPPLY_ENERGY_NOW=0
POWER_SUPPLY_CAPACITY=0
POWER_SUPPLY_CAPACITY_LEVEL=Low

How old is the battery?

Offline

#3 2022-11-23 17:39:07

Arthurmeade12
Member
Registered: 2022-10-18
Posts: 18

Re: Unable to read battery / broken battery

I am running a new laptop with (presumably) new hardware since October. There is no problem with the age of the hardware.

Offline

#4 2022-11-23 21:06:45

seth
Member
Registered: 2012-09-03
Posts: 33,623

Re: Unable to read battery / broken battery

Try the LTS kernel and/or some live distro to see whether that's a kernel regression.
Also post a complete dmesg and the output of "lsmod"

Offline

#5 2022-11-24 03:11:43

Arthurmeade12
Member
Registered: 2022-10-18
Posts: 18

Re: Unable to read battery / broken battery

Just to be clear, I am using '6.0.9-zen1-1zen' kernel. The following outputs are posted while using that kernel.
dmesg
lsmod

Edit: Looks like I don't have the 'battery' module.

Offline

#6 2022-11-24 07:35:23

seth
Member
Registered: 2012-09-03
Posts: 33,623

Re: Unable to read battery / broken battery

"modinfo battery" should show it's built-in
Did you try any of the non-zen kernels?

There're 5 partitions… is there a parallel windows installation?

Offline

#7 2022-11-24 12:39:56

Arthurmeade12
Member
Registered: 2022-10-18
Posts: 18

Re: Unable to read battery / broken battery

There are 5 partitions, one of which holds windows ( the other being 'Microsoft Reserved' and 'Windows Recovery'). In total, I have
1) The EFI partition
2) 'Microsoft Reserved'
3) 'Microsoft Basic Data'
4) 'Windows Recovery Environment'
5) Arch

However, I corrupted the EFI partition when trying to do my Arch Linux install (oops big_smile), so I no longer have the Windows efi files. (Need to ask HP support for those.) Windows is installed, but is unbootable.

modinfo battery
name:           battery
filename:       (builtin)
license:        GPL
file:           drivers/acpi/battery
description:    ACPI Battery Driver
author:         Alexey Starikovskiy <astarikovskiy@suse.de>
author:         Paul Diefenbaugh
parm:           cache_time:cache time in milliseconds (uint) 

Want to hold off on switching kernels if possible so that I don't need to boot an installation media to get a uefi shell to adjust my kernel arguments.

Offline

#8 2022-11-24 12:47:13

seth
Member
Registered: 2012-09-03
Posts: 33,623

Re: Unable to read battery / broken battery

one of which holds windows

3rd link below

Windows is installed, but is unbootable.

Which is gonna be a problem… there's a decent chance that the hibernating windows is the relevant ACPI interference.

How does the system behave on the "empty" battery? Can you just run it for some hours before it powers down?
(Ie. is the battery actually empty or is this only about reading it out)

Want to hold off on switching kernels if possible so that I don't need to boot an installation media to get a uefi shell to adjust my kernel arguments.

Use a boot manager?

Offline

#9 2022-11-25 15:55:48

Arthurmeade12
Member
Registered: 2022-10-18
Posts: 18

Re: Unable to read battery / broken battery

Don't want to install a boot manager until I have to, since it's a pain. (I am currently using EFISTUB.)

Cannot disable fast startup until I can boot windows. I will contact HP support for the relevant efi files to boot Windows. No ETA.

Offline

#10 2022-11-25 16:01:47

Arthurmeade12
Member
Registered: 2022-10-18
Posts: 18

Re: Unable to read battery / broken battery

The system immediately stops when I unplug power (it is empty, but this does not mean that Arch is reading the battery correctly.) Upon rebooting, I get a 'CMOS checksum invalid (502)' error.

Offline

#11 2022-11-25 16:08:01

seth
Member
Registered: 2012-09-03
Posts: 33,623

Re: Unable to read battery / broken battery

it is empty, but this does not mean that Arch is reading the battery correctly

Yes it does?
If you shut down the system and charge it, does the battery then charge (maybe very slowly)?

Edit: do you have the opportunity to charge a different device/test a different charger?
(Maybe the battery is ok? Also inspect the plug - I've seem more than one where some genius managed to break off the central pin that many HP chargers have)

Last edited by seth (2022-11-25 16:11:06)

Offline

#12 2022-11-25 16:08:49

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 6,840

Re: Unable to read battery / broken battery

Arthurmeade12 wrote:

Don't want to install a boot manager until I have to, since it's a pain.

Sounds as if you're using the wrong boot manager .... wink


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB