Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I wanted to set up my computer so that if i put it in sleep for more then 20 min, it will go into hibernate mode automatically. My hope was to use some sort of event trigger on window's Event Scheduler program. However, i am am really familiar with it and was hoping someone would know how to go about this.

share|improve this question
3  
Sleep automatically transitions to hibernate when battery runs low. How do you expect Task Scheduler to work while the PC is sleeping? –  Karan Mar 18 '13 at 7:05
    
By default, desktop computers automatically transition from sleep to hibernate -- see the info at Karan's link. –  martineau Mar 18 '13 at 7:31
    
@Karan: The real-time clock in PCs can be scheduled to wake up from sleep at any given time. It's how earlier Windows versions (XP) used to go from sleep mode to hibernation. –  grawity Mar 18 '13 at 10:13
    
@grawity: Yep, and isn't that a hardware option you'd typically set via the BIOS, and not via Task Scheduler? Also, are you implying that the same option can do what the OP requires, i.e. directly transition from sleep to hibernate on demand after X mins. have passed? I've personally never seen any BIOS offer such a feature, but perhaps you have? –  Karan Mar 18 '13 at 18:28
    
@Karan: No, the RTC can also be programmed by the OS (e.g. using rtcwake on Linux). It is not BIOS-dependent, it works in any x86 system. And like I said, older operating systems such as WinXP used to work exactly as described – if you configured the OS to auto-suspend after 10 min and hibernate after 25 min, then just before suspending it would ask the RTC to wake the system 15 minutes later. When woken at that exact time, the OS would hibernate. –  grawity Mar 18 '13 at 18:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.