Public bug reported:
Upstream bug: https://bugzilla.kernel.org/show_bug.cgi?id=221503
Hardware: ASUS Vivobook 18 M1807HA (AMD Ryzen AI platform),
BIOS M1807HA.321 (latest, 2026-01-19).
While running on battery (ADP0/online=0), /sys/class/power_supply/BAT0/status
flips between "Discharging" and "Not charging" approximately every
10-20 seconds on each read. Measured rate: 11-12 transitions per
180 seconds of polling. UPower emits PropertiesChanged on each flip,
and gnome-settings-daemon plays power-plug/power-unplug sounds every
30-120 sec while on battery.
The impossible combination BAT0/status="Not charging" with ADP0/online=0
is observed (per the power-supply class documentation, "Not charging"
is only meaningful when AC is connected).
Diagnostic summary (full details, sample data and reproducer in the
kernel.org bug above):
* BIOS update from M1807HA.318 to M1807HA.321 made no difference.
* Full unload of the asus_wmi platform stack (incl. removal of the
"ASUS Battery Extension" battery-driver hook) made no difference -
the bug is not in asus_wmi.
* EC GPE (gpe0A) does not fire in correlation with the flips, so it
is a pure polling artifact of the ACPI _BST method returning
inconsistent values on successive reads.
* Windows on the same hardware does not exhibit this.
Suggested kernel-side fix: a DMI-matched quirk in
drivers/acpi/battery.c that normalises "Not charging" to
"Discharging" whenever no AC supply is online.
Reproducer:
1. Unplug AC adapter.
2. Sample /sys/class/power_supply/BAT0/status every 5 seconds for
3 minutes.
3. Observe 10+ transitions between "Discharging" and "Not charging".
Workaround in use locally: empty power-plug*.oga overrides placed
in ~/.local/share/sounds/Yaru/stereo/ (silences the GNOME symptom
but does not fix the kernel/EC defect).
Posted to [email protected] as well.
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: linux-image-7.0.0-15-generic 7.0.0-15.15
ProcVersionSignature: Ubuntu 7.0.0-15.15-generic 7.0.0
Uname: Linux 7.0.0-15-generic x86_64
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC1: alexsanya001 4721 F.... wireplumber
/dev/snd/controlC0: alexsanya001 4721 F.... wireplumber
/dev/snd/seq: alexsanya001 4701 F.... pipewire
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon May 11 15:41:21 2026
InstallationDate: Installed on 2026-05-10 (1 days ago)
InstallationMedia: Ubuntu 26.04 "Resolute Raccoon" - Release amd64 (20260423.1)
MachineType: ASUSTeK COMPUTER INC. ASUS Vivobook 18 M1807HA_M1807HA
ProcEnviron:
LANG=ru_RU.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-7.0.0-15-generic
root=UUID=c8fab05c-1c05-4601-a9a6-2d8152803f27 ro quiet splash
crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/19/2026
dmi.bios.release: 5.29
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: M1807HA.321
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: M1807HA
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.ec.firmware.release: 3.20
dmi.modalias:
dmi:bvnAmericanMegatrendsInternational,LLC.:bvrM1807HA.321:bd01/19/2026:br5.29:efr3.20:svnASUSTeKCOMPUTERINC.:pnASUSVivobook18M1807HA_M1807HA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnM1807HA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:sku:pfaASUSVivobook18:
dmi.product.family: ASUS Vivobook 18
dmi.product.name: ASUS Vivobook 18 M1807HA_M1807HA
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: acpi amd64 apport-bug asus-vivobook battery-status kernel-bug
power-supply resolute wayland-session
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2152185
Title:
BAT0/status oscillates Discharging/Not charging while ADP0/online=0 on
ASUS Vivobook 18 M1807HA
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2152185/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs