I wonder if there could be a build up of dust, fibres, cat fur, general crud, etc, in the charging socket of your iPad? Hence the plug is not making full contact in the socket?
A magnifying glass and a good light source may help. As for clearing out the socket, would a wooden cocktail stick be sufficient?