View Single Post
Old 4th February 2016, 17:22   #802  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,469
To do my tests, I use the "Power saver" plan, modified with the "Turn off the display" and "Put the computer to sleep" options both set to 1 minute. The power plan itself works fine. The display turns black after exactly 1 minute, and the computer goes to sleep between 10 and 50 seconds later. (I don't know why there is an additional variable delay, but that's acceptable.)

I have also noticed that Foobar2000 blocks the computer from going to sleep during the playback of a song. That works fine, and it's reported by powercfg -requests, so it's not something wrong with the way my computer sleeps. Of course, for my tests, I have to stop Foobar2000.

Before and after launching the __ENCODE_3D.cmd batch with BlockSleep, powercfg -requests displays this:
Code:
DISPLAY:
None.

SYSTEM:
None.

AWAYMODE:
None.
Also, the result is identical with or without the c:\windows\system32\cmd.exe /c trick.

I have also used BlockSleep with a simple DOS command:
Code:
D:\BD3D2MK3D\toolset\BlockSleep.exe c:\windows\system32\cmd.exe /c pause
And in that precise case, powercfg -requests reports correctly this:
Code:
DISPLAY:
None.

SYSTEM:
[PROCESS] \Device\HarddiskVolume6\BD3D2MK3D\toolset\BlockSleep.exe

AWAYMODE:
None.
Obviously, BlockSleep doesn't block the computer from going to sleep, but apparently only when __ENCODE_3D.cmd is launched. Now, the question is: why?
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV

Last edited by r0lZ; 4th February 2016 at 17:58.
r0lZ is offline