{"id":16263,"date":"2009-10-26T07:00:01","date_gmt":"2009-10-26T07:00:01","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2009\/10\/26\/why-wont-my-computer-go-to-sleep-where-is-the-energy-going\/"},"modified":"2009-10-26T07:00:01","modified_gmt":"2009-10-26T07:00:01","slug":"why-wont-my-computer-go-to-sleep-where-is-the-energy-going","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20091026-01\/?p=16263","title":{"rendered":"Why won&#039;t my computer go to sleep?  Where is the energy going?"},"content":{"rendered":"<p>The <code>powercfg<\/code> utility <a href=\"http:\/\/blogs.msdn.com\/oldnewthing\/archive\/2008\/02\/13\/7658352.aspx\"> has been around for a while<\/a>, but in Windows&nbsp;7, it gained a little bit more awesome.\n <a href=\"http:\/\/blogs.technet.com\/jamesone\/archive\/2009\/02\/18\/testing-windows-7-on-a-laptop-try-this.aspx\"> <code>powercfg \/energy<\/code><\/a> will analyze your computer&#8217;s power consumption and report on things like devices that prevent the computer from sleeping, devices which won&#8217;t suspend, and processes which are increasing your battery drain.<\/p>\n<p> Another neat flag is <code>powercfg \/requests<\/code> which will report on why your computer can&#8217;t go to sleep, for example, because it has open files on the network, or because the clown will eat it. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>The powercfg utility has been around for a while, but in Windows&nbsp;7, it gained a little bit more awesome. powercfg \/energy will analyze your computer&#8217;s power consumption and report on things like devices that prevent the computer from sleeping, devices which won&#8217;t suspend, and processes which are increasing your battery drain. Another neat flag is [&hellip;]<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[104],"class_list":["post-16263","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-tipssupport"],"acf":[],"blog_post_summary":"<p>The powercfg utility has been around for a while, but in Windows&nbsp;7, it gained a little bit more awesome. powercfg \/energy will analyze your computer&#8217;s power consumption and report on things like devices that prevent the computer from sleeping, devices which won&#8217;t suspend, and processes which are increasing your battery drain. Another neat flag is [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/16263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=16263"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/16263\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=16263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=16263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=16263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}