IntelliJ preventing screensaver?
Answered
Recently I noticed my monitor does not turn off when I don't use the computer for a while.
The ‘powercfg /requests’ command point to the culprit:
DISPLAY:
[PROCESS] \Device\HarddiskVolume3\Program Files\JetBrains\IntelliJ IDEA 2023.3.4\bin\idea64.exe
Video Wake Lock
Why is IntelliJ preventing the screen saver / sleep function?
OS is Windows 11.
Please sign in to leave a comment.
About:
IntelliJ IDEA 2023.3.4 (Ultimate Edition)
Build #IU-233.14475.28, built on February 13, 2024
Licensed to xxxxxxxxxx
Runtime version: 17.0.10+1-b1087.17 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 12
Registry:
ide.experimental.ui=true
Kotlin: 233.14475.28-IJ
Xerces9 sadly I cannot reproduce this so far: I have laptop set up to go to sleep after 3 mins of inactivity, and it did with IDEA 2023.3.4 running, both when maximized and minimized. And from what I know there are no special options in our products to configure this.
Could you please indicate whether there are any running background processes - IDEA's own like indexing or triggered by third-party plugins - when you leave the laptop in idle state?
Does the same happen if you open some simple project and temporarily disable all the third-party plugins in IDE Settings | Plugins?
As an option you can try changing this behavior on the OS side if you run cmd with command `powercfg /requestsoverride process "\Device\HarddiskVolume3\Program Files\JetBrains\IntelliJ IDEA 2023.3.4\bin\idea64.exe" display system`.
I started IDEA again and now this does not happen.
I'll report back if it happens again.