什麼是新式待命What is Modern Standby

Windows 10 新式待命 (新式待命) 會擴充 Windows 8.1 連接的待命電源模型。Windows 10 Modern Standby (Modern Standby) expands the Windows 8.1 Connected Standby power model. 連線待命(因而是新式待命)可啟用即時/立即關閉使用者體驗,類似于 smartphone 電源模型。Connected Standby, and consequently Modern Standby, enable an instant on / instant off user experience, similar to smartphone power models. 就像電話一樣,S0 低電源閒置模型可讓系統在低電源模式下保持連線到網路。Just like the phone, the S0 low power idle model enables the system to stay connected to the network while in a low power mode.

雖然新式待命功能可讓您立即開啟/關閉使用者體驗,例如連線待命,但新式待命比 Windows 8.1 連接的待命電源模型更包含在內。Although Modern Standby enables an instant on/off user experience like Connected Standby, Modern Standby is more inclusive than the Windows 8.1 Connected Standby power model. 新式待命允許先前的市場區段限制為傳統睡眠 (S3) 電源模型,以利用低功率閒置模型。Modern Standby allows for market segments previously limited to the Traditional Sleep (S3) power model to take advantage of the low power idle model. 範例系統包括以旋轉媒體和混合式媒體為基礎的系統 (例如,SSD + HDD 或 SSHD) 及/或不支援所有先前連線待命需求的 NIC。Example systems include systems based on rotational media and hybrid media (for example, SSD + HDD or SSHD) and/or a NIC that doesn’t support all of the prior requirements for Connected Standby.

支援新式待命而非 S3 的系統數量會隨著時間而增加。The number of systems supporting Modern Standby rather than S3 is increasing over time. 新式待命區段會列出啟用新式待命的重要變更、合作夥伴需求和最佳作法。The Modern Standby section outlines important changes, partner requirements, and best practices for enabling Modern Standby.


新式待命適用于 Windows 10 desktop 和 Windows 10X。Modern Standby is available for both Windows 10 desktop and Windows 10X.

藉由變更 BIOS 中的設定,無法在 S3 和新式待命之間進行切換。Switching between S3 and Modern Standby cannot be done by changing a setting in the BIOS. 在沒有完整作業系統重新安裝的情況下,Windows 不支援切換電源模型。Switching the power model is not supported in Windows without a complete OS re-install.

新式待命的功能總覽Functional Overview of Modern Standby

新式待命會話包含整個螢幕到螢幕上的使用者案例。A Modern Standby session encompasses the entire screen-off to screen-on user scenario. 不過,個別的 螢幕關閉睡眠 區段組成整體新式待命會話。However, individual screen off and sleep segments make up an overall Modern Standby session. 這些狀態會區分長期的軟體行為與長期低電源的週期。These states differentiate periods of quiescing software behavior from periods of long term low power. 基於這個理由,Microsoft conceputalizes 新式睡眠相當於傳統 S3 睡眠,還有額外的好處,就是可讓加值的軟體活動定期執行。For this reason, Microsoft conceputalizes modern sleep as equivalent to traditional S3 sleep, with the added benefit of allowing value-added software activities to run periodically.

在 Windows 10 中,只有在絕對必要時才從最低的電源狀態喚醒,而且只允許軟體以簡單、受控制的突發活動執行,大幅降低軟體元件執行的機會。In Windows 10, low power is achieved by only waking from the lowest power state when absolutely necessary and only allowing software to execute in short, controlled bursts of activity, dramatically reducing the opportunities for software components to execute. Windows 和 SoC 硬體一律會接聽感興趣的事件 (例如網路封包或鍵盤上的使用者輸入) ,並且會在需要時立即喚醒。Windows and the SoC hardware are always listening for interesting events (such as a network packet or user input at a keyboard) and will wake up instantly when needed. 當需要即時動作時(例如作業系統維護或使用者喚醒系統時),系統將會喚醒。The system will wake when there is real time action required, such as for OS maintenance or when a user wakes the system.

新式待命是由多個硬體和軟體電源模式所組成,它們都是在螢幕關閉時進行。Modern Standby consists of multiple hardware and software power modes, all of which occur with the screen turned off. 新式待命的複雜性是讓系統保持運作以處理背景工作的結果,同時確保系統保持安靜,以達到長時間的電池壽命。The complexity of Modern Standby is a result of keeping the system alive to process background tasks, while ensuring that the system stays quiet enough to achieve long battery life.

進入新式待命Entry to Modern Standby

新式待命會在使用者讓系統進入睡眠狀態時開始 (例如使用者按下電源按鈕、關閉蓋出、閒置,或從 Windows [開始] 功能表) 的 [電源] 按鈕中選取 [睡眠]。Modern Standby starts when the user causes the system to enter sleep (e.g user pressing the power button, closing the lid, idling out, or selecting Sleep from the power button in the Windows Start menu). 進入新式待命時,應用程式和系統軟體必須做好準備,以轉換為低電源作業。On entry to Modern Standby, apps and system software must be made ready for the transition to low-power operation. (請參閱針對 新式待命準備軟體。在軟體元件和應用程式已準備好進行低電源作業之後,) 硬體元件(包括其軟體設備磁碟機)必須同樣針對低電源作業做好準備。(See Prepare software for Modern Standby.) After software components and apps have been prepared for low-power operation, hardware components, including their software device drivers, must be similarly prepared for low-power operation. (請參閱 針對新式待命準備硬體。 ) 軟體和硬體都必須做好準備,以便進行低電源操作。(See Prepare hardware for Modern Standby.) Both software and hardware must be made ready for low-power operation.

新式待命期間的活動Activity during Modern Standby

視需要轉換為主動模式,可能會因應使用者輸入、網路裝置和其他硬體事件的中斷而發生。On-demand transitions to active mode can occur in response to user inputs, interrupts from networking devices and other hardware events. 當所有軟體活動停止,且 SoC 上的裝置進入低電源狀態時,Windows 會將 SoC 從主動模式轉換成閒置模式。Windows transitions the SoC from active mode to idle mode after all software activity is stopped and the devices on and off the SoC have entered low-power states. (查看 在作用中和閒置狀態之間的轉換。 ) (See Transitioning between active and idle states.)

網路和通訊裝置會根據在新式待命期間的系統軟體活動,在作用中和低電源模式之間自動轉換。The networking and communications devices automatically transition between active and low-power modes based on the software activity of the system during Modern Standby. 當沒有任何系統服務或 Microsoft Store 應用程式背景工作需要網路時,網路裝置會處於低電源、通訊協定卸載和 WoL 模式模式。When there are no system services or Microsoft Store app background tasks that require the network, the networking device is in the low-power, protocol offload, and WoL patterns mode. 當系統服務或背景工作需要網路存取時,Windows 會自動將網路裝置轉換為主動模式。When a system service or background task requires network access, Windows automatically transitions the networking device to an active mode.

在某些情況下,系統會保持使用中模式 (關閉螢幕) 的時間間隔較長。On occasion, the system stays in the active mode (with the screen off) for a longer interval of time. 這些較長的使用中間隔會因各種原因而發生,例如處理傳入的電子郵件或下載重要的 Windows 更新。These longer active intervals occur for a variety of reasons, for example, processing incoming email or downloading critical Windows updates. 允許將 SoC 保持在作用中電源狀態的 Windows 元件稱為「啟動程式」,因為它們已向電源管理員註冊 ,因此能夠 封鎖轉換回閒置電源模式。Windows components that are allowed to leave the SoC in the active power state are called activators because they are registered with the power manager as capable of blocking the transition back to the idle power mode. 這些活動的持續時間會有很大的差異,但可控制以延長電池壽命。The durations of these activities vary widely but are controlled to extend battery life. 您可以使用內建的 SleepStudy software 工具 或 Windows 的事件追蹤來查看活動持續時間, (ETW) 架構的檢測。The durations of the activities can be viewed with the built-in SleepStudy software tool or through Event Tracing for Windows (ETW)-based instrumentation.

在 Windows 8.1 連線待命系統上,在新式待命期間,Windows 會將 SoC 從閒置模式轉換為主動模式,最少每30秒會執行核心維護工作。On Windows 8.1 Connected Standby systems, during Modern Standby, Windows transitions the SoC from idle mode to active mode a minimum of every 30 seconds to perform kernel maintenance tasks. 這項維護活動在持續時間內非常短暫, (通常不超過幾百毫秒) 且無法調整。This maintenance activity is extremely brief in duration (typically no more than a few hundred milliseconds) and cannot be adjusted. Windows 10 新式待命系統上不會發生這種情況。This does not happen on Windows 10 Modern Standby systems.

從新式待命恢復Resume from Modern Standby

當使用者讓系統從待命繼續(例如按下電源按鈕)時,系統會立即開啟顯示器,並且會將網路裝置還原為其正常的主動式操作模式。When the user causes the system to resume from standby, e.g. presses the power button, the display is immediately turned on and networking devices are restored to their normal, active operating modes. 從電源按鈕按下顯示器開啟的時間小於一秒。The time from the power button press to the display turning on is less than one second. 在開啟顯示器且網路裝置恢復正常運作模式後,桌面應用程式會繼續執行,且系統會返回其正常的螢幕上作用中行為。After the display is turned on and the networking device returns to normal operating mode, desktop applications resume and the system returns to its normal, screen-on active behavior.