Why Does My Phone Stop Charging Randomly. Let your device charge for a half hour. Even after taking it off the charger for a while to make sure its not too hot and placing it back on it would not charge.

The light at the top disappears and the phone shows that it is not charging. For the last couple of days when my phone is charging it will randomly start playing my ringtone when no one is calling. If its on thats the cause of the problem and you need to turn it off to fix your phone turning off by itself.
If your device is still unresponsive force restart your device.
The light at the top disappears and the phone shows that it is not charging. When your iPhone restarts while charging. To do this kindly open the Settings app and scroll down to System and tap Schedule power on off to check if the setting is on. Broken hardware could easily cause a short circuit or other security problems explaining why your iPhone is.
