The magsafe light on my MBP randomly goes out and comes back on whenever it feels like it.
Apple replaced one for me but it still happens with the new one.
It does not seem to affect it's ability to keep a good charge, so I stopped worrying about years ago.