Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User mokkymokky's Avatar
    Join Date
    Jul 2012
    Posts
    2
    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 joaocardoso's Avatar
    Join Date
    Feb 2011
    Location
    Portugal
    Posts
    511
    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
    Cheers

    João Cardoso

  3. #3
    Registered User mokkymokky's Avatar
    Join Date
    Jul 2012
    Posts
    2
    Voted, I guess we'll just have to wait now...

    Thanks
    Ed.

  4. #4
    Nokia Developer Moderator joaocardoso's Avatar
    Join Date
    Feb 2011
    Location
    Portugal
    Posts
    511
    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.
    Cheers

    João Cardoso

  5. #5
    Nokia Developer Champion polturtle's Avatar
    Join Date
    Oct 2010
    Location
    Singapore
    Posts
    149
    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
    Nokia Developer Champion rahulvala's Avatar
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,294

  7. #7
    Nokia Developer Moderator joaocardoso's Avatar
    Join Date
    Feb 2011
    Location
    Portugal
    Posts
    511
    Quote Originally Posted by rahulvala View Post
    That's for Windows Mobile, not Windows Phone
    Cheers

    João Cardoso

  8. #8
    Nokia Developer Champion amlimonet's Avatar
    Join Date
    May 2012
    Posts
    23
    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 polturtle's Avatar
    Join Date
    Oct 2010
    Location
    Singapore
    Posts
    149
    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 C++
    Replies: 18
    Last Post: 2010-01-26, 21:19
  5. battery level
    By Bhoopathi Kummara in forum Symbian C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved