Magsafe light occasionally turns off while plugged in
Here is Apple's troubleshooting documentation: Apple Portables: Troubleshooting MagSafe adapters

I have a late-2011 MacBook Air, and I have never experienced this issue.