My MacBook Air power adapter only works after I blow onto the adapter end and also the spot on the side of the laptop where it attaches. Then it will light up. Sometimes the light goes out while it's still attached and then it's not charging any more.
MacBook Air (11-inch, Early 2014), OS X El Capitan (10.11.3)