[RESPONDED] Battery issue under 25%

Hi!

I have recently bought a Framework 13 AMD DIY edition.

The laptop works perfectly fine for the most part, however one consistent issue that I’m having is the fact that whenever the battery reaches 25% it starts draining quickly. If at that point I leave the laptop for 5-10 minutes, when I come back it is already depleted completely, usually losing all work I had not saved up until that point. One time I caught it going from 16% to 0% in an instant.

I use Fedora Linux 39.20240212.0 (Silverblue) and I’m not sure whether the battery is at fault or the battery reporting in my OS.

Otherwise I have no problems with battery life, however this can be problematic and result in me losing work.

Is there anything I can do besides replacing or monitoring closely my battery indicator?

The battery discharge rate is practically explained by the power-curve of LI batteries.
Check out: https://evreporter.com/understanding-charge-discharge-curves-of-li-ion-cells/

Please provide the output of: “acpi -ib” - it will tell what battery is in and what the current capacity is. It will help to determine its age.

However, that fast is weird. Could you check if there are any apps running using lots of CPU when at 25% ? Just execute “top” in a console and watch what is using most CPU cycles.

I’d want to think it might be a miss-calibration of the estimated battery level. But sounds like it would have to be really far off. Not sure if it can get that far off, and remain so after hitting zero. Do you have a charge limit set in the BIOS?

❯ acpi -ib
Battery 0: Discharging, 89%, 04:35:28 remaining
Battery 0: design capacity 3572 mAh, last full capacity 2804 mAh = 78%

I will make sure to test that when I get to 25% again.

If it was not set automatically, I don’t think I set it. Last time I messed in the bios was regarding the graphics issue, setting something on the GPU settings.

I probably have not, but I will try that later today. I thought that it is no longer necessary on modern hardware.

yeah, either the battery is bad, or the capacity identification is not good.
Try resetting the battery capacity measurement (have to check the internet, don’t have mine yet to play with).

No such setting. I know it because I can actually see the percentage drop rapidly from 25% to around 16%, and instantly drop to 0%. So the laptop actually shuts down at 0%, it just reaches it much faster than anticipated from the reported percentage.

1 Like

If I were you I’d contact support. The charge level instantaneously dropping to zero for no reason (sometimes even from a value as high as 50%) is something I’ve observed on several phone and laptop when then battery goes bad after a few years of use. Usually replacing the battery fixes the issue. Your laptop is brand new, but maybe you got unlucky and received a defective battery.

1 Like

Usually this comes from one or two cells internal resistance to be bad. As soon as a certain current flows, the internal resistance will cause the cell to “burn” more energy into heat and lower the voltage. In RC Airplanes, I have that in one out of 4 battery packs. But we have the possibility to measure the internal resistance of each cell and I tend to send the bad packs for replacement.

I bet the laptop computers have that too (measuring the cell voltage) but that is only used for balancing the cells during charge and not analyzing the cell quality as only the report for the pack is returned.

In your case however, if it shuts down pretty fast at 25%, 2 possibilities:

  1. Battery pack is bad
  2. Electronics have a power-drop somewhere in the sensors lowering the measured voltage.

If it is ~2 years old, the wear would be at about 10% to 12% from experience (around 0.6% per month).
According to your acpi cli output, you are at 22% here. In your case, we should add the 25% where it literally shuts down to the 22% measured wear giving 47% lost capacity.

For comparison, my 4.5 years old battery in my work computers is at 67%. But I can use it until the bitter end (1%) …

@VaranTavers Depending on the age of your battery, I would ask FW if they’d replace it.

1 Like

Thank you for your insight. I really hoped this is just a software problem, because getting a replacement will be finicky at best, since I’m currently not in a country Framework ships to, however I might not want to wait until I get the chance.

Theoretically I could do that, however when it is around 20% it is only a matter of a minute before it shuts down, so I will have to set that value or even higher. :frowning:

1 Like

Welcome to the community!

I’d open a ticket. Likely a bad battery. The ACPI data is a good place to start, but we’ll want to see the output of this specifically:

upower -i /org/freedesktop/UPower/devices/battery_BAT1
1 Like

I’ve never had a Framework, yet. However, I did have a Eurocom laptop that I basically left plugged into power for four years and used it as a desktop system. Its battery completely cut power at around 59 percent without any warning at all, a replacement battery on that system solved the problem for me. Sounds like a similar problem, but it’s always wise to investigate.

Probably that will be for the best. The result of the command is the following (this is at 44% after being in a sleep state for quite some time:

❯ upower -i /org/freedesktop/UPower/devices/battery_BAT1
  native-path:          BAT1
  serial:               wo
  power supply:         yes
  updated:              2024. febr. 14., szerda, 07:41:20 EET (21 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    energy:              19,0652 Wh
    energy-empty:        0 Wh
    energy-full:         43,1816 Wh
    energy-full-design:  55,0088 Wh
    energy-rate:         5,3284 W
    voltage:             14,723 V
    charge-cycles:       69
    time to empty:       3,6 hours
    percentage:          44%
    capacity:            78,4994%
    icon-name:          'battery-good-symbolic'
  History (charge):
    1707889270	44,000	discharging
  History (rate):
    1707889280	5,328	discharging
    1707889270	0,000	discharging

It wouldn’t help with getting a warranty replacement, but if you need to just buy a new battery yourself, there is https://frame-parts.myshopify.com/. They say they ship worldwide.

1 Like

And this is the result when charged to probably maximum (the percentage did not go higher than 98%):

❯ upower -i /org/freedesktop/UPower/devices/battery_BAT1
  native-path:          BAT1
  serial:               wo
  power supply:         yes
  updated:              2024. febr. 14., szerda, 11:42:10 EET (3 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    warning-level:       none
    energy:              55,0242 Wh
    energy-empty:        0 Wh
    energy-full:         55,594 Wh
    energy-full-design:  55,0088 Wh
    energy-rate:         10,9956 W
    voltage:             17,563 V
    charge-cycles:       69
    time to full:        3,1 minutes
    percentage:          98%
    capacity:            100%
    icon-name:          'battery-full-charging-symbolic'
  History (rate):
    1707903730	10,996	charging
    1707903700	11,227	charging
    1707903670	11,458	charging
    1707903640	11,719	charging

How long did you let it sit plugged in, if the battery controller is really confused it may take quite a while to reach actual 100% as it’s slowly feeling its way up.

Nice XD

Since getting a replacement seems somewhat difficult, trying a full reclaibration may be worth a shot. Discharge the battery as much as possible (and as slowly as possible towards the end) until it won’t even power on to bios, then charge and let it is still till it reaches 100% and then some. This should get the controller into a state where it know’s what’s what if it’s just really confused.

Maybe not enough, around 25 minutes. Strangely after disconnecting it showed 99%. I’m just unlucky with laptop batteries.

I believe the detection is all messed up. I’ve been using my laptop for a little after disconnecting the charger, and now it has more energy than it had after charging.

❯ upower -i /org/freedesktop/UPower/devices/battery_BAT1
  native-path:          BAT1
  serial:               wo
  power supply:         yes
  updated:              2024. febr. 14., szerda, 14:28:31 EET (8 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    energy:              55,4246 Wh
    energy-empty:        0 Wh
    energy-full:         55,9944 Wh
    energy-full-design:  55,0088 Wh
    energy-rate:         8,701 W
    voltage:             16,369 V
    charge-cycles:       69
    time to empty:       6,4 hours
    percentage:          98%
    capacity:            100%
    icon-name:          'battery-full-symbolic'
  History (rate):
    1707913711	8,701	discharging
    1707913681	5,790	discharging
    1707913651	5,837	discharging
    1707913620	7,577	discharging