False critical battery warning with fedora

Which Linux distro are you using?
Fedora KDE

Which release version?
42

Which kernel are you using?
6.16.10-200.fc42.x86_64

Which BIOS version are you using?30.03.03

Which Framework Laptop 13 model are you using?
amd ryzen ai 300

Further info:

Suddenly a popup will show critical battery warning 0% → it will jump to like 97% or whatever the real percentage is then. Annoyingly it will also go to sleep mode a few seconds later and I have to wake it up and login again.

This seems to mostly occur shortly after disconnecting my charger?

1 Like

The problem is the battery. Check that the connector it fitting well and no pins are bent.
If that does not help, maybe there is a bug in the battery bms.
The reason it goes to sleep is because battery below 4% causes the EC to shut the laptop down before it damages the battery. Now in your case the 0% is a false reading, but the EC firmware is not detecting it as false.

Hey, I saw this exactly once a few weeks ago, using Gentoo. I think I was still on 6.16 kernel.

No idea what happened.

If you use KDE you can check the battery’s voltage in Energy — Info Center, in addition to terminal commandupower

If the voltage is around 17V the battery is about 97%. if the battery is only 13~14V the battery is at about 4%

@Eward_Somers

I have the same issue today. Did you ever found a solution?

sorry for the late reply, I updated everything and it went away :confused: so no real help here

1 Like

By “everything,” what do you mean?

I get a similar error, for me I get the error that the battery is critically low but the percentage never changes. Mine does not go to sleep but it does dim the screen. I do not see a correlation to disconnecting charger.

Fedora 43 Kernel 6.19.8-200.fc43.x86_64
Framework 13 AMD Ryzen AI 5 340 w/ Radeon 840M