Spontaneous shutdown/hard crash with Fedora 37

I have a Tuxedo InfinityBook computer and, since I upgraded to Fedora 37, the laptop regularly crashes to a sudden and immediate “shutdown” at some seemingly random battery level below 30% (which, until recently, should have meant that I had at least 1h left for standard use).
By random I mean I can sometime go down to 10% without any issue.

What steps should I take to check what might be causing the problem?
I don’t think there is a problem with the battery, or at least upower does not say anything’s wrong.
journalctl does not show anything that seems related.

I don’t know whether it’s related (and I cannot remember when this started occurring), but this shutdown will occur every time when I try to start the machine with battery lower than 30%: I’ll get somewhere past the kernel boot, then power goes off before it reaches the login screen.