Showing posts with label hibernate. Show all posts
Showing posts with label hibernate. Show all posts

SOLVED: Computer Goes Back To Sleep After Wake Up

This post will show you how to prevent your computer from falling asleep too soon.

PROBLEM: COMPUTER FALLING ASLEEP TOO SOON AFTER WAKE UP


PROBLEM: COMPUTER GOES BACK TO SLEEP SOON AFTER WAKE UP


PROBLEM: COMPUTER FALLING ASLEEP TOO SOON AFTER WAKE UP

I've been telling you how I resolved the problem of Windows Vista not waking up from sleep or hibernate. Now that this problem is solved, I encountered another one: Laptop computer goes back to sleep soon after wake up or resume.

This only happens when I don't touch the keyboard after the computer is back up. It is annoying because resume from hibernate takes quite a while, maybe 2 minutes. I leave to get something else done while waiting. I come back and find computer has fallen back to sleep/hibernate again. I lost 5-10 minutes that way.

Others schedule their computer to awake at a certain time for a scheduled task. Their annoyance is that the computer goes back to sleep before the task is completed. I will show here how both problems are resolved. The same solution applies to both.

SOLUTION

It turns out (credit for reporting this goes to http://vista64.com) that Vista will fall back asleep or hibernate after a specified amount of time if not physically interacted with. Such as by typing or moving the mouse. This amount of time is set to 120 seconds or two minutes. The value is stored in registry.

If you are uncomfortable changing registry, please ask someone else or just keep in mind you need to be there within 2 minutes of Vista computer waking up and need to touch the keyboard.

HOW TO CHANGE THE TIME BEFORE COMPUTER FALLS ASLEEP

Here's how to change the appropriate key in the Registry: Click Start, then in the box on the bottom type regedit. If prompted by UAC, click Continue.

Registry editor comes up. Follow the tree: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0\DefaultPowerSchemeValues

In the left pane, click on the triangle to expand DefaultPowerSchemeValues into three subvalues. They correspond to Balanced, High Performance, and Power Saver options. To be safe, just change all three values, under both AC and DC values. So total of six. I changed from the default 120 seconds to 300 seconds. So long as I'm back in 5 minutes the computer won't fall back to sleep or hibernate.

If a scheduled program is waking computer up from sleep, make sure you set the value to longer than the maximum anticipated duration of the run of the scheduled program.

THIS SOLVED MY PROBLEM. WHAT ABOUT YOU?

Have you found this solution workable, and useful? Are you now able to get back to your computer before it falls back into hibernate? Or, are the programs that are waking up your computer getting enough wake-up time to complete their jobs? Let me know either way, ok? Just click on the "Leave a Comment" link below!

SOLVED: Vista laptop won't resume from sleep/suspend/hibernate, shows blank screen

Really Simple Solution Below!


[Update 9/6/2009: I have today confirmed that the cause of hibernation bug is Disk Cleanup, most likely the option [x] Hibernation File Cleaner checked at the time of Disk Cleanup. Did that and found myself with the original symptom. Repeated the solution, was in good shape. The problem/solution reconfirmed.]


SYMPTOM OF ANNOYANCE

Laptop won't come out of hibernate/suspend/sleep after pressing the wake-up button. Shows a few blinking lights and a blank screen. It would wake up if I wait less than 1 minute after putting it to sleep. It will not wake up if I wait longer. This annoyance happened just about anytime I put my laptop to sleep. Laptop is Acer Aspire 5570z. However, I found that the problem appears on other brands as well. 

POSSIBLE BUT UNSUCCESSFUL SOLUTIONS

So it looked more like the Microsoft Vista support issue. I didn't think of contacting microsoft vista support as my laptop was 1 year out of warranty. Googled all over the web for:

acer 5570 sleep blank screen
acer aspire sleep resume
laptop vista sleep resume blank screen
acer screen blank resume sleep
acer aspire wake blank screen 1 minute

laptop sleep 
vista s3
suspend mode
  

I found suggestions that that could be because of the display driver being outdated. People suggested reinstalling display driver. I tried that. Turns out the display driver at Acer website is actually older than the one I got through Vista Update. Go figure. Replacing the display driver didn't help with the blank screen problem.

Some people suggested putting the laptop to sleep by closing the lid. Tried that. Laptop would still not wake up.

Some people saw the annoyance with the AMD processor. Well mine is Intel. Never mind.

Some suggested setting minimum CPU processor speed back to 100% and disabling screensaver. I did that, didn't work.

Some suggested removing ACPI Lid from the System Devices under Device Management. That "solution" is now preventing my laptop to go to sleep when I close the lid, nothing more.

Note: I resolved The ACPI Lid annoyance later here. Easy but interesting.

Some people had problems with not being able to turn the computer on at all (now that really hurt). Solution to that was to take out the battery and press the ON button for like 60 seconds. Weird!

My annoyance was weird too. Especially because the problem appeared intermittently, not every single time. But it happened frequently and the only thing I could do was to push the power button and reboot. With Vista, that takes forever! Vs. just a few seconds when you put it to sleep or hibernate. Plus, I lost some of my valuable data in running programs and lost the system status. Oh, yes the problem also happened with hibernate. Same thing, intermittent.



SOLUTION, FINALLY 

So what is the solution? I finally found it with a guy named Larry at howtogeek.com: http://www.howtogeek.com/howto/windows-vista/disable-hybrid-sleep-mode/
 

My memory of recent activities on vista supports the possibility that by a recent disk clean up I erased or disabled the hibernate file. Great job Microsoft! The solution is to restore the hibernate file, see quote below. The procedure takes about a minute. Restoring the hibernate file worked for me! It is incredible this solution still needs to be invoked in 2009, two years after the problem was found!

Quoting the solution:

 
From Larry @ howtogeek:

Frankly, Vista is just a poor, beta-level OS.


The hybrid sleep feature and the hibernation feature in Windows Vista may become unavailable after you use the Disk Cleanup Tool (or fix hibernation not working)
[updated 12th March 2007 21:03]
This particular problem went round the internal discussions groups – having told people how to turn on hibernation and suggested a KB article on it, Armelle O’Neal told me that is has already been written up in KB Article (928897).
SYMPTOMS
After you use the Disk Cleanup Tool in Windows Vista, you may experience the following symptoms:
You cannot see the Hibernate option in Power Options.
When you use the sleep feature, the computer does not recover its settings if power is lost.
CAUSE
This problem occurs when the Disk Cleanup Tool disables the hibernation file. The hibernation file must be enabled to access the hybrid sleep feature and the hibernation feature in Windows Vista.
When the hibernation file is disabled, and the hybrid sleep feature is enabled, a backup of open programs and open files will not be saved to the disk when you use the sleep feature in Windows Vista. Additionally, if the computer loses power while the Windows is in sleep mode, open programs and open files will not be recovered, and any unsaved work will be lost.
RESOLUTION
To resolve this problem in Windows Vista, run the powercfg -h on command at an Administrative command prompt to enable the hibernate feature and the hybrid sleep feature. To run this command, follow these steps:
1. Click Start, click All Programs, and then click Accessories.
2. Right-click Command Prompt, click Run as administrator, type powercfg -h on, and then press ENTER.

DID THE SOLUTION HELP YOU?

Did this solution help you? I want to hear from you! Go ahead and post a comment below and let me know if the solution worked for you!


RELATED POSTS 

Maybe the solution did not help you? It's possible, of course. If you feel that hibernate is not your problem, but suspend and sleep is, here is anoter possible solution: Vista Sleep problem solution #2.

Are you tired of your troubles with Vista? Windows 7, Microsoft's new operating system will make your life simpler.

Do you feel the stress you are putting your laptop through is causing problems with your laptop? 4 ways to protect your valuable computer in style.