The adapter is failing, or the MagSafe DC-in board is deteriorating. To address this concern, consider replacing the adapter or securing your DC-in board with a MagSafe DC jack.