Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All

I've been trying to get informatin from my windows mobile 6 application, but hasn't worked to my satisfaction.
For the battery status, all I could get was intervals in which the battery falls (very low, low, medium, high, very high).
This is not very useful, as I want to know the exact percentage (the same as when you check the battery level on the mobile itself).
Is this at all possible?
The code I have been using is:
SystemState.PowerBatteryStrength

and
SystemState.PowerBatteryState


Thanks for the assistance in advance! :thumbsup:
Posted

1 solution

It's easily done. I put an article here on CodeProject.com a few years about that. It also seems to be the #1 search result for "Windows Mobile Power Management" in any search engine. You can find it here: http://www.codeproject.com/KB/windows/WiMoPower1.aspx
 
Share this answer
 
Comments
EvanSaunders 23-Jul-10 1:03am    
Hi There

Thanks for the response and suggestion.
I found the link very useful.
All that is left is to filter out the code to get just what is needed, hopefully that won't be too much of a problem.

Thanks Again! :thumbsup:

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900