Pb with gpu and powersupply

Hi,
i receive my laptop framework last week.
I have a pb with the gpu, when i start a game with steam for example, and i am on battery . All work, but when i plug the powersupply, the game freezes and crashes.

Someone has already seen this issue ?
Thanks
Best regards
Guillaume

Which Linux distro are you using?
Debian
Which release version?
12 - bookworm

Which kernel are you using?
6.10-23

Which BIOS version are you using?
3.05

Which Framework Laptop 13 model are you using? (AMD Ryzen™ 7040 Series, Intel® Core™ Ultra Series 1, 13th Gen Intel® Core™ , 12th Gen Intel® Core™, 11th Gen Intel® Core™)
AMD Ryzen™ 7040 Series

I think it’s resolved by following