如何禁用自适应休眠

如何禁用自适应休眠

几天前 Windows 更新后,我注意到我的 Surface Book 在进入待机状态仅 30 分钟后就开始自动休眠,即使电池充满电也是如此。在高级电源选项下,电池睡眠后休眠设置为 1200 分钟(20 小时),Windows 在最近的 Windows 更新之前会遵守这一设置。

事件日志显示原因是“用户离开预测”。经过谷歌搜索,该行为似乎是名为自适应休眠。尝试从该页面执行命令时powercfg /setdcvalueindex scheme_current sub_presence standbybudgetpercent 50出现Invalid Parameters错误。

Windows 似乎认为它比我更聪明,了解我的使用情况——我该如何重新获得控制权并禁用这个烦人的“功能”?


两个相关的事件日志条目:

Log Name:      System
Source:        Microsoft-Windows-Kernel-Power
Date:          3/31/2017 9:55:29 PM
Event ID:      42
Task Category: (64)
Level:         Information
Keywords:      (70368744177664),(1024),(4)
User:          N/A
Computer:      SURFACE-BOOK
Description:
The system is entering sleep.

Sleep Reason: Hibernate from Sleep - User Away Predicted
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Kernel-Power" Guid="{331C3B3A-2005-44C2-AC5E-77220C37D6B4}" />
    <EventID>42</EventID>
    <Version>3</Version>
    <Level>4</Level>
    <Task>64</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000400000000404</Keywords>
    <TimeCreated SystemTime="2017-04-01T01:55:29.009291800Z" />
    <EventRecordID>6671</EventRecordID>
    <Correlation />
    <Execution ProcessID="4" ThreadID="9836" />
    <Channel>System</Channel>
    <Computer>SURFACE-BOOK</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="TargetState">5</Data>
    <Data Name="EffectiveState">5</Data>
    <Data Name="Reason">11</Data>
    <Data Name="Flags">0</Data>
    <Data Name="TransitionsToOn">16</Data>
  </EventData>
</Event>

Log Name:      System
Source:        Microsoft-Windows-Kernel-Power
Date:          3/31/2017 9:25:38 PM
Event ID:      172
Task Category: (203)
Level:         Information
Keywords:      (1024),(4)
User:          SYSTEM
Computer:      SURFACE-BOOK
Description:
Connectivity state in standby: Disconnected, Reason: Policy Setting
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Kernel-Power" Guid="{331C3B3A-2005-44C2-AC5E-77220C37D6B4}" />
    <EventID>172</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>203</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000404</Keywords>
    <TimeCreated SystemTime="2017-04-01T01:25:38.720738500Z" />
    <EventRecordID>6666</EventRecordID>
    <Correlation />
    <Execution ProcessID="4" ThreadID="8020" />
    <Channel>System</Channel>
    <Computer>SURFACE-BOOK</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <EventData>
    <Data Name="State">2</Data>
    <Data Name="Reason">1</Data>
  </EventData>
</Event>

答案1

转到(新)设置->电源和睡眠。

在那里,关闭“当我的设备知道我离开时节省电量”。

相关内容