Charge control settings not working anymore after resume

Which Linux distro are you using?

Gentoo

Which kernel are you using?

6.16.12

Which BIOS version are you using?

BIOS Information
Vendor: INSYDE Corp.
Version: 03.03
Release Date: 03/10/2025

Which Framework Laptop 13 model are you using?

AMD Ryzen™ AI 300 Series

I enabled probe_with_fwk_charge_control for the cros_charge_control kernel module and now I can set charging limits via /sys/class/power_supply/BAT1/charge_control_end_threshold and /sys/class/power_supply/BAT1/charge_control_start_threshold

This works as expected and I can set those values in the KDE Plasma KCM as well, which is really nice.

The Problem

After resume from s2ram and when connected to power the charging limits are being ignored and charging continues to 100%. I checked the values in /sys/ and they are still set.

Before setting the module setting I was adjusting charging limits via BIOS and observed the same behavior.

As a workaround I can just write to e.g. /sys/class/power_supply/BAT1/charge_control_end_threshold (like reducing by one and increasing by one again) and after that the charging behavior returns to normal and as expected.

May this be a BIOS bug?

I was mislead by the release date and the fact that fwupdmgr did not offer any BIOS upgrades for me.

And I had those charge control settings already in my BIOS so I was assuming there must be an issue with the BIOS version reported.

TL;DR: After using EFI method for BIOS updates I really could update from 3.03 to 3.04 and the issue disappeared.