If it's not the battery nor the charging cable, must be the charging port! Mine had a smell piece of metal (connector) visibly broken.
open