Why does my iPhone 4S reboot every minute or so while charging?

When I plug my Iphone 4s to charge a batteries...it is start reboot every 1 minute or so and takes long time to charge.
Try a different charging cable or wall outlet. If that doesn't help, take the device to the nearest Apple Store to have them diagnose the problem for you.

Original thread: https://forums.imore.com/threads/why-does-my-iphone-4s-reboot-every-minute-or-so-while-charging.330150/