Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 08:40:51 +0000



Post From: please help me understand why >Reconnect on Failure = Yes< did not work as I expected

[2022-12-18 13:06:23]
Berliner JFK - Posts: 43
posting follow-up for those who may have the same issue, my laptop was going to sleep with Sierra Chart running although plugged in and sleep set to "Never" in "Power & Sleep" settings, Windows 10

There is a sleep state which is not technically "sleep" as defined by Microsoft, but still results in Sierra Chart shutting down. It is called Modern Standby (S0).

If you want to check if this sleep state is activated, you can check with "powercfg -a" in the CMD windows with administrator rights.

In my case it was activated, and I deactivated it, also in CMD (admin) by adding a key to the registry:
reg add HKLM\System\CurrentControlSet\Control\Power /v PlatformAoAcOverride /t REG_DWORD /d 0

If you would like to deactivate "hibernation" to be safe, you can do it in CMD (admin) with "powercfg -h off"

For reference, on my laptop when I now check my sleep states it looks like this:

C:\Windows\system32>powercfg -a
The following sleep states are not available on this system:
Standby (S1)
The system firmware does not support this standby state.

Standby (S2)
The system firmware does not support this standby state.

Standby (S3)
The system firmware does not support this standby state.

Hibernate
Hibernation has not been enabled.

Standby (S0 Low Power Idle)
The system firmware does not support this standby state.

Hybrid Sleep
Standby (S3) is not available.
Hibernation is not available.

Fast Startup
Hibernation is not available.

I hope this fixes the issue permanently.

I don't know if this is at all helpful, but when I searched the board for similar information, I did not find anything.