<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://windowsteamblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Windows Vista Team Blog : Power Management</title><link>http://windowsteamblog.com/blogs/windowsvista/archive/tags/Power+Management/default.aspx</link><description>Tags: Power Management</description><dc:language>en</dc:language><generator>CommunityServer 2008 SP1 (Build: 30619.63)</generator><item><title>Windows Vista Power Management</title><link>http://windowsteamblog.com/blogs/windowsvista/archive/2006/12/08/windows-vista-power-management.aspx</link><pubDate>Fri, 08 Dec 2006 22:50:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:480696</guid><dc:creator>JimAll</dc:creator><slash:comments>68</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://windowsteamblog.com/blogs/windowsvista/rsscomments.aspx?PostID=480696</wfw:commentRss><comments>http://windowsteamblog.com/blogs/windowsvista/archive/2006/12/08/windows-vista-power-management.aspx#comments</comments><description>&lt;P&gt;&lt;FONT face=verdana,geneva&gt;The hardware that makes up today’s laptops has gotten quite efficient and we have worked hard to improve Windows' ability to manage that hardware.&amp;nbsp; One of the biggest improvements in the mobile PC experience for Windows since the early 1990 is longer battery life.&amp;nbsp; The trick here is to make the system as efficient as possible while still maintaining a great user experience.&amp;nbsp; At the same time, the increased cost of electricity has become a key factor for enterprise customers who are under continued pressure to manage TCO (total cost of ownership).&amp;nbsp; As a result of all of these factors, we decided to make some extensive changes in the power management sub-system for Windows Vista.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=verdana,geneva&gt;The Windows Vista power management goals were simple:&amp;nbsp; 1) making turning a computer "off"/"on" as reliable, simple, and fast as turning off/on a TV, and 2) maximizing the active usage if on battery and reducing the energy consumption if on A/C power.&amp;nbsp; The first goal involved not only improving the predictability of the behavior when a PC was switched "off", but more importantly changing the model for what "off" and "on" means.&amp;nbsp; Everyone knows that turning a TV off doesn’t &lt;EM&gt;really&lt;/EM&gt; turn it &lt;EM&gt;off&lt;/EM&gt;.&amp;nbsp; It is still available to receive the remote control signal, etc. so that it can come back on quickly.&amp;nbsp; We wanted to emulate this for Windows Vista machines.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=verdana,geneva&gt;To the degree possible, "off" equals "sleep" in Windows Vista, where the system state is saved in RAM.&amp;nbsp; This creates the best balance of user experience for speed of resuming and lowest usage of power.&amp;nbsp; However, if the PC is running on batteries even that minimal power usage could drain the batteries eventually.&amp;nbsp; Remember the top goal here is to make sure that we can enable a fast on experience (like your cell phone) and a fast off experience, while still making sure that you don't lose your work when a Windows PC is turned off.&amp;nbsp; To do this, we created a new approach that we call "hybrid sleep state" that is the best of the sleep and hibernate modes (which existed separately in Windows XP).&amp;nbsp; In this hybrid mode, the state is stored both in RAM and on disk, so nothing can be lost if power goes out.&amp;nbsp; Then the system is suspended into the low powered sleep state for a period of time (like your cell phone).&amp;nbsp; Normally, when the user returns and wakes the machine, system state is just restored from RAM, and resume responsiveness to the user is fast.&amp;nbsp; However, if for some reason power is lost (for example, if the PC is unplugged to move it -- like you might move your TV), the system can still resume from the hibernate image previously saved to disk with all context and data intact.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=verdana,geneva&gt;While Hybrid Sleep can be used on a laptop computer, it isn’t as applicable to laptops for a couple of reasons.&amp;nbsp; First, a desktop is vulnerable to power loss, while a laptop can of course run on its internal battery.&amp;nbsp; A laptop can also detect or even wake up from standby when the battery is low so Windows can save everything to the disk before the battery is completely drained -- and remember, in the sleep state all the battery needs to do is to refresh the RAM, which takes very little power.&amp;nbsp; Also, mobile users want a grab-n-go usage model, so taking extra time after the laptop lid is closed spinning the disk to write out a potentially large hibernate file could be a problem.&amp;nbsp; Lastly, after a laptop has been in sleep for a while, the system will wake up and immediately go into the hibernate state.&amp;nbsp; This state uses absolutely no power, so even the minimal battery drain used in standby is removed.&amp;nbsp; If the system is in this power state when the user wants to use the system, then the system state is restored from disk.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=verdana,geneva&gt;In either case (suspend to RAM or disk), though,&amp;nbsp;the user conceptually just thinks of "on"/"off."&amp;nbsp; In the case that the machine hasn't been used for a long time, then the only difference to the user is that it just takes slightly longer to resume back to where they were.&amp;nbsp; As I mentioned, if the system is A/C-powered, then by default we leave the system in the sleep state (never going into hibernate) so that the machine can be virtually instantly available, but still have substantial power savings compared to past systems.&amp;nbsp; The bottom line is that because there is no reboot, the PC can respond much more quickly.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=verdana,geneva&gt;In order to ensure that "off" worked effectively with this new model, we needed to address some unpredictability that occurred with sleep in Windows XP.&amp;nbsp; Instead of waiting for each application, service and device to agree before going into power saving mode, in Windows Vista we changed the approach so that we give the application, services and devices a notice of the impending suspend and then wait a maximum of 2 seconds for them to finish up any work and put themselves into a state they can continue from when the system wakes up.&amp;nbsp; With Windows Vista there won’t be any more sinking feelings when the airplane is at 10,000 feet and you reached into your laptop bag to find the laptop all cozy and warm because it didn’t go into power saving mode when you were running for the plane -- caused because some device, service, or application wasn't well behaved.&amp;nbsp; One of the interesting things about the new power management system is that Windows Vista is able to come back from the sleep state so quickly that the first time you open the lid on a suspended Windows Vista laptop you might wonder if it was on the whole time -- trust, me it wasn’t.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=verdana,geneva&gt;Our second goal was to reduce the power consumption of PCs when they are idle.&amp;nbsp; In the past the few users who did shut down their PCs when not in use had to sit through a long boot process to get their PC back on.&amp;nbsp; However, many enterprises and home users just leave their PCs on 7x24.&amp;nbsp; While this is nice to be able to have the PC ready to respond when you sit down at it, powering a PC overnight just so it can be available to you when you sit down at 8AM is a pretty expensive approach.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=verdana,geneva&gt;In order to achieve the second objective -- reducing power usage -- we made changes to dr&lt;/FONT&gt;&lt;FONT face=verdana,geneva&gt;amatically improve idle power consumption.&amp;nbsp; &lt;/FONT&gt;&lt;FONT face=verdana,geneva&gt;The dream was to reduce power consumption by powering key components down more frequently and leaving them powered down for longer periods while still maintaining a great user experience.&amp;nbsp; For example, while Windows XP did a great job of lowering CPU speed and voltage whenever possible, in Windows Vista we added enhanced capabilities to use power more efficiently on multi-core systems.&amp;nbsp; And we have created new APIs so that driver and application developers can get notifications about the power scheme being used on the system and then adapt their behavior for the power scheme.&amp;nbsp; Finally, all of the power management configurations parameters can be controlled by the IT department (on a PC-by-PC basis) using Group Policy if they want to tweak the defaults, making corporate deployment of these features easily manageable.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=verdana,geneva&gt;How much power is used and how great the experience is depends on all the equipment and software attached to your system.&amp;nbsp; So, we created some great tools including the Power Event Monitoring tool to help develop and test applications, as well as some great &lt;A class="" href="http://www.microsoft.com/whdc/system/pnppwr/powermgmt/default.mspx"&gt;&lt;FONT color=#0066ff&gt;content&lt;/FONT&gt;&lt;/A&gt; for developers on power management.&amp;nbsp; We have also made the power management system extensible, so that instead of writing separate power management solutions, third parties including computer manufacturers can closely integrate their unique features and capabilities with Windows.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=verdana,geneva&gt;If you look at the impact in power-savings terms of the Windows Vista design, it is pretty amazing.&amp;nbsp; (BTW, there is a great &lt;A class="" href="http://www.microsoft.com/whdc/system/pnppwr/powermgmt/VistaEnergyConserv.mspx"&gt;&lt;FONT color=#0066ff&gt;white paper&lt;/FONT&gt;&lt;/A&gt; on this on Microsoft.com, but I will net it out for you here).&amp;nbsp; A typical Pentium 4 PC with a 17" LCD monitor draws about 102.6 watts of power (think about a 100 watt light bulb).&amp;nbsp; That same PC and display in a sleep state draws only 5.6 watts, or 97 fewer watts.&amp;nbsp; If you figure that a PC is used for active work for&amp;nbsp;10 hours a day, 5 days a week, 52 weeks per year, that is 2,600 operating hours. With 8,760 hours in a year (365*24), there are actually 6,160 potential idle hours per year.&amp;nbsp; Since sleep mode uses 97 fewer watts than full power mode, the total savings is 597 kWh per year -- and by the way, the impact is obviously even greater (760 kWh) if you use a CRT monitor since they draw more power than LCDs.&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face=verdana,geneva&gt;
&lt;P&gt;&lt;FONT face=verdana,geneva&gt;The paper uses an estimate of $0.0931 per kWh from the US Department of Energy, so for a home user with one PC, the savings amounts to $55.63/year (more if the PC is used less than 10 hours a day).&amp;nbsp; While that is great saving for a home user, think about an enterprise with 10,000 desktops where the potential cost savings would be $556,300/year -- and we haven’t even tried to estimate the HVAC savings.&amp;nbsp; With IT budgets becoming sequentially tighter year over year, it's nice to be able to have this kind of impact.&amp;nbsp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=verdana,geneva&gt;I would be remiss if I didn’t mention the fact that there is also a significant environmental impact as well.&amp;nbsp; The EPA estimates that every kWh of electricity generates 1.55 pounds carbon dioxide (CO2) emissions so each PC that moves to Windows Vista generates 926 fewer pounds of carbon dioxide or about 8% of what the EPA estimates that a typical car generates in the course of a year-- so for every 12 and a half PCs that are running with Windows Vista’s new power management capabilities, it’s like having one less car on the road.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=verdana,geneva&gt;I strongly encourage you to use the defaults in Windows Vista.&amp;nbsp; And no need to think much anymore about different power-saving modes and terms like hibernate, sleep, etc -- just hit the symbol for "on" and "off" and let the system do the thinking and power saving for you.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=verdana,geneva&gt;&lt;SPAN&gt;&lt;A href="http://windowsvistablog.com/photos/blog_photo_gallery/images/480697/original.aspx"&gt;&lt;IMG id=ctl00___ctl00___ctl00_ctl00_bcr_PictureDetails1___detailsImage_SmallThumb480697 height=68 alt="power switch" src="http://windowsvistablog.com/photos/blog_photo_gallery/images/480697/original.aspx" width=184 border=0&gt;&lt;/A&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=verdana,geneva&gt;jim&lt;/P&gt;&lt;/FONT&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://windowsteamblog.com/aggbug.aspx?PostID=480696" width="1" height="1"&gt;</description><category domain="http://windowsteamblog.com/blogs/windowsvista/archive/tags/Windows+Vista/default.aspx">Windows Vista</category><category domain="http://windowsteamblog.com/blogs/windowsvista/archive/tags/Jim+Allchin/default.aspx">Jim Allchin</category><category domain="http://windowsteamblog.com/blogs/windowsvista/archive/tags/Featured+News/default.aspx">Featured News</category><category domain="http://windowsteamblog.com/blogs/windowsvista/archive/tags/Power+Management/default.aspx">Power Management</category></item><item><title>How Windows Vista RTM Build Addresses Wireless Connectivity Issues</title><link>http://windowsteamblog.com/blogs/windowsvista/archive/2006/12/04/how-windows-vista-rtm-build-addresses-wireless-connectivity-issues.aspx</link><pubDate>Mon, 04 Dec 2006 22:37:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:480631</guid><dc:creator>jleznek</dc:creator><slash:comments>22</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://windowsteamblog.com/blogs/windowsvista/rsscomments.aspx?PostID=480631</wfw:commentRss><comments>http://windowsteamblog.com/blogs/windowsvista/archive/2006/12/04/how-windows-vista-rtm-build-addresses-wireless-connectivity-issues.aspx#comments</comments><description>&lt;P&gt;&lt;FONT face=verdana,geneva&gt;Wireless access is a key feature in Windows Vista, and it needs to work as reliably as possible for users.&amp;nbsp; In the final version of Windows Vista, the default power setting for 802.11 wireless adapters was changed to “Maximum Performance” to offer seamless wireless access experience and solve connectivity issues with certain access points. Users and OEMs can change the setting value to deliver additional power savings, if they want to further extend the battery life.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=verdana,geneva&gt;Context &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=verdana,geneva&gt;Test results from Microsoft and our customers show that some Windows Vista beta users experienced connectivity problems when connecting to public WiFi hotspots.&amp;nbsp; In many cases, the root cause of the problem is access point or router hardware which is not compatible with the 802.11 power save protocol.&amp;nbsp; The symptoms of the problem are either failing connections or extremely poor connection performance and throughput.&amp;nbsp; Typically, these problems are experienced only when the computer is on battery power—connecting to AC power solves the issue.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=verdana,geneva&gt;By default, Windows Vista enables many platform power management features, including wireless adapter power saving modes.&amp;nbsp; On all Windows Vista systems, the default power plan is Balanced, and pre-release versions of Windows Vista enabled Medium Power Savings for the 802.11 wireless adapter when the computer is on battery power.&amp;nbsp; When the computer is on AC power, Maximum Performance (no power savings) is enabled for the 802.11 wireless adapter.&amp;nbsp;&amp;nbsp; This explains why connecting to AC power solves the connectivity issue for many users, as did changing the power plan to High Performance or changing the wireless adapter power setting to Maximum Performance in Power Options.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=verdana,geneva&gt;When power save mode is enabled for an 802.11 wireless network adapter, the adapter periodically enters a low-power state where the radio transmitter and receiver are in “sleep” mode.&amp;nbsp; The wireless adapter in the computer (client adapter) indicates the “sleep” mode by setting the power save option in its packets or 802.11 frames sent to the access point. The access point receiving frames with the power save option set determines that the client adapter wishes to enter power save mode, and begins buffering packets for the client adapter while it is asleep. The client adapter’s radio periodically wakes up and communicates with the access point to retrieve the buffered packets. This scheme enables the wireless adapter to consume less power by sleeping and waking periodically, just at the right time to receive network traffic from the access point. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=verdana,geneva&gt;However, this power savings scheme for 802.11 wireless adapters depends on cooperation of the access point.&amp;nbsp; The problem is that many access points do not implement or support the power save feature correctly.&amp;nbsp; Some broken access points keep sending the packets to the client—even when the client adapter’s radio is asleep.&amp;nbsp; The packets sent to the client radio while it is asleep are lost, which leads to the connectivity, performance and throughput issues that some Windows Vista beta users were encountering.&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=verdana,geneva&gt;Wireless access is a key feature in Windows Vista, and it needs to work as reliably as possible for users.&amp;nbsp; In the final version of Windows Vista, the default power setting for the 802.11 wireless adapter is “Maximum Performance”.&amp;nbsp; This means, that by default, on battery power or on AC power, wireless adapters will not use power-saving modes.&amp;nbsp;&amp;nbsp; OEMs are able to change any power setting when they are building systems with Windows Vista, so the setting might be different on a machine released with Windows Vista.&amp;nbsp; The obvious downside to the power setting change is a potential decrease in computer battery life.&amp;nbsp; But, it may be difficult to diagnose the root cause of the wireless connectivity problem, so the wireless power setting was changed accordingly for the most common default case.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=verdana,geneva&gt;If you want to re-enable power savings for your 802.11 wireless adapter, you can easily do this in Windows Vista.&amp;nbsp; There are two primary ways:&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face=verdana,geneva&gt;Change the wireless power saving setting:&lt;/FONT&gt;&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face=verdana,geneva&gt;Open Power Options in Control Panel&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=verdana,geneva&gt;Choose Change Settings for the current power plan&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=verdana,geneva&gt;Choose Change Advanced Power Settings&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=verdana,geneva&gt;Expand Wireless Adapter Settings&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=verdana,geneva&gt;Expand Power Saving Mode&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=verdana,geneva&gt;Choose Maximum Power Saving, Medium Power Saving, Low Power Saving to enable various levels of 802.11 power save modes.&lt;/FONT&gt;&lt;FONT face=Verdana&gt;&lt;/FONT&gt;&lt;FONT face=Verdana&gt;&lt;/FONT&gt;&lt;FONT face=Verdana&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;LI&gt;&lt;FONT face=verdana,geneva&gt;Choose the Power Saver power plan:&lt;/FONT&gt;&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face=verdana,geneva&gt;Click on the battery meter on the desktop and choose Power Saver.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=verdana,geneva&gt;The Power Saver plan has 802.11 power saving mode enabled for both battery and AC power.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;
&lt;P&gt;&lt;FONT face=verdana,geneva&gt;Microsoft is committed to both seamless wireless access and extended battery life.&amp;nbsp; We are actively working with industry partners to fix wireless access points so they work correctly with 802.11 power save mode.&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;===================&lt;/P&gt;
&lt;P&gt;UPDATE&lt;BR&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;I have seen a few articles written over the past few days regarding this post. Most seem to be focusing on the sentence that said the change made to default wireless settings could result in a “potential decrease in computer battery life.” I want to clarify that even with the wireless power management feature turned off for there should be no noticeable difference in battery life than what you get with Windows XP today; the native wireless power management feature is new in Windows Vista, and is therefore an added bonus to people’s overall battery life experience when in use. (&lt;SPAN style="COLOR:#1f497d;"&gt;&lt;A href="http://arstechnica.com/news.ars/post/20061211-8397.html"&gt;Ars Technica&lt;/A&gt;&lt;/SPAN&gt; got it right.) &lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;The true intent of the post was to let our beta testers know that we made connecting to wireless access points more reliable in the final version of Windows Vista. As I wrote in the original post, We are actively working with industry partners to fix wireless access points so they work correctly with 802.11 power save mode, and in the meantime we’ve optimized Windows Vista to deliver the best wireless experience possible. &lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://windowsteamblog.com/aggbug.aspx?PostID=480631" width="1" height="1"&gt;</description><category domain="http://windowsteamblog.com/blogs/windowsvista/archive/tags/Windows+Vista/default.aspx">Windows Vista</category><category domain="http://windowsteamblog.com/blogs/windowsvista/archive/tags/Wireless/default.aspx">Wireless</category><category domain="http://windowsteamblog.com/blogs/windowsvista/archive/tags/Featured+News/default.aspx">Featured News</category><category domain="http://windowsteamblog.com/blogs/windowsvista/archive/tags/Networking/default.aspx">Networking</category><category domain="http://windowsteamblog.com/blogs/windowsvista/archive/tags/Power+Management/default.aspx">Power Management</category></item></channel></rss>