MacBook Pro suddenly turns off when on battery, power adapter may not charg
Last night, I was working on the machine (playing a game with 3D acceleration, on my Boot Camp side, but this happened again in OSX) when it suddenly turned off. It wouldn't restart for about a minute, and when it did the power adapter was not charging, and there was no light there (it was plugged in the whole time). This happened again today, and I managed to get the power adapter to charge some. I'm not clear on if these issues are connected with one another.
I suppose it's possible the cord has some kind of stress fracture under the wire - this happened on previous, non-Apple computers I've had. If so, replacing the adapter should help. That wouldn't explain the sudden shutdowns, though.
Macbook Pro purchased new late 2010, Mac OS X (10.6.6)