Just two this time, but I both want to get rid of them and definitely not lose them…
How to find what’s keeping your PC awake
I keep my PC on mostly all the time, but still I like that the display turns off when I get away for more than a few minutes, or simply shortly after I lock it.
Sadly, on more than a few occasions, I noticed that the display just would NOT turn off for the whole night. Not cool for the electricity bill, considering that having the display on forces my discrete GPU on, increasing my idle power draw by, at the very least, 15W.
I originally didn’t think about it that much, trying to shut down random programs and, as a last resort (but also most of the time), turning it off and on again, which would solve the issue every single time… until it occurred again.
I eventually found that there was a simple command to reveal the culprit program keep my display on:
powercfg /requests
Note that it needs to be run as admin.
It will output something like:
DISPLAY: None. SYSTEM: None. AWAYMODE: None. EXECUTION: None. PERFBOOST: None. ACTIVELOCKSCREEN: None.
If you have “None” everywhere, obviously you’re all good.
If not, get rid of whatever you see before locking your PC, otherwise it just won’t ever turn the display off.
Here’s for example how it looks during some video playback:
DISPLAY: [PROCESS] \[...]\FreeTube.exe Electron [PROCESS] \[...]\FreeTube.exe Video Wake Lock SYSTEM: [DRIVER] High Definition Audio Device (HDAUDIO\FUNC_01&VEN_14F1&DEV_xxx&SUBSYS_xxx&REV_1001\5&xxx&0&0001) An audio stream is currently in use. [PROCESS] \[...]\FreeTube.exe Electron [PROCESS] \[...]\FreeTube.exe Video Wake Lock AWAYMODE: None. EXECUTION: [PROCESS] \[...]\FreeTube.exe Playing audio PERFBOOST: None. ACTIVELOCKSCREEN: None.
What I suspect happened to me in the past was that, for some reason, sometimes Freetube wouldn’t release its locks when paused and minimized (while it normally does).
Since I started checking that regularly before putting my laptop to sleep, I never had a case where I was unable to get it to properly shut off the display.
How to check the data of your phone’s proximity censor
I’m not sure if this is just for Samsung or for any phone, but you just need to type *#77692#
in the phone app. No need to actually dial, as soon as you type the last # it will show the live censor’s data, at least if the code does work for you.
As I don’t have a non-Samsung phone to test, let me know in the comments if you have a non-Samsung and if it worked.
How to check the IMEI number(s) of your phone
Same concept as above, but this time the code is *#06#
. It will also show the serial number.
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.