I would suggest inspecting the charging port for bent pins. There may be some that are out of place and making contact with one another or something similar.
open