It also gets very hot.
Check your battery if it has weird lumps. Try using a different charging adapter, charging cable, wall socket, and USB port. Problem may be on one of those. If you already checked them, I suggest have your phone checked, specially the battery. I think the battery is damaged by then.