header image
 

Hibernation woes part 2

I’ve written about my laptop problems before. I’ve got it to “somewhat work” by setting all power options to sleep, as it just seemed to work like hibernation. Hybrid sleep is a power option that’s supposed to behave like that, but I have it disabled.

Anyway, the machine still sometimes woke up overnight and drained its battery without suspending itself. It was not happening every time. Tonight it happened again and I was sufficiently annoyed to investigate the matter a bit more. First step: the event viewer:

Log Name:      System
Source:        Microsoft-Windows-Kernel-Power
Date:          2011-08-14 02:41:58
Event ID:      42
Task Category: (64)
Level:         Information
Keywords:      (4)
User:          N/A
Computer:      omeg-mobile2
Description:
The system is entering sleep.

Sleep Reason: Button or Lid

That’s the initial sleep when I was going to bed.

Log Name:      System
Source:        Microsoft-Windows-Power-Troubleshooter
Date:          2011-08-14 03:12:16
Event ID:      1
Task Category: None
Level:         Information
Keywords:      
User:          LOCAL SERVICE
Computer:      omeg-mobile2
Description:
The system has resumed from sleep.

Sleep Time: ‎2011‎-‎08‎-‎14T01:12:09.550008400Z
Wake Time: ‎2011‎-‎08‎-‎14T01:12:06.450004100Z

Wake Source: S4 Doze to Hibernate

And here we have the wake event. Notice that it happened exactly 30 minutes after entering sleep. “S4 Doze to Hibernate” seems to be an attempt to enter hibernation state. Too bad hibernation doesn’t work for some reason (it’s enabled, swap file is large enough, enough disk space etc). So hibernate failed and the machine just stayed awake. Still, it should enter sleep again after some time…

After checking my advanced power options, I found the culprit. Value 30 was set under “Sleep – Hibernate after – On battery”. I’ve set it to 0 “never”, same like the “Plugged in” option. I hope it will work.

There is still the issue of sleep behaving like hybrid sleep only when the Hybrid sleep setting is turned off. I’ve tried turning that option (Sleep – Allow hybrid sleep) on – it resulted in sleep behaving like, well, normal sleep (power LED not blinking, machine waking up on mouse/keyboard input). It’s like the options were reversed somehow. What’s even more curious, powercfg -a lists hybrid sleep (S3) as the only power state available:

The following sleep states are available on this system: Standby ( S3 ) Hibernate Hybrid Sleep
The following sleep states are not available on this system:
Standby (S1)
        The system firmware does not support this standby state.
Standby (S2)
        The system firmware does not support this standby state.

Go figure.

~ by omeg on August 14, 2011.

rant, troubleshooting, windows desktop

Leave a Reply