Using sleep mode to trigger hybernate mode

0

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.

Rohit Saxena

Posted 2013-03-18T06:54:14.800

Reputation: 1

3

Sleep automatically transitions to hibernate when battery runs low. How do you expect Task Scheduler to work while the PC is sleeping?

– Karan – 2013-03-18T07:05:21.560

By default, desktop computers automatically transition from sleep to hibernate -- see the info at Karan's link. – martineau – 2013-03-18T07:31:38.303

@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. – user1686 – 2013-03-18T10:13:07.877

@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 – 2013-03-18T18:28:30.050

@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. – user1686 – 2013-03-18T18:41:58.060

@grawity: Ok, so any way to get it to work in Vista+, same as on XP? I'm sure the OP would appreciate an informed answer from you (as would I). :) – Karan – 2013-03-18T18:43:32.647

@Karan: I'm not sure. Disabling hybrid sleep in power settings might do it... (I actually don't see what problems OP has with using hybrid sleep, to be honest.) – user1686 – 2013-03-18T18:44:29.733

No answers