Click here to get back home

How to monitor battery life in a C# pocket pc device application

 HomeNewsGroups | Search | About
 microsoft.public.smartphone.developer    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
How to monitor battery life in a C# pocket pc device application BillE 06-18-2008
Posted by BillE on June 18, 2008, 3:52 pm
Please log in for more thread options
Hopefully I can ask pocket pc questions here also...

How can I monitor battery life from a c# pocket pc application ?

Thanks
Bill



Posted by Peter Foot on June 18, 2008, 4:53 pm
Please log in for more thread options
You can use the Microsoft.WindowsMobile.Status.SystemState class - this will
raise an event when a property changes - SystemProperty.PowerBatteryStrength
will give this in a variety of steps.

Peter

--
Peter Foot
Microsoft Device Application Development MVP
peterfoot.net | appamundi.com | inthehand.com
APPA Mundi Ltd - Software Solutions for a Mobile World
In The Hand Ltd - .NET Components for Mobility

> Hopefully I can ask pocket pc questions here also...
>
> How can I monitor battery life from a c# pocket pc application ?
>
> Thanks
> Bill
>


Posted by BillE on June 19, 2008, 8:56 am
Please log in for more thread options
Thanks

> You can use the Microsoft.WindowsMobile.Status.SystemState class - this
> will raise an event when a property changes -
> SystemProperty.PowerBatteryStrength will give this in a variety of steps.
>
> Peter
>
> --
> Peter Foot
> Microsoft Device Application Development MVP
> peterfoot.net | appamundi.com | inthehand.com
> APPA Mundi Ltd - Software Solutions for a Mobile World
> In The Hand Ltd - .NET Components for Mobility
>
>> Hopefully I can ask pocket pc questions here also...
>>
>> How can I monitor battery life from a c# pocket pc application ?
>>
>> Thanks
>> Bill
>>
>



Similar ThreadsPosted
can a C# application wake up a Pocket PC device? June 19, 2008, 11:21 am
Application compatibility between smartphone and pocket pc August 22, 2008, 4:21 am
memory usage limit in any pocket pc application July 24, 2005, 10:09 pm
How to ensure that only one instance of application runs on pocket May 25, 2007, 12:59 am
porting application from Pocket PC Phone Edition to Smartphome May 5, 2006, 3:09 am
How to dinamically hang up GPRS connection (Pocket PC 2003 Device) March 18, 2008, 8:28 pm
Monitor outgoing SMS July 12, 2007, 8:24 am
How do I monitor for the presence of a particuar window? January 15, 2006, 12:35 pm
Monitor and Control GPRS/G3 Data May 27, 2007, 4:04 am
low battery status November 28, 2005, 6:37 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap