That usually happens when the battery gets too hot. If the battery isn't hot then you may have a problem with the charger. Try a different charger, if possible. If it's not the charger then it's possible there is a hardware problem with the device and I would recommend getting a warranty exchange.
--------------------------------------------------------------------------------
1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!