<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://code.msdn.microsoft.com/rss.xsl"?><rss version="2.0"><channel><title>Windows Mobile Webcast – Developing Battery-Friendly Applications</title><link>http://code.msdn.microsoft.com/WM24HoursPart5/Project/ProjectRss.aspx</link><description>One of the most compelling challenges every Mobile Device developer has to deal with is preserving battery life.</description><item><title>RELEASED: WindowsMobileBatteryFriendlyApps (Oct 13, 2009)</title><link>http://code.msdn.microsoft.com/WM24HoursPart5/Release/ProjectReleases.aspx?ReleaseId=3330</link><description></description><author></author><pubDate>Tue, 13 Oct 2009 05:19:14 GMT</pubDate><guid isPermaLink="false">RELEASED: WindowsMobileBatteryFriendlyApps (Oct 13, 2009) 20091013A</guid></item><item><title>CREATED RELEASE: WindowsMobileBatteryFriendlyApps (Oct 13, 2009)</title><link>http://code.msdn.microsoft.com/WM24HoursPart5/Release/ProjectReleases.aspx?ReleaseId=3330</link><description></description><author></author><pubDate>Tue, 13 Oct 2009 05:19:14 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: WindowsMobileBatteryFriendlyApps (Oct 13, 2009) 20091013A</guid></item><item><title>CREATED RELEASE: Developing Battery-Friendly Applications (Dec 03, 2008)</title><link>http://code.msdn.microsoft.com/WM24HoursPart5/Release/ProjectReleases.aspx?ReleaseId=1886</link><description></description><author></author><pubDate>Wed, 03 Dec 2008 02:50:26 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: Developing Battery-Friendly Applications (Dec 03, 2008) 20081203A</guid></item><item><title>RELEASED: Developing Battery-Friendly Applications (Dec 03, 2008)</title><link>http://code.msdn.microsoft.com/WM24HoursPart5/Release/ProjectReleases.aspx?ReleaseId=1886</link><description></description><author></author><pubDate>Wed, 03 Dec 2008 02:50:26 GMT</pubDate><guid isPermaLink="false">RELEASED: Developing Battery-Friendly Applications (Dec 03, 2008) 20081203A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/WM24HoursPart5/Wiki/View.aspx?title=Home&amp;version=2</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Resource Page Description&lt;/b&gt;&lt;br /&gt;One of the most compelling challenges every Mobile Device developer has to deal with is preserving battery life.
&lt;br /&gt; &lt;br /&gt;On this Code Gallery page you will find the accompanying sample code of the webcast titled &lt;a href="http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?culture=en-US&amp;amp;EventID=1032389577&amp;amp;CountryCode=US" class="externalLink"&gt;24 Hours of Windows Mobile Application Development: Developing Battery-Friendly Applications&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;The first sample available in the downloadable Visual Studio 2008 solution shows you how you can make use of the &lt;b&gt;Activated&lt;/b&gt; and &lt;b&gt;Deactivate&lt;/b&gt; events on a Form to temporarily stop activity in your application. The sample application shows a running clock, that temporarily is paused when the application is in the background. You can easily run this application in a Device Emulator. Set a breakpoint on the &lt;b&gt;t_Tick&lt;/b&gt; event handler and verify that the debugger will not break as long as the application is in the background.&lt;br /&gt; &lt;br /&gt;The second sample makes use of PowerManager to request a particular power need. This application makes use of functionality of &lt;a href="http://www.opennetcf.com/Products/SmartDeviceFramework/tabid/65/Default.aspx" class="externalLink"&gt;OpenNETCF’s Smart Device Framework&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; to easily allow using PowerManager from inside managed code. Changes in the state of PowerManager are displayed in a MessageBox. When you click the Test softkey, a test will run for 15 seconds. Try running this test on a physical Windows Mobile 6 Professional Device and see what happens if the device is switched to Idle. You will find that the application is paused until the device is powered up again, meaning the application does not have too much influence on the battery life. Play with the menu settings to prevent the device from going to idle. On a Windows Mobile 6 Standard Device, effects will be more dramatic, since these devices are either on or off. This means that an application that periodically wakes up will drain the battery as long as the device is switched on.&lt;br /&gt; &lt;br /&gt;For more information about dealing with batteries on Windows Mobile Device, you can take a look at Webcast in which we showed this sample code. The Webcast on Developing Battery-Friendly Applications is currently available for &lt;a href="http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?culture=en-US&amp;amp;EventID=1032389577&amp;amp;CountryCode=US" class="externalLink"&gt;on-demand viewing&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;/div&gt;</description><author>Maarten_MVP</author><pubDate>Wed, 03 Dec 2008 02:48:41 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20081203A</guid></item></channel></rss>