Chosen Solution

I have an iphone 7 that is restarting randomly. I noticed that the phone is rebooting when i plug it to charger, also when this happens tha phone is getting hot, that doesn’t always happen. It’s shutting down and restarts, then i need to enter passcode an then it happens again. I checked the logs and i find the following error.

An iPhone that randomly restarts when not using any apps usually indicates a parts problem. The two main parts that will cause this are battery and dock connector. Forget the error report and install a new battery. If it still shows the same symptoms try another dock connector.