为什么我的 Windows 10 笔记本电脑有时无法休眠?

为什么我的 Windows 10 笔记本电脑有时无法休眠?

单击“休眠”后,我的笔记本电脑确实会休眠,但只是有时如此。其他时候,屏幕会立即变黑。但随后电源按钮保持亮起状态,10 秒后(单击“休眠”后)屏幕重新出现,之前的所有功能仍处于打开状态。在这两种情况下,我的笔记本电脑都插入了相同的 3 个 USB 设备。

禁用唤醒定时器寻找觉醒之源没有帮助:

在此处输入图片描述

2018 年 7 月 28 日更新

执行这个答案,没有帮助。请参阅查看我最新的 energy-report.html。

答案1

宾果!我似乎在这篇 reddit 帖子的帮助下成功排除故障并解决了类似的问题:是否有其他人注意到他们的计算机在更新到 Windows 10 后不再自动进入睡眠状态?

排除故障的步骤:

  1. 使用电源效率诊断报告

正如 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
  1. 使用 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 DriverConnectifyd流程。

笔记! 您不一定要覆盖它,因为给定的驱动程序可能会因为正在使用而使 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。您是否尝试取消选中该框以查看它是否有效?步骤如下:

  1. 在开始栏中搜索“设备管理器”。
  2. 打开设备管理器后,在底部附近展开“通用串行总线控制器”
  3. 找到“USB Root HUB”。可能会有多个。在每个 USB Root Hub 上执行步骤 4-6。
  4. 右键单击 USB Root Hub > 属性 > 电源管理。
  5. 取消选中“允许此设备唤醒计算机”
  6. 确定 - 测试解决方案。如果解决方案不起作用,请尝试重新启动,然后再重新选中复选框。

如果有效的话请告诉我们!

答案3

检查您的powercfg -energy报告后未发现任何异常。您的系统报告为具有休眠功能 (S4),并且没有明显有问题的设备(尽管最好在您不使用计算机或播放音乐时进行休眠)。

以下是一些可能有帮助的建议。

  1. 关闭并禁用混合睡眠

图像

  1. 在设备管理器中阻止设备唤醒您的计算机,尤其是网络适配器。您可以通过运行列出所有这些设备powercfg -devicequery wake_armed

  2. 通过以下方式检查 Windows 是否损坏证监会/扫描。如果发现问题并予以纠正,不要以为问题已完全解决。

相关内容