I just want to let you guys know that I received a replacement from Apple a couple of weeks ago. A MBA 2014 i7.
I had a 2011 Macbook Air i7 11". Under only one month the motherboard was replaced, the SSD was replaced, the I/O board was replaced, the heatsink and fan was replaced, even the trackpad... nothing solved the issue.
It was hard to replicate the problem, more than a month repairing, bringing in and out of the workshop, only a couple of times the techs were able to do it. At home I replicated the problem every time nevertheless. It was rather annoying, about 7 times in a month I had to go this small Apple workshop.
The issue wasn't hardware related, it has to do with the OS and some of its EFI updates. The charger has nothing to do with it, I even had a brand new one.
I had Apple Care and was about to expire, made some phone calls to Apple, someone took care of my case, I had to kindly explain that it was not the hardware, rather OS related. A couple of days had gone by, heard nothing from Apple, made a phone call again explainig the frustrating experience and that no matter what they replaced, the issue was there.
That solution about disconnecting the power adapter, waking up the computer and plugging it in a couple of minutes later or shutting off Safesleep isn't really acceptable if you paid that much money. That kind of "BETA" testers' work can go to Apple and it's their thing if they want to find out about bugs and how to bypass them, etc etc. It isn't "us" as users that pay a rather high price for a laptop who should resolve this.