Kernel panic on removing power cord

I have installed qubes 4.2.3 on Thinkpad T16 gen2 AMD laptop. It work fine except that whenever I remove power cord, it goes into kernel panic and reboots.
How can I troubleshoot this?

There seems to be some hardware problem with Thinkpad T16 gen2 AMD laptop specifically:

You can try to get the crash log using USB debug cable:

Can you suggest with one device debugging?

You mean debugging without second computer? I don’t think it’s possible.