This could be the battery. It could also be the charging chip on the motherboard or the charge port has a problem. The charge port could be as simple as a cleaning all the way up to full replacement.