FP4 UI Crashes everytime I put it on charge

Do you happen to have an SD card formatted as internal storage?
As this may cause various problems – see e.g.

(When following the link to the guide, don’t be distracted by the bold lettering of “There are no more topics” – just click on “A little guide …”.)

PS And welcome to the community!