These days my magsafe is not working correctly, i tried almost everything i think! when i plug the magsafe, first the LED turns green, then orange to recharge the Mac, but after 10 sec the LED turns off. The only way i found to recharge it is to completely turn off the Mac and plug the magsafe to charge it. Its impossible to charge while the Mac is opened. I did a reset to the SMC but it seem that its not working, I have a MacBook Pro 13" mid 2012 with all the latest updates. Hope there is a solution to not buy a new battery or a magsafe!