×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Jul 2012
    Posts
    2

    How to get battery level for Lumia 800

    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?

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2011
    Location
    Portugal
    Posts
    940

    Re: How to get battery level for Lumia 800

    Quote Originally Posted by mokkymokky View Post
    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

  3. #3
    Registered User
    Join Date
    Jul 2012
    Posts
    2

    Re: How to get battery level for Lumia 800

    Voted, I guess we'll just have to wait now...

    Thanks
    Ed.

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2011
    Location
    Portugal
    Posts
    940

    Re: How to get battery level for Lumia 800

    Quote Originally Posted by mokkymokky View Post
    Voted, I guess we'll just have to wait now...

    Thanks
    Ed.
    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.

  5. #5
    Nokia Developer Champion
    Join Date
    Oct 2010
    Location
    Singapore
    Posts
    221

    Re: How to get battery level for Lumia 800

    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.

  6. #6
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: How to get battery level for Lumia 800


  7. #7
    Nokia Developer Moderator
    Join Date
    Feb 2011
    Location
    Portugal
    Posts
    940

    Re: How to get battery level for Lumia 800

    Quote Originally Posted by rahulvala View Post
    That's for Windows Mobile, not Windows Phone

  8. #8
    Registered User
    Join Date
    May 2012
    Posts
    23

    Re: How to get battery level for Lumia 800

    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.

  9. #9
    Nokia Developer Champion
    Join Date
    Oct 2010
    Location
    Singapore
    Posts
    221

    Re: How to get battery level for Lumia 800

    Quote Originally Posted by joaocardoso View Post
    That's for Windows Mobile, not Windows Phone
    I missed windows mobile :-)

Similar Threads

  1. Developer Lumia 800 battery problems
    By maakuth in forum Windows Phone General
    Replies: 1
    Last Post: 2012-02-15, 13:42
  2. Unknown battery status on the Nokia Lumia 800
    By 79IT in forum Windows Phone General
    Replies: 1
    Last Post: 2012-01-21, 08:16
  3. Nokia Lumia 800 battery life
    By overrider in forum General Development Questions
    Replies: 20
    Last Post: 2011-12-04, 11:29
  4. How to get the battery level from 1% to 100%
    By fengwujiutian in forum Symbian
    Replies: 18
    Last Post: 2010-01-26, 21:19
  5. battery level
    By Bhoopathi Kummara in forum Symbian
    Replies: 1
    Last Post: 2007-12-29, 14:51

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×