The connection between the charging port and the battery/power controller may be bad. Have you tried with other cables/power bricks?
+
The connection between the charging port and the battery/power controller may be bad. You ''may'' have to replace the charging port. Have you tried with other cables/power bricks?