It checks only for user activity (mouse, keyboard, remote) and programs telling it not to suspend by calling SetThreadExecutionState(SYSTEM_REQUIRED).@doveman
First post:
You always have to run the PS(++) client plugin, since Windows does not check for system / CPU activity to decide whether the system is idle or not.
Really? How does Windows decide then?
You said, that you went into away mode also if PS++ was disabled. So there must be another program / driver forcing away mode, since this is no permanent setting, but there must be a running thread making the SetThreadExecutionState(AWAYMODE) call. As soon as the tread dies the ExecutionState is reset. But no chance to clarify this without logs...I found I couldn't get my PC to standby manually, even when MP wasn't running, and it was just going to Away mode instead, so I disabled PS++ (both client and server) but it still wasn't working so I had to disable Hybrid Sleep mode in Windows Power Options and then it worked.
This is correct.I'm confused though as I thought Hybrid Sleep meant it would standby but also make a Hibernate file in case of power loss, whereas Away Mode is something different and just means it will blank the display if you try and sleep and something's happening to prevent that (i.e. a recording).
No need to have a look at the logs - you simply forgot to apply your settings (the "Standby is handled by PowerScheduler++" tells me this. It must be "...by Windows" if you really had applied P&P Mode. To apply PS++ changes press the "Apply" button in the PS++ config or leave the Tv Configuration with "OK").Hi michael_t!
First Thanks for your great work! Unfortunately i have noticed an issue with the current version: Single set setup, TV-Server is running, MP GUI is not running, PS++ is configured in P&P mode (Screenshot), Playback of musicfiles with foobar2000 is running and PC goes into S4 (it shouldn't ?!)? Logs are attached! Time of S4 was 17:27:34.820772! Could you please help?
Best regards
Helios
No need to have a look at the logs - you simply forgot to apply your settings (the "Standby is handled by PowerScheduler++" tells me this. It must be "...by Windows" if you really had applied P&P Mode. To apply PS++ changes press the "Apply" button in the PS++ config or leave the Tv Configuration with "OK").
Michael
It checks only for user activity (mouse, keyboard, remote) and programs telling it not to suspend by calling SetThreadExecutionState(SYSTEM_REQUIRED).
You said, that you went into away mode also if PS++ was disabled. So there must be another program / driver forcing away mode, since this is no permanent setting, but there must be a running thread making the SetThreadExecutionState(AWAYMODE) call. As soon as the tread dies the ExecutionState is reset. But no chance to clarify this without logs...
If you have problems with standby / wakeup / away mode you should begin with nothing "special" (MP, PS client and server, "power tools") running on your system (just deactivate them - no need to uninstall) and see if your system is suspending into the state configured (sleep, hybrid sleep, hibernate) after Windows idle timeout. If this does not work you should call "powercfg /requests" from the command prompt as Administrator to see what prevents your system from standby.
Only if everything is working fine you should activate the other programs step by step. And please send me logs, as soon as you have PS++ running...
I meant automatic standby without user intervention after the Windows idle timeout ("Sleep after"). This must be working reliably before you should try the next step.OK, I shut down as many programs as I could and then sent my PC to sleep manually via the Start Menu, which worked fine.
...
I could not reproduce this with my system. Could you please send logs, if the bug happens again?... But "Apply" doesn't work, if the windows power settings are configured as "Höchstleistung"
I meant automatic standby without user intervention after the Windows idle timeout ("Sleep after"). This must be working reliably before you should try the next step.
But I am glad to hear that now (nearly) everything is ok for you. My system also wakes up from time to time without comprehensible reason (maybe some WOL effect, maybe some internal thing - it happens exactly every two hours, ...?). If your system is suspending automatically again I would not worry.
BTW: You should update to the newest alpha version 1.2.5.2 - maybe then everything is ok...