Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1465  / 2 Years ago, wed, october 26, 2022, 2:40:01

Since upgrading from Ubuntu 22.04 to 22.10 a few days ago, the battery indicator doesn't work any more. It's stuck in whatever state it had at startup. Also, there's no warning message any more when the battery is getting low. (I've found that someone had the same problem years ago but they got no answer [link].)


I've reinstalled gnome-power-manager but that hasn't made any difference. I've also checked the battery level with upower -i /org/freedesktop/UPower/devices/battery_BAT1 and it seems to have the same issue as the battery indicator: it says the battery percentage is 99% even though that can't be true because the laptop has been unplugged for a while.


My computer is an ASUS TUF Gaming A15 (FA506II), if that's relevant.


Edit: I managed to solve the problem with the fix proposed by popey below. To blacklist asus-ec-sensors, I created the file /etc/modprobe.d/asus.conf and added the line blacklist asus-ec-sensors. (I hope that's the right way to do this.) After rebooting, the battery indicator is working again. Also, I found some more discussion of this topic here which might be interesting to some people.


More From » battery

 Answers
6

I found the solution today. It is because of Linux kernel 5.19.
You can fix it by blacklisting asus_ec_sensors.
Hopefully Ubuntu releases a kernel update soon.


[#169] Friday, October 28, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lowstonnequ

Total Points: 279
Total Questions: 125
Total Answers: 123

Location: Finland
Member since Sun, Dec 5, 2021
2 Years ago
lowstonnequ questions
Tue, Feb 28, 23, 01:39, 1 Year ago
Wed, Dec 1, 21, 23:44, 2 Years ago
Thu, Apr 21, 22, 13:13, 2 Years ago
Sat, May 13, 23, 16:50, 1 Year ago
;