I see questions like these being asked here and there relating to this but not exactly like mine.
Basically the past week my S4 was charging fine and then i noticed while plugged in, it would charge very very slowly and even loose some power. My boyfriends charger as well you have to wiggle it...