Have you tried another charger? Does the charger feel loose when it's in the charging port? They used to be pulled away from the mainboard quite frequently by people simply grabbing the charging cord and pulling it without care out of the port. That said, you should always remove the charger with care.