Problem
On certain ASUS motherboards, the battery charge indicator might not work properly. It is either stuck (showing the same value all the time), or behaves erratically. Automatic suspend (e.g. when closing a laptop lid) might also be broken, even though manual suspend does work.
Cause
The origin is connected to the asus_ec_sensors
driver in the Linux kernel, which gets sensor readings from some ASUS motherboards (acpi-related). The exact origin remains to be identified. The problem appears since kernel 5.19.4 on systems using asus_ec_sensors
.
Related Issues
Bugzilla report: #2121844
Upstream kernel discussion: https://lore.kernel.org/all/166ca420-27a0-a86d-8d1d-e20a87d62cd4@my.mail.de/T/
Related topics in Ask Fedora elaborating the issue:
https://discussion.fedoraproject.org/t/battery-indicator-not-working-properly-asus-tuf-gaming-a15-fa506ih/74009
https://discussion.fedoraproject.org/t/battery-status-problem-in-f36/77243
https://discussion.fedoraproject.org/t/the-battery-indicator-stop-functioning-properly-asustek-fa506iv/77410
https://discussion.fedoraproject.org/t/power-indicator-state-not-working-in-kernel-19-4-200/76640