Windows 8 and 8.1 Forums

Power Management Guidelines for Windows Developers

  1. #1

    Power Management Guidelines for Windows Developers

    So why should you care about power management and energy efficiency?

    Power management and energy efficiency are issues of growing importance in IT and software development. In simple words, applications whose design considers power management could help customers save money from energy costs and thus improve customer satisfaction. Additionally, there are other reasons like performance/stability but in the era of efficiency and cost reduction in business today, those are key factors.

    Microsoft product teams have been making progress in the area of power management and energy efficiency of our own products. Not only have we found ways to both make progress in the area but we’ve also begun to identify the challenges in doing so. Specifically in the Windows PC ecosystem, the biggest challenge for improvements in power management has been the applications that run on the Windows. Even with gains made in the OS, we’ve found that software applications can potentially “break” power management and in effect lose any gains made in the Operating System.

    For this reason, the company’s environmental sustainability team has created a set of resources, best practices and tools for software developers to help better understand power management’s role in software application design. While power management may be a new concept to many developers and organizations developing software applications, there are a number of things Windows developers can begin doing today to make progress. The guidance and best practices we’ve created is a collection of our own learning’s  while building software products and our work with Independent Software Vendors (ISVs) and broad developers.

    The guidance is wide ranging but two papers in particular are must-reads for software developers building Windows apps:

    The Science of Sleep: This paper covers high-level best practices that software developers should follow in Windows 7 to ensure that their application, service, or driver is compatible with and takes advantage of sleep and display power management in Windows. Developers of Windows applications, services, and drivers must ensure that their applications honor and work intelligently with power management-related user and IT administrator preferences and policies.

    Timers, Timer Resolution and Development of Efficient Code: This paper provides information about high-resolution timers and periodic timers for Windows operating systems. It provides guidelines for developers to use timers efficiently with platform power management. It assumes that the reader is familiar with concepts of periodic activity and scheduled timers.

    While the industry has more to do this area, the resources we’ve developed can help any Windows software developer to get started. Visit the new MSDN Learn About Windows: Power Management page to read the whitepapers and find tools available Windows application developers.

    Here’s to a powerful yet greener IT!


      My System SpecsSystem Spec

  2. #2

    Very interesting article, thanks for sharing
      My System SpecsSystem Spec

Power Management Guidelines for Windows Developers
Related Threads
Bad cpu power management in Performance & Maintenance
Win 8.1.1, I noticed, that sometimes windows fails to manage cpu frequency - i was watching 1080p flash videos with chrome, and i noticed that it lags much, but it has never laged before. So trying various things i noticed in task manager, that when i start video, cpu stays at its miserable 800 mhz...
How to Add or Remove PCIe "Link State Power Management" in Power Options in Windows The Link State Power Management is a part of PCI Express Active State Power Management (ASPM). The link State of a PCIe Device is converted from L0 (on) to L1 (off) when the link is not transferring data. The...
hi, i have Asus N550LF, always on boot or when i unplug the charger power management set to high performance which is causing the battery life to decrease ( wear level 7%), since i found out H.P. causes this i always set it to Balanced but its annoying to do it every time i boot up, any way to set...
Power management issues! in General Support
Hallo ppl. I have just installed windows 8.1 enterprise, and after that problems started. Battery charges very slow and only to 60%, and discharges fast esp. when i play games. I have Toshiba satellite P775-11P I think the problem is in "Platform Power Management Capabilities:PCI Express...
I note a zillion angry threads to MS re: the Power Mgmt issues in 8's. anyone know workarounds? I've been working with 8.1 on a notebook, where all devices luckily are installed right and functioning right, until I go trying to make it play nice as a HTPC system... USB-attached...
I want to disable the "allow this device to wake the computer" to prevent the accidental pressing of the keyboard waking up the PC. This option doesn't exist though, like it does with the USB mouse. Is there a way around this? thanks
HP Power Management in Performance & Maintenance
Is Hp Power Management compatible with windows 8? i re installed it but it never seems to run, and it doesnt dim the screen or work in anyway, please let me know, thanks guys
Eight Forums Android App Eight Forums IOS App Follow us on Facebook