5

I recently got a new laptop [Dell XPS 13] and am using it with a dock [TB16]. As such, it is always connected to a power supply.

When I walk away from my desk, I always lock my laptop. When I come back, my laptop is invariably in sleep mode. I used "powercfg /sleepstudy" to see what's happening, which is where I get the "modern standby" term from. I timed the delay from locking to sleep to be about 30 seconds.

In principle I'm fine with it, my computer successfully resumes tasks after being awoken, however when running a long task (compiling a large program, running a long series of tests) I would prefer that I can walk away and my computer continues working instead of sleeping.

What I tried:

-Changing power settings (sleep after 30 minutes)

-Disabled "Save me power when my device knows I'm away"

Here's a screenshot of my power settings:

My power settings screenshot

Does anyone know of a way to change the behavior to wait at least 30 minutes after locking?

Adam
  • 910
Erik
  • 161

1 Answers1

11

After a lot of trial and error, together with my local sysadmin we found that the (hidden) advanced power setting "Console Lock display off timeout" controls when my laptop goes to sleep in lock mode.

To unhide the setting, in the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\7516b95f-f776-4464-8c53-06167f40cc99\8EC4B3A5-6868-48c2-BE75-4F3044BE88A7

Set "Attributes" -> 2

Now it should show up under Display in Advanced power settings. Thanks to @Spittin' IT for sending us in the right direction with his comments.

Erik
  • 161