I have the same issue. My computer sleeps and wakes fine repeatedly without any issues.
Then I only start VAP 1.40 and it will not sleep. Tried -allowDisplayOff from command line but that didn’t work.
Can you please repost the link to v136T3 so I can try that version?
I admit to not fully understanding all the details about programming sleep in Windows but here is my best understanding of the situation:
VAP does not intend to actually let your processor sleep, because it is always checking for new (or deleted) video files in the monitored folder any time it is running. What VAP attempts to control is whether the
display can turn off after the inactivity time specified for
Screen (not Sleep) in Windows 10 power management settings (Settings … System … Power & Sleep). The default in VAP Ver. 1.40 is to allow the display to go off, unless prevented by the CL option
-keepDisplayOn. (There is no CL option
-allowDisplayOff in 1.40, since that is the default.)
A copy of VAP 136T3 no longer exists. It could be reconstructed from my Git repo but I would rather not go to that trouble since I am confident that 1.40 in default mode duplicates the functionality of 136T3 with the
-allowDisplayOff CL option, with respect to this issue.
If you want your PC to actually sleep, I think you will have to exit VAP.