It could be a broken/damaged charging port. I would recommend replacing the charging port as a start.
open