You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- locked + system enters Modern Standby: On Wake task asks the controller to promote `VIDEOCONLOCK` to wake timeout (default 300 seconds, configurable)
20
20
- unlocked again: controller resets `VIDEOCONLOCK` to baseline timeout
`VIDEOCONLOCK` is still at the baseline (default 1 second), so Windows turns the display off shortly after lock.
164
+
`VIDEOCONLOCK` is still at the baseline (default 5 seconds), so Windows turns the display off shortly after lock.
165
165
166
166
### 5. System enters Modern Standby
167
167
@@ -400,7 +400,7 @@ It bridges the gap between the GitHub Release and `installer.ps1`.
400
400
Parse the hex values after "Current AC Power Setting Index" and "Current DC Power Setting Index", convert to decimal, and write `baseline.json`. If a valid `baseline.json` already exists, preserve it so the true originals are never lost on re-install.
401
401
402
402
7.**Create or preserve `config.json`**
403
-
If missing or malformed, create with defaults (`baselineTimeoutSeconds = 1`, `wakeTimeoutSeconds = 300`). If valid, preserve it. Read the effective baseline timeout for the next step.
403
+
If missing or malformed, create with defaults (`baselineTimeoutSeconds = 5`, `wakeTimeoutSeconds = 300`). If valid, preserve it. Read the effective baseline timeout for the next step.
404
404
405
405
8.**Apply the baseline `VIDEOCONLOCK` setting**
406
406
Log the applied value. If the value came from an existing `config.json`, indicate that in the message.
@@ -577,14 +577,14 @@ The controller reads `%LOCALAPPDATA%\Turn-off-screen-on-lock\config.json` on eac
577
577
578
578
```json
579
579
{
580
-
"baselineTimeoutSeconds": 1,
580
+
"baselineTimeoutSeconds": 5,
581
581
"wakeTimeoutSeconds": 300
582
582
}
583
583
```
584
584
585
585
| Field | Type | Range | Default | Description |
586
586
|---|---|---|---|---|
587
-
|`baselineTimeoutSeconds`| integer | 1–86400 |1| Seconds before the screen turns off after locking. Also the value restored on unlock. |
587
+
|`baselineTimeoutSeconds`| integer | 1–86400 |5| Seconds before the screen turns off after locking. Also the value restored on unlock. |
588
588
|`wakeTimeoutSeconds`| integer | 1–86400 | 300 | Seconds the screen stays on when waking from Modern Standby to unlock. |
589
589
590
590
Loading rules:
@@ -605,7 +605,7 @@ Loading rules:
605
605
powercfg /q SCHEME_CURRENT SUB_VIDEO VIDEOCONLOCK | findstr /i "Current AC Current DC"
0 commit comments