Questions tagged [powercfg]
A Windows command line to enable and see power settings.
58
questions
0
votes
0
answers
44
views
What to add to batch file to disable device from waking PC during sleep?
I have a batch file on my Windows 11 PC that puts it to sleep. I have a hotkey on my keyboard that runs the program when I press it, putting my PC to sleep.
But recently I've run into issues where my ...
0
votes
0
answers
80
views
Laptop will not go to sleep
I'm new here, so it is a pleasure to meet all of you. I have a Windows 11 computer, and everything else works fine otherwise. However, when I try to make my computer sleep, the screen will only dim ...
0
votes
0
answers
320
views
Powercfg /requests shows a bunch of "[PROCESS] Legacy Kernel Caller" entries instead of real data when called from .bat file
To quickly view what's causing my monitor to not sleep, I usually use this .bat script with this simple contents:
@echo off
powercfg /requests
pause
On my Windows 10 machine, it results in the output ...
1
vote
0
answers
193
views
ThinkPad X1 Extreme Battery discharging issues
I have a ThinkPad X1 Extreme running Win 11. These ThinkPads don't have a good reputation for battery life, but the battery seems to discharge very quickly while in sleep or hibernation. Today I ...
1
vote
1
answer
1k
views
How can I read values set with powercfg /setdcvalueindex?
The behavior of Windows Modern Standby's adaptive hibernate ostensibly depends on the following values:
Budget setting
Definition
Exposed as
Powercfg command
StandbyBudgetPercent
Defines the battery ...
0
votes
0
answers
1k
views
Can you disable Fast Startup but keep Hibernation option?
It is possible to keep Windows Fast Startup enabled for shutdowns but remove "Hibernate" as a shutdown option by running the elevated command powercfg /h /type reduced, but what about the ...
2
votes
1
answer
149
views
My PC turns on by itself exactly at the 10 minute mark at every hour
A little bit of history, my PC was turned off for around 1 month, until recently. I turned it on just to update windows 10. After a few days, my PC turns on by itself, at every hour at the 10 minute ...
3
votes
1
answer
525
views
mstsc prevents standby windows 11
My Windows 11 has recently developed a sleeping disorder. This is the result of powercfg -requests:
[PROCESS] \Device\HarddiskVolume3\Windows\System32\mstsc.exe
RAIL Power Request
[PROCESS] \Device\...
3
votes
0
answers
2k
views
Windows 10 won't sleep - no requests, no wake_armed, no waketimers
Something broke my Windows system so it won't sleep automatically. The Monitor goes out after the period set, but the PC stays awake.
powercfg -requests - everything NONE
powercfg -devicequery ...
0
votes
0
answers
882
views
Check if display is off using CMD
Currently my Windows 10 PC turns off its display after 10 min (A setting under "Power Options").
I have a DIY batch script that loops every 2s in Windows background. However, this script ...
1
vote
0
answers
626
views
USB Keypad Device Preventing Sleep (Windows 11)
I've read USB Audio Device Preventing Sleep (Windows 10), Gamepad Prevents Screensaver From Starting on Windows 10, and a few others on this site.
I have a TACTICAL ASSAULT COMMANDER F14 FINAL FANTASY®...
0
votes
0
answers
469
views
powercfg /batteryreport no correlation with actual battery life?
I have 6 batteries for my laptop. I used powercfg /batteryreport to check "Full Charge Capacity" for each of them.
Then I wrote a quick Excel VBA script that enters total elapsed time in a ...
0
votes
1
answer
5k
views
How to reset Windows battery usage history statistics?
When I run a powercfg /batteryreport on Windows 10, I get a nice looking HTML report that includes battery usage history going back ~ 19 months. I suppose this is stored somewhere in my computer's ...
0
votes
2
answers
171
views
Need to create a batch or PS file help fix powercfg issues
I have the beginings of a script that will do the following:
powercfg /L >> c:\folder\powercfglst.txt
Which gives me a file with the following in it.
*Existing Power Schemes (* Active)
---------...
2
votes
3
answers
7k
views
Prevent PC from falling asleep when a certain program is running?
I have a phone mirroring program (scrcpy) and set my laptop to fall asleep after 10 minutes. I use it mainly to watch live TV, but the laptop will turn off while it's running. After reading around on ...