If you happen to experience such an issue, then probable reason behind it might be the dust particles that have clogged inside the charging port. Rarely, the issue can arise also due to a defective port.