Needing to wiggle the plug is often a symptom of a dry/broken solder joint on the socket (attached to the motherboard of the laptop). Problem is you more or less have to dismantle the laptop to get to it....lots of screws and gentle persuading of plastic clips required!