Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
If your MB shuts down without deep sleeping first, check the battery health and maybe try a recalibration.

My Battery health is over 100%, Has been since I have had it and I calibrated it last night ( It shutdown when it hit 0% but I got 2 warnings ). It's not a problem because with 2 warnings I'll certainly save all my work but if it's not meant to it would be good to know the problem.

I'm guessing it's just software as it's the OS that decides whether to go into sleep or shutdown. Not the battery.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.