why does my iphone charge on and off?
So if you're having issues with your iPhone constantly disconnecting from the charger, check if there are any clumps of dirt/lint. If there are, grab a toothpick, needle or SIM-card pin and gently ease them out. You can also try using a can of compressed air to blow it out too.