1, may be the phone temperature is too high or too low, the battery activity will be affected will lead to charging, it is recommended to charge at room temperature.
< br >
2, it may also be caused by poor contact of the charger or data cable, it is recommended to use the original parts to charge or replace the parts.
< br >
3, it may also be charging while playing to cause no charging, when close to full charging current is very small, running other operations will lead to no charging, it is recommended to standby or shutdown charging. If it is still not charged, consider whether the phone itself is faulty, you can carry the phone and warranty card to the maintenance center.
It could be a broken phone. Go to a repair shop!