Chosen Solution
I have a MacBook Air (13-inch, Early 2014). It was working perfectly until one day it just did not charge. There was no light on the magsafe adapter at all. I have another macbook air and I swapped chargers for them but it turns out that both the chargers were working fine with the other laptop and none worked with the original one. Therefore, I eliminated the possibility of the magsafe malfunctioning.I tried SMC and PRAM reset but nothing helped.I saw somewhere on the internet that if I unplug the battery after removing (unscrewing) the lower metal panel of the laptop, it started to work; so I did it and it worked partially.The problem is, when the battery is unplugged, magsafe adapter shows green and amber lights and begins to work. The laptop also powers on and works normally. If I plug in the battery while magsafe is working, it also begins to charge and all seems to be ok. However, as soon as I disconnect the magsafe charger with the battery plugged in and reconnect the charger again, it shows no light and doesn’t charge the battery leading it back to square one.It seems that everytime I need to charge the battery, I have to remove the lower panel, unplug the battery, connect the charger and replug the battery, which is definitely not a long-term solution.EDIT: The laptop was possibly stored in a high-moisture area. Does anyone know a solution?
I would still inspect the systems MagSafe connector to see if its worn or dirty first. You may just need to replace the MacBook Air 13" Early 2014 I/O Board which holds the MagSafe connector. If you’ve replaced the I/O Board or the connecter looks good then the issue is likely something within the charging logic on the main circuit board. You’ll need to remove it to inspect it and if needed clean any corrosion build up and hope thats all thats needed otherwise you’ll need to replace it MacBook Air 13" Early 2014 Logic Board Replacement