This is, unfortunately, a fairly common problem judging by the posts here. The solution for me is to never use sleep mode. Instead, set all your power options (close lid, press power, etc.) on both battery and plugged in to hibernate. This does not seem to happen with hibernate, only with sleep...