Disconnect the magsafe adapter from the mac and from the power outlet.
Mac magsafe power adapter not charging.
Whatever the cause may be in most cases it s actually the adapter and not the magsafe connector.
Your power adapter won t charge the computer.
It could be frayed broken or burned.
The led on the adapter connector doesn t light up when attached to the computer.
The adapter s white insulation separates from the magnetic end of the magsafe connector.
Let it sit unplugged from anything for about 5 minutes.
But it should power and charge your mac like the adapter that originally came with your computer.
The macbook air comes with a 45w magsafe power adapter and the 13 inch macbook from 2006 2009 and t the macbook air comes with a 45w magsafe power adapter and the 13 inch macbook from 2006 2009 and the 13 inch macbook pro use the 60w power adapter.
A simple way to see if it s the problem is by doing a thorough inspection of the entire cable.
If connecting a magsafe adapter to a macbook doesn t light up the power led chances are the socket you are connecting to is not working okay.
If the 2012 macbook pro is the model without the retina display with the cd dvd drive then the 60w would work on both.
Maybe the adapter is not getting its power could be a loose socket or an improper connection.
If your macbook pro battery isn t charging the most likely place to check for trouble is in the magsafe charging cable.
Inspect every inch of the cable.
Then reconnect the charging plug to the wall outlet then reconnect magsafe to the macbook pro.