FP5 reboots when charging over night

I already noticed it a few times half a year ago, but recently it happens almost every other night. I plug my phone in the charger at night, the next morning I find it charged, but asking me for the PIN after an unexpected reboot.

I need my phone to be working at night as I’m often on call, and I also don’t trust it to work as an alarm clock anymore. Does anyone have similar issues or any idea how to debug this?

My is on charge as well all night because the hotspot is the WLAN in my place.it never turns off. Did you check if it’s getting hot when charging for Hours? Do You have any apps or settings doing something at a specific time? Backups or something that could cause it? Did you try a reset