I have an Autoit script that I compiled and always have running that monitors my laptop's lid and when it closes it checks to see if utorrent is running and if it is it only locks my laptop but if utorrent is not running then it puts the computer in sleep mode.
what I am now looking for is a way to set up this computer so that after its been put to sleep it waits 30 min then hibernates.
it is important that it only hibernates 30 min. after sleep has been initiated and never otherwise. Could this be done with task scheduler and a hibernate bat file using the entering of standby as the trigger? I messed around with it but I couldn't get it to work but if anyone knows how to accomplish this then please sharethanks
-
ScuderiaConchiglia NBR Vaio Team Curmudgeon
Would Hybrid Sleep do what you want? Hybrid Sleep creates a hibernate file then puts the machine to sleep for a specific period of time before the machine is powered off. Sounds like just what you want. My only question is will your script work with it.
Gary -
my understanding is hybrid sleep is that it would hibernate(thus save the image to disk) then sleep(so it can wake up instantly) but would stay in that mode forever until all the power has been drawn down if you are on battery or else always in sleep mode (unless of course if you have another hibernate timer set).
-
-
-
ScuderiaConchiglia NBR Vaio Team Curmudgeon
GaryAttached Files:
-
-
ScuderiaConchiglia NBR Vaio Team Curmudgeon
Gary -
yes, well i need the timer to start from when the computer enters sleep not from when idle starts. because i have set my computer up to only sleep if utorrent is not running. i dont want a always on time because hibernating on a time from idle would interfere with my downloads.
-
can't you just make your script to signal that the computer is not in 'idle state' ?
-
i ended up just setting the hibernate timer to 30min in windows power management to 30 min and setting "prevent computer sleep" in utorrent
since when the lid closes my script only locks (not sleeps) the computer with utorrent is running and utorrent prevents hibernate there's no interruptions there
and
when the lid closes and utorrent is NOT running the computer immediately sleeps then 30 min later windows wakes the computer and hibernates it
hibernate after sleeping for 30min
Discussion in 'Windows OS and Software' started by Pyro87, Jul 31, 2011.