Tldr: I was sitting in a cafe when suddenly my system reported charge level to be critically low (0%) and initiated emergency hibernate. Whereas in reality the battery was charged to ~85% since half an hour ago I was at home and my notebook was connected to external power.
The thing is, this low charge state was reported for, like, 200 ms, and then back to normal. Apparently OS still registers the event and does its thing.
This happened a couple times, ~15 minutes apart. First time I cancelled the emergency shutdown, second time I did nothing and the system eventually hibernated as it should.
My setup is:
AMD Ryzen AI 300 AI9
Ubuntu 24.04.4 LTS
6.19.3-061903-generic
BIOS 03.05
FRANMGCP 61 Wh battery 2023/11/3, serial 00A7, reported health 90%
Yup, my old 11th gen FW13 does it too occasionally. I thought it might be my button battery wearing out and needing replacement so it’s curious (to me) that relatively new model seems to have the same issue.
I guess this is a classic case of bad errror handling. I guess a better fix would be setting this value to 255 instead of 0. Then at least the software could discount it then because 255% charge is unlikely.
That’s really interesting. Not the button battery after all, perhaps. The odd thing for me is that it certainly didn’t do it for the first few years.
Thinking back it may have only started once I started using the fan control software; maybe that is what “breaks” the module that also monitors the battery. I’ll have to look into it.
I am pretty sure it has nothing to do with the button battery, as the whole reporting logic is tied to the main one. Not to mention that the mainboard can function without CMOS battery just fine.