答案1
宾果!我似乎在这篇 reddit 帖子的帮助下成功排除故障并解决了类似的问题:是否有其他人注意到他们的计算机在更新到 Windows 10 后不再自动进入睡眠状态?
排除故障的步骤:
- 使用电源效率诊断报告
正如 Harrymc 所提到的,您可以使用该powercfg -energy
命令获取其电源使用诊断报告。结果可能指示错误、警告或其他有用信息,并存储在此处:C:\Windows\System32\energy-report.html
例如我的总结报告是:
Energy efficiency problems were found.
9 Errors
24 Warnings
43 Informational
See C:\WINDOWS\system32\energy-report.html for more details.
更详细的是:
Analysis Results
Errors
System Availability Requests:System Required Request
The program has made a request to prevent the system from automatically entering sleep.
Requesting Process
\Device\HarddiskVolume4\Program Files (x86)\Connectify\Connectifyd.exe
System Availability Requests:Execution Required Request
The program has made a request for execution required.
Requesting Process
\Device\HarddiskVolume4\Users\ratxavier\PortableApps\GoogleChromePortable\App\Chrome-bin\chrome.exe
System Availability Requests:System Required Request
The device or driver has made a request to prevent the system from automatically entering sleep.
Requesting Driver Instance
HDAUDIO\FUNC_01&VEN_8086&DEV_2807&SUBSYS_80860101&REV_1000\4&353e01dc&0&0001
Requesting Driver Device
Intel(R) Display Audio
System Availability Requests:System Required Request
A kernel component has made a request to prevent the system from automatically entering sleep.
USB Suspend:USB Device not Entering Selective Suspend
This device did not enter the USB Selective Suspend state. Processor power management may be prevented when this USB device is not in the Selective Suspend state. Note that this issue will not prevent the system from sleeping.
Device Name
USB Input Device
Host Controller ID
PCI\VEN_8086&DEV_9C31
Host Controller Location
PCI bus 0, device 20, function 0
Device ID
USB\VID_045E&PID_0797
Port Path
1
USB Suspend:USB Device not Entering Selective Suspend
This device did not enter the USB Selective Suspend state. Processor power management may be prevented when this USB device is not in the Selective Suspend state. Note that this issue will not prevent the system from sleeping.
Device Name
USB Composite Device
Host Controller ID
PCI\VEN_8086&DEV_9C26
Host Controller Location
PCI bus 0, device 29, function 0
Device ID
USB\VID_19D2&PID_FFF1
Port Path
1,2
USB Suspend:USB Device not Entering Selective Suspend
This device did not enter the USB Selective Suspend state. Processor power management may be prevented when this USB device is not in the Selective Suspend state. Note that this issue will not prevent the system from sleeping.
Device Name
USB Root Hub
Host Controller ID
PCI\VEN_8086&DEV_9C26
Host Controller Location
PCI bus 0, device 29, function 0
Device ID
USB\VID_8086&PID_9C26
Port Path
CPU Utilisation:Processor utilisation is high
The average processor utilisation during the trace was high. The system will consume less power when the average processor utilisation is very low. Review processor utilisation for individual processes to determine which applications and services contribute the most to total processor utilisation.
Average Utilisation (%)
21.73
Platform Power Management Capabilities:PCI Express Active-State Power Management (ASPM) Disabled
PCI Express Active-State Power Management (ASPM) has been disabled due to a known incompatibility with the hardware in this computer.
Warnings
Platform Timer Resolution:Platform Timer Resolution
The default platform timer resolution is 15.6 ms (15625000 ns) and should be used whenever the system is idle. If the timer resolution is increased, processor power management technologies may not be effective. The timer resolution may be increased due to multimedia playback or graphical animations.
Current Timer Resolution (100 ns units)
5003
Maximum Timer Period (100 ns units)
156250
Platform Timer Resolution:Outstanding Timer Request
A program or service has requested a timer resolution smaller than the platform maximum timer resolution.
Requested Period
10000
Requesting Process ID
7800
Requesting Process Path
\Device\HarddiskVolume4\Users\ratxavier\PortableApps\GoogleChromePortable\App\Chrome-bin\chrome.exe
Platform Timer Resolution:Outstanding Timer Request
A program or service has requested a timer resolution smaller than the platform maximum timer resolution.
Requested Period
10000
Requesting Process ID
7908
Requesting Process Path
\Device\HarddiskVolume4\Users\ratxavier\PortableApps\GoogleChromePortable\App\Chrome-bin\chrome.exe
- 使用 powercfg -requests
在命令提示符中输入powercfg -requests
(可能需要提升权限)。应该会告诉你编程正在保留什么你的电脑被唤醒了. 对于我的报告,我得到了:
C:\WINDOWS\system32>powercfg -requests
DISPLAY:
None.
SYSTEM:
[PROCESS] \Device\HarddiskVolume4\Program Files (x86)\Connectify\Connectifyd.exe
[DRIVER] Intel(R) Display Audio (HDAUDIO\FUNC_01&VEN_8086&DEV_2807&SUBSYS_80860101&REV_1000\4&353e01dc&0&0001)
An audio stream is currently in use.
[DRIVER] Legacy Kernel Caller
AWAYMODE:
None.
EXECUTION:
[PROCESS] \Device\HarddiskVolume4\Users\ratxavier\PortableApps\GoogleChromePortable\App\Chrome-bin\chrome.exe
Playing audio
PERFBOOST:
None.
ACTIVELOCKSCREEN:
None.
决议
覆盖保持窗口唤醒的编程。使用命令
powercfg -REQUESTSOVERRIDE
告诉 Windows 忽略使其保持唤醒状态的任何因素并进入睡眠状态。
例如,根据我的报告,我必须覆盖Kernel Driver
和Connectifyd
流程。
笔记! 您不一定要覆盖它,因为给定的驱动程序可能会因为正在使用而使 PC 保持唤醒状态,上面的英特尔音频驱动程序就是一个很好的例子,停止音频后它不再处于活动状态。
我的罪魁祸首是这个过程—— Connectifyd
。
尽管如此,要覆盖输入以下命令:
powercfg -REQUESTSOVERRIDE DRIVER "The Name of Your Device" SYSTEM
powercfg -REQUESTSOVERRIDE PROCESS "The name of Process" SYSTEM
例如
powercfg -REQUESTSOVERRIDE PROCESS "\Device\HarddiskVolume4\Program Files (x86)\Connectify\Connectifyd.exe" SYSTEM
来源:Simplifyze(Reddit);是否有其他人注意到他们的计算机在更新到 Windows 10 后不再自动进入睡眠状态?
答案2
问题似乎可能是由于允许 USB Root Hub 唤醒您的 PC。您是否尝试取消选中该框以查看它是否有效?步骤如下:
- 在开始栏中搜索“设备管理器”。
- 打开设备管理器后,在底部附近展开“通用串行总线控制器”
- 找到“USB Root HUB”。可能会有多个。在每个 USB Root Hub 上执行步骤 4-6。
- 右键单击 USB Root Hub > 属性 > 电源管理。
- 取消选中“允许此设备唤醒计算机”
- 确定 - 测试解决方案。如果解决方案不起作用,请尝试重新启动,然后再重新选中复选框。
如果有效的话请告诉我们!