Did you get this resolved?
All batteries fail over time, even Apple ones (so they should never be glued in!
Dell laptop batteries seem to last 12-18 months and MacBook's last around 24-36 months before getting significant power loss.
What version of OS X are you on? As the Mac actively detects the time left, there is a little hardware / software interaction which may cause instant shutdown.