Framework 13 12th gen freezes, but only when not plugged in

Since a few months my laptop has started randomly freezing.
It’s the framework 13, with an intel 12th gen Core i7-1260P
It wasn’t a big problem because I’m almost always connected to my dock at my desk, and the issues only occur when my laptop is not plugged in.
It usually happens within a few minutes after booting. I have to hold hold the power button until it turns off. Turning it on again the problem comes back every time.
So far I’ve run the built in windows system repair options, dism and sfc, but they don’t help.
Memtest gives 0 errors
Is there anything obvious I’ve missed?

hwinfo paste