Try replacing the charging cable and if that still doesn't work, then try changing the wall charging port.
open