It may be that the temperature of the phone is too high or too low, and the battery activity will be affected, resulting in a failure to charge. It may also be caused by poor contact of the charger or data cable. It may also be playing while charging to cause no charge. 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.