I'm more inclined to blame the charger than the computer. I've had two magsafe chargers fail on me in the last couple of years. Wiggle the connection where the electrical prongs are. One of mine failed there; wouldn't make solid connection. And also check on the magsafe end at those five (i think it's five) little spring loaded points. That's where my other one failed. They lost their spring and stopped making solid connction with the computer. If you cross both of those off your list, then start troubleshooting the computer.