Re: [REGRESSION] AC adapter reported off-line, battery shows "Discharging" while charging
From: Thorsten Leemhuis
Date: Fri May 08 2026 - 05:51:33 EST
On 5/6/26 16:23, Goldi Fisch wrote:
> I am experiencing a regression in recent Linux kernel versions affecting AC adapter and battery reporting.
>
> The system is physically charging:
> - Charging LED indicates charging
> - Windows reports charging correctly
>
> This suggests the hardware and firmware behave correctly.
>
> However, under Linux:
> - AC adapter is reported as off-line
> - Battery status is always "Discharging"
> - No charging is reported even when AC is connected
>
> Working kernel:
> 6.18.13 (Fedora Workstation)
>
> Broken kernels:
> 6.18.16 (Fedora Workstation 43)
> 7.0.3-1-cachyos
Cachyos uses a kernel that is quite a bit patched, which makes it a bad
fit for upstream reporting.
The big questions here are:
* is this a 6.18.y specific regression that still happens with latest
6.18.y?
* is this something that was already fixed with mainline? Could you
please try 7.1-rc2 or newer?
Please also provide full dmesg logs for the 6.18.y kernels that work and
are broken. Maybe that is enough to spot the problem. But if not, you
most likely will have to run a git bisection to find what's wrong:
https://docs.kernel.org/admin-guide/bug-bisect.html
https://docs.kernel.org/admin-guide/verify-bugs-and-bisect-regressions.html
Ciao, Thorsten
> Hardware:
> Denver NID 14106SSDE
>
> Steps to reproduce:
>
> 1. Boot affected kernel
> 2. Connect AC adapter
> 3. Run the following commands:
> cat /sys/class/power_supply/ADP1/online
> cat /sys/class/power_supply/BAT0/status
>
> Actual result:
>
> - AC adapter reports off-line
> - Battery reports "Discharging"
> - System is physically charging
>
> Expected result:
>
> - AC adapter should report on-line
> - Battery should report "Charging"
>
> uname -a:
> Linux p288300f2e782385133fb26c6b6d4b847 7.0.3-1-cachyos #1 SMP PREEMPT Sat May 2 09:24:53 2026 x86_64 GNU/Linux
>
> BAT0 uevent:
> DEVTYPE=power_supply
> POWER_SUPPLY_NAME=BAT0
> POWER_SUPPLY_TYPE=Battery
> POWER_SUPPLY_STATUS=Discharging
> POWER_SUPPLY_PRESENT=1
> POWER_SUPPLY_TECHNOLOGY=Li-ion
> POWER_SUPPLY_VOLTAGE_NOW=7400000
> POWER_SUPPLY_POWER_NOW=0
> POWER_SUPPLY_ENERGY_FULL_DESIGN=29600000
> POWER_SUPPLY_ENERGY_FULL=29600000
> POWER_SUPPLY_ENERGY_NOW=24494000
> POWER_SUPPLY_CAPACITY=83
> POWER_SUPPLY_CAPACITY_LEVEL=Normal
> POWER_SUPPLY_MODEL_NAME=Li-ion Battery
> POWER_SUPPLY_MANUFACTURER=GLK MRD
>
> Relevant dmesg lines:
> ACPI: AC: AC Adapter [ADP1] (off-line)
> ACPI: battery: Slot [BAT0] (battery present)
>
> Additional notes:
>
> - Reproducible across multiple distributions (Fedora, CachyOS)
> - Regression between 6.18.13 and 6.18.16
> - Likely related to ACPI / power_supply subsystem