sounds like you need to clean the cable… or the lightning port on the iPad.