I was having the same problem. My laptop used to go to sleep with 22% battery remaining (though critical battery percentage was set to 5%). Then I calibrated it and since then there is some improvement but still some problem is there.
Now, it goes to sleep with around 10% battery still remaining...