Hi, Hi Mike, try reseting the SMC and VRAM, same thing happened to me, as soon as i disconnected the magsafe, it shut down.
To reset :
- turn off your mac
- locate P R Command and Control (alt)
- turn on the mac and hold P+R+Cmd+alt until your hear the second starting chime
- release and check the battery
Hope it will work