Bug 2497955 - Battery charge threshold for ASUS Vivobook S14 M5406KA stopped working in kernel 7.1.3
Summary: Battery charge threshold for ASUS Vivobook S14 M5406KA stopped working in ker...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Justin M. Forbes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-08 01:50 UTC by Nickle Moon
Modified: 2026-07-09 20:15 UTC (History)
14 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-07-09 20:15:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Kernel logs (122.34 KB, text/plain)
2026-07-08 01:52 UTC, Nickle Moon
no flags Details

Description Nickle Moon 2026-07-08 01:50:48 UTC
Battery charge threshold for ASUS Vivobook S14 M5406KA stopped working in kernel 7.1.3

1. Please describe the problem:
Under GNOME settings, the "Preserve Battery Health" option is gone when using kernel 7.1.3. This is with an ASUS Vivobook S14 M5406KA.

Running "cat /sys/class/power_supply/BAT*/charge_control_end_threshold" returns "cat: /sys/class/power_supply/BAT1/charge_control_end_threshold: No data available". However, when running the same command using kernel 7.0.14, it properly returns a value of 80. The "Preserve Battery Health" GNOME settings option is also present under kernel 7.0.14.

2. What is the Version-Release number of the kernel:
7.1.3-200.fc44

3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :
Yes, it worked in kernel 7.0.14


4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:
It seems to be reproducible simply by updating to kernel 7.1.3


5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:
Yes, the situation is the same under 7.2.0-0.rc2.21.fc45.x86_64
Running "cat /sys/class/power_supply/BAT*/charge_control_end_threshold" still returns "cat: /sys/class/power_supply/BAT1/charge_control_end_threshold: No data available"


6. Are you running any modules that not shipped with directly Fedora's kernel?:
No


Reproducible: Always

Comment 1 Nickle Moon 2026-07-08 01:52:21 UTC
Created attachment 2147996 [details]
Kernel logs

Attached is the kernel logs from running "journalctl --no-hostname -k > dmesg.txt"

Comment 2 Nickle Moon 2026-07-09 20:15:17 UTC
Battery charge is working again after updating upower to 1.91.3
It seems that this was caused by this change in the kernel: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers?id=186bf90
And fixed in upower in this commit: https://gitlab.freedesktop.org/upower/upower/-/commit/83f86c75d28a57854a4b5986cbfb701249a5b6ad


Note You need to log in before you can comment on or make changes to this bug.