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: Issue in asus_ec_sensors in Fedora installations and other distributions
Related topics in Ask Fedora elaborating the issue:
Battery indicator not working properly | ASUS TUF Gaming A15 FA506IH
Battery status problem in F36
The battery indicator stop functioning properly | ASUSTeK FA506IV
Power indicator state not working in kernel 19.4-200