How to automatically hibernate after sleep?


  1. Posts : 17
    Windows 7 Home Premium x64
       #1

    How to automatically hibernate after sleep?


    I use Steam Big Picture Mode to control my PC's frequently. It has an option to put the computer to sleep but not to hibernate. I don't ever use regular sleep mode because my computers always end up waking themselves up and it drains my laptops battery. I've heard that it is possible to set a Windows 7 computer to automatically hibernate after being asleep for a certain amount of time, but I can't figure out how to do this. I tried setting "hibernate after" in my advanced power settings, but this just hibernated the computer after x minutes of inactivity instead of x minutes of sleep, which I do not want. Is there a way to get the computer to automatically hibernate after sleeping for a certain amount of time, or even better some way to eliminate sleep mode altogether and just use hibernate instead?
      My Computer


  2. Posts : 1,364
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #2

    a bat file perhaps ? :

    @echo off
    echo HIBERNATE
    timeout /t 30 /nobreak
    shutdown -h -f

    (set the timeout to your desire)

    or

    create a task with the task scheduler utility?
      My Computer


  3. Posts : 17
    Windows 7 Home Premium x64
    Thread Starter
       #3

    How would I trigger the .bat file though?
      My Computer


  4. Posts : 6,330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
       #4

    R3B3LCAUSE said:
    or even better some way to eliminate sleep mode altogether and just use hibernate instead?
    I set the settings like this if i want hibernate only.
    This is for a desktop, you might need to look at more settings for a laptop.

    How to automatically hibernate after sleep?-hibernate_02.png
      My Computer


  5. Posts : 17
    Windows 7 Home Premium x64
    Thread Starter
       #5

    DavidE said:
    R3B3LCAUSE said:
    or even better some way to eliminate sleep mode altogether and just use hibernate instead?
    I set the settings like this if i want hibernate only.
    This is for a desktop, you might need to look at more settings for a laptop.

    How to automatically hibernate after sleep?-hibernate_02.png
    I don't want my computer to ever hibernate automatically though, only when I tell it to. Using this method hibernates the computer automatically after 45 minutes of inactivity
      My Computer


  6. Posts : 6,330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
       #6

    I misunderstood
    You can try to get a bat file working as suggested by R3B3LCAUSE

    I don't ever use regular sleep mode because my computers always end up waking themselves up and it drains my laptops battery.
    I would try to figure out what causes the unwanted wake-up.
      My Computer


  7. Posts : 17
    Windows 7 Home Premium x64
    Thread Starter
       #7

    I think its my antivirus scan most of the time, but it also happens if my mouse moves even the tiniest bit. But even if it would stay asleep I dont like sleep mode because hibernate saves battery better
      My Computer


  8. Posts : 6,330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
       #8

    If it's the mouse you can disable "Wake Up" in Device Manager / Mouse / Properties / Power Management.
    I've had problems with wireless mice and keyboards, so i disable wake-up for these.
    I don't use AVG AV, so i don't know what settings are available.

    How to automatically hibernate after sleep?-hibernate_03.png
      My Computer


  9. Posts : 1,364
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #9

    R3B3LCAUSE said:
    How would I trigger the .bat file though?
    R3B3LCAUSE said:
    ..., only when I tell it to.
    shortcut and/or key
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 03:46.
Find Us