Are you using a apple certified charger? Charge with a diffrant charge cord and block see if that helps. You could need a new charge port or the charging IC has been damaged from using non certified charger. Take to your local repair shop for dignistic.