Whenever I wake up my mac by opening the lid, approximately 20 seconds later it will put itself to sleep again, even though I'm actively working on it. I'm guessing it's "deep sleep" (hibernation) because the indicator light turns completely off, not just blinking.
Waiting until the sleep process is completed and then pushing the power button will wake the laptop again, and this time it will work fine. So the whole business takes less then a minute, but it's still a little annoying.
What causes this behavior, and how can I fix it? This happens every time I open the lid, but it's a relatively new thing, just happening for the past week or two.