请点击以下链接下载WinHEC的演讲材料 Download WinHEC presentations here: http://channel9.msdn.com/Events/WinHEC/2015 SW HW Screen ON -> OFF Connection Phase CHECK REMOTE DESKTOP CONNECTIONS PLM phase SUSPENDS WINDOWS STORE APPS Maintenance RUN MAINTENANCE TASKS DAM Phase SUSPENDS ALL WIN32 APPS Resiliency NOTIFIES NETWORK TO ENTER LOW POWER ENFORCES TIMER EXPIRATION Event Mechanism Lights Display? Scenario Power Button GPIO Yes User input WiFi Notification GPIO No Update application, incoming email, etc. USB Device Insertion / Removal In-band USB resume No Attach/remove peripheral BT Keyboard BT Radio -> GPIO Yes Tap keyboard to turn the device on USB Mouse In-band USB resume Yes Tap/move mouse to turn the device on https://msdn.microsoft.com/en-us/library/windows/hardware/dn495447(v=vs.85).aspx Hardware Component Core Chipset / SoC Power (mW) 13.92 Display (assume off) 0.00 Memory (DRAM) 5.79 Primary Storage 0.40 WiFi Networking 6.00 Mobile Broadband Communications 0.00 Sensors and Fusion Controller 0.75 PMIC, Battery Controller, Other Microcontrollers, Conversion Losses Other Platform Components 9, 5% 1, 34% 11.54 8, 28% 2.10 Total: (mW) + 10% safety 44.56 Platform Runtime Goal (days) 33.56 days Battery Capacity (Whr) 37Whr 7, 2% 5, 15% 3, 14% 4, 1% D0 F0 F1 … Fx D2 D3 SoC USB Controller USB Hub Peripheral 2 Peripheral 1 Peripheral 3 If a new device, peripheral 3 is added, and cannot be power managed, it will keep the controller, the hub, and the SoC powered up. USB Audio Storage SoC (graphics, audio, busses, etc.) Display Wi-Fi, BT, GPS (combo) Glue Logic (PMIC, Battery subsystem, etc.) Apps User mode Network services / APIs Kernel mode NDIS D-state control WiFi Miniport driver ACPI driver Bus driver https://msdn.microsoft.com/en-us/library/windows/hardware/dn757332(v=vs.85).aspx Apps User mode Audio services / APIs Kernel mode PortCls D-state control Audio driver ACPI driver https://msdn.microsoft.com/en-us/library/Windows/Hardware/dn621143(v=vs.85).aspx Apps User mode Kernel mode Device D-state control WinUSB Device driver stack Device driver stack FDO FDO USB Client driver layer USB3.0 Driver Stack Bus D-state control xHCI ClassPnP/disk driver StorPort D-state control Miniport (StorAHCI) SOC USB I2C/UART Audio SD/SDIO Graphics CPU (s) Lowest Power Hardware Firmware Software • Battery gauge is accurately reporting charge • SoC and PMIC are power representative • All off-SoC device components support lowpower operation and are wired to switchable power planes • Physical ports for kernel and hardware debugging connections available • Firmware is properly configured • There are no external devices connected, unless bundled with the device • All device drivers are installed and up to date • There are no missing device drivers in Device Manager • Reliable Wi-Fi connectivity when the screen is on • Reliable MBB connectivity when the screen is on (if applicable) Power Budget Measure Power consumed for a scenario Test Platform SleepStudy is the recommended 1st level triage tool. Scenario If discrepancies are noticed, take action Start with simple scenarios (e.g. airplane mode) then work you way up more complex ones (e.g. MBB on) Compare expected power with actual Hardware Component Expected Power (mW) Actual Power (mW) Core Chipset / SoC 13.92 13.95 Display (assume off) 0.00 0.00 Memory (DRAM) 5.79 5.90 Primary Storage 0.40 0.40 WiFi Networking 6.00 20.00 Mobile Broadband Communications 0.00 0.00 Sensors and Fusion Controller 0.75 1.00 11.54 12.00 2.10 2.74 Total: (mW) 44.56 (incl. 10% safety) 55.99 Platform Runtime Goal (Hours) 33.56 days 27.53 days Battery Capacity (Whr) 37Whr 37Whr PMIC, Battery Controller, Other Microcontrollers, Conversion Losses Other Platform Components Active SW • Consult with SW component owner Active HW • Consult with device driver vendor or Microsoft to identify issue No active SW or HW • Look at each power rail to identify any HW component that consumes more than expected in Step 2 • Consult with device hardware vendor Green Orange Red Battery Drain Rate < .333% .333% - 1% > 1% DRIPS Percentage > 95% 80 - 95% < 80% Offender Activity < 5% 5 - 10% >10% https://msdn.microsoft.com/en-us/library/windows/hardware/dn495349(v=vs.85).aspx (c) 2015 Microsoft Corporation. All rights reserved. This document is provided "as-is." Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. You bear the risk of using it. This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes. Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.