Is there anyway to get the battery level for Lumia 800 devices? Any API packages available or can we get that using assembly language in our codes?
Is there anyway to get the battery level for Lumia 800 devices? Any API packages available or can we get that using assembly language in our codes?
There is no way to know the level. Only if its plugged in or not.
More info here: http://msdn.microsoft.com/en-us/libr...=vs.92%29.aspx
You can vote to get this feature included on future versions of the API here : http://wpdev.uservoice.com/forums/11...evel-and-usage
Cheers
João Cardoso
Its probably one of the changes we will see with Windows Phone 8. As a guess I would assume that MS will open up the API quite a bit and you will be able to get more information from the device.
For now thats all we have, and I dont see any indication that they will change the API for Windows Phone 7.8.
Cheers
João Cardoso
i tried playing with DllImport last 3 months, but really not suggested (by fellow developers) so I dump that development... even I make it not sure it will be approved in market.
Check this : http://stackoverflow.com/questions/6...-in-net-cf-3-5
best regards,
rahul
No way to do that for the moment on WP7. You can only detect is you are on battery or on power supply I think.