apport information
** Tags added: apport-collected zena
** Description changed:
Hardware / software
- Lenovo LOQ 15IRX10, product 83JE, board LNVNB161216
- BIOS R3CN39WW (07/24/2025), EC firmware 1.39
- CPU: 13th Gen Intel Core i5-13450HX
- Kernel: 7.0.0-38-generic (Ubuntu 7.0.0-38.38~24.04.4-generic 7.0.14),
also observed on 7.0.0-34-generic
- Distro: Linux Mint 22.3 (Ubuntu 24.04 "Noble" base), upower 1.90.3
- Battery: BYD L24B4PK4, charge_types: "Fast Standard [Long_Life]",
ideapad conservation_mode = 1
Symptom
The kernel emits a continuous storm of KOBJ_CHANGE uevents for
/sys/class/power_supply/BAT1:
udevadm monitor --kernel, 10 s on battery: 7099 BAT1 events
udevadm monitor --kernel, 10 s on AC: 15279 BAT1 events
upowerd processes every event, leaks memory, reaches ~11 GB RSS and is
OOM-killed (seen in 4 of the last 7 boots since 2026-10-01; upower.service
"Consumed 1h 18min CPU time" in a 5.5 h session). systemd-udevd also burns
CPU.
What I ruled out (each measured as BAT1 events in 5 s)
- normal: 8023
- with upower.service stopped: 7983 -> not driven by
userspace reading
- charge_types switched Long_Life -> Standard: 8012 -> not mode-specific
- /sys/firmware/acpi/interrupts/sci and all GPE counters do NOT increase
during the storm -> not hardware/EC
interrupts
- with ideapad_laptop unloaded (modprobe -r): 0 <- storm stops
completely
- after modprobe ideapad_laptop again: storm returns
ftrace on power_supply_changed (func_stack_trace), every hit looks like:
kworker/5:0-14193 [005] ..... 20458.958776: power_supply_changed
<-acpi_battery_notify
=> power_supply_changed
=> acpi_battery_notify
=> acpi_ev_notify_dispatch
=> acpi_os_execute_deferred
=> process_one_work
=> worker_thread
=> kthread
=> ret_from_fork
=> ret_from_fork_asm
(consecutive hits ~0.6 ms apart)
So the notifications are AML Notify(BAT1, ...) executed by firmware code,
not caused by SCI/GPE. Since they stop only when ideapad_laptop is unloaded,
some ACPI method evaluated by ideapad_laptop appears to execute
Notify(BAT1). dmesg shows the driver registers
"ACPI: battery: new hook: Ideapad Battery Extension".
Suspected mechanism (hypothesis, not verified):
power_supply_changed() -> uevent -> power_supply_uevent() reads all
properties including the ideapad extension property charge_types ->
ideapad evaluates a VPC/GBMD-style method on the EC -> the firmware method
does Notify(BAT1, 0x80) -> acpi_battery_notify() -> power_supply_changed()
-> ... i.e. a self-sustaining loop inside the kernel. This would explain why
the storm continues without any userspace reader and without interrupts.
Workaround in use
systemctl set-property upower.service MemoryMax=300M
(prevents the OOM situation, but the loop keeps wasting CPU).
Happy to test patches or provide acpidump / more traces.
+ ---
+ ProblemType: Bug
+ ApportVersion: 2.28.3-0ubuntu0.1
+ Architecture: amd64
+ AudioDevicesInUse:
+ USER PID ACCESS COMMAND
+ /dev/snd/controlC0: mkwm 1956 F.... wireplumber
+ /dev/snd/controlC1: mkwm 1956 F.... wireplumber
+ /dev/snd/seq: mkwm 1954 F.... pipewire
+ CasperMD5CheckResult: pass
+ CurrentDesktop: X-Cinnamon
+ DistroRelease: Linux Mint 22.3
+ InstallationDate: Installed on 2026-08-12 (65 days ago)
+ InstallationMedia: Linux Mint 22.3 "Zena" - Release amd64 20260108
+ Lsusb:
+ Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+ Bus 001 Device 002: ID 04f2:b83e Chicony Electronics Co., Ltd Integrated
Camera
+ Bus 001 Device 003: ID 048d:c693 Integrated Technology Express, Inc. ITE
Device(8258)
+ Bus 001 Device 004: ID 0bda:4853 Realtek Semiconductor Corp. Bluetooth Radio
+ Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
+ MachineType: LENOVO 83JE
+ Package: linux (not installed)
+ ProcEnviron:
+ LANG=pl_PL.UTF-8
+ LANGUAGE=pl_PL
+ PATH=(custom, no user)
+ SHELL=/bin/bash
+ TERM=xterm-256color
+ ProcFB: 0 i915drmfb
+ ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-7.0.0-38-generic
root=UUID=1bea83d4-573f-466a-9056-4640ad08f440 ro quiet splash
+ ProcVersionSignature: Ubuntu 7.0.0-38.38~24.04.4-generic 7.0.14
+ PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No
PulseAudio daemon running, or not running as session daemon.
+ RelatedPackageVersions:
+ linux-restricted-modules-7.0.0-38-generic N/A
+ linux-backports-modules-7.0.0-38-generic N/A
+ linux-firmware 20240318.git3b128b60.0ubuntu3.1
+ Tags: zena
+ Uname: Linux 7.0.0-38-generic x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: N/A
+ _MarkForUpload: True
+ dmi.bios.date: 07/24/2025
+ dmi.bios.release: 1.39
+ dmi.bios.vendor: LENOVO
+ dmi.bios.version: R3CN39WW
+ dmi.board.asset.tag: NO Asset Tag
+ dmi.board.name: LNVNB161216
+ dmi.board.vendor: LENOVO
+ dmi.board.version: SDK0T76463 WIN
+ dmi.chassis.asset.tag: NO Asset Tag
+ dmi.chassis.type: 10
+ dmi.chassis.vendor: LENOVO
+ dmi.chassis.version: LOQ 15IRX10
+ dmi.ec.firmware.release: 1.39
+ dmi.modalias:
dmi:bvnLENOVO:bvrR3CN39WW:bd07/24/2025:br1.39:efr1.39:svnLENOVO:pn83JE:pvrLOQ15IRX10:rvnLENOVO:rnLNVNB161216:rvrSDK0T76463WIN:cvnLENOVO:ct10:cvrLOQ15IRX10:skuLENOVO_MT_83JE_BU_idea_FM_LOQ15IRX10:pfaLOQ15IRX10:
+ dmi.product.family: LOQ 15IRX10
+ dmi.product.name: 83JE
+ dmi.product.sku: LENOVO_MT_83JE_BU_idea_FM_LOQ 15IRX10
+ dmi.product.version: LOQ 15IRX10
+ dmi.sys.vendor: LENOVO
** Attachment added: "AlsaInfo.txt"
https://bugs.launchpad.net/bugs/2169715/+attachment/6009990/+files/AlsaInfo.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169715
Title:
ideapad-laptop battery extension causes endless BAT1 "change" uevent
storm (~800-1500/s) on Lenovo LOQ 15IRX10 (83JE); upowerd grows to >10
GB and gets OOM-killed
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2169715/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs