Have you tested the Magsafe on another Mac? This could be a logic board issue. The main reason magsafes fail is the lead and you can usually see it.
open