Charge limit wont reset

I’d previously set a charge limit (of 60%) in the BIOS. Today, I reset the limit to 100%. However, when I plug in a charger, it reaches 60%, stops charging and continues to discharge (presumably until empty). I have to physically disconnect/reconnect the charger for it to resume charging, but it still only ever reaches 60% and starts discharging.

The laptop’s currently plugged in at 44%. The OS reports it as discharging and the LED is solid white. This occurs no matter which port/side I put the charger in.

❯ cat /sys/class/power_supply/BAT1/status
Discharging
❯ cat /sys/class/power_supply/BAT1/capacity
44
❯ sudo ectool fwchargelimit
100

I’ve not experienced this behaviour before - only after today when I reset the charge limit.

  • Linux v6.11.0
  • BIOS: 03.05
  • Framework 13 AMD 7640U

Watching ectool console:

It charges steadily to ~61%:

[721447.636700 Battery 58% (Display 57.9 %) / 2h:39 to full]
[721460.657300 Battery 58% (Display 58.0 %) / 2h:38 to full]
[721472.676200 Battery 58% (Display 58.1 %) / 2h:39 to full]
...
[721767.839800 Battery 61% (Display 60.9 %) / 2h:22 to full]

Then switches to discharge, orange LED changed to white:

[721767.839800 Battery 61% (Display 60.9 %) / 2h:22 to full]
[721778.853400 sustain_battery_soc: Switched control mode to DISCHARGE]
[721778.859200 Battery 61% (Display 61.0 %) / 2h:23 to full]

This repeats a few times, then floods of charge_request:

[722049.520700 charge_request(15696mV, 0mA)]
[722049.770900 charge_request(15664mV, 0mA)]
[722050.014000 charge_request(15760mV, 0mA)]

Interestingly, it continues to report 61%:

[722050.014000 charge_request(15760mV, 0mA)]
[722050.256700 Battery 61% (Display 60.2 %) / 5h:25 to empty]
[722050.504400 charge_request(15792mV, 0mA)]

… but doesn’t match the OS:

❯ cat /sys/class/power_supply/BAT1/capacity
58
❯ cat /sys/class/power_supply/BAT1/status
Discharging

This is an issue with the charge sensor inside the battery. The coulomb counter starts to assume that 60% is the maximum charge that the battery can hold which is why it stops charging at 60%.

To fix this, discharge your batter completely or to a low level like 10%. Then plug in the charger and let it charge fully. You may have to do this more than once.

1 Like

Thank you. I’ve read about this before. Will try it and report back.

I’ve just done this (to ~2% when the OS issued a shutdown), but the issue persists.