×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Feb 2012
    Posts
    14

    Post Getting battery life programmatically in windows phone

    Hello guys
    I m developing an windows phone app which needs getting battery status programmatically.
    I have search a lot but never found a solution.
    So pls just tell me is it possible in windows phone having api that gives battery status.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    India
    Posts
    1,174

    Re: Getting battery life programmatically in windows phone

    Quote Originally Posted by sanjaygoyaljpr View Post
    Hello guys
    I m developing an windows phone app which needs getting battery status programmatically.
    I have search a lot but never found a solution.
    So pls just tell me is it possible in windows phone having api that gives battery status.
    No API is provided in the Windows Phone 7.1 SDK till now to fetch information of battery status.

  3. #3
    Registered User
    Join Date
    Jan 2009
    Posts
    19

    Re: Getting battery life programmatically in windows phone


  4. #4
    Registered User
    Join Date
    Mar 2012
    Posts
    3

    Re: Getting battery life programmatically in windows phone

    Agreed with Pooja. There is currently no API available. The max you could do is check if its on battery or power connected..

  5. #5
    Registered User
    Join Date
    Mar 2012
    Posts
    6

    Re: Getting battery life programmatically in windows phone

    There are few API's for the windows phone that get battery level details. But they are not exactly accurate

Similar Threads

  1. QML and life battery
    By doctor_yac in forum Qt
    Replies: 11
    Last Post: 2011-04-21, 20:46
  2. P2P and battery life?
    By simon.t.persson in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2007-07-20, 11:35
  3. Replies: 2
    Last Post: 2007-01-28, 21:24
  4. Battery Life
    By shaktisinha in forum Symbian
    Replies: 1
    Last Post: 2006-02-20, 20:41
  5. Battery life
    By TonyDay in forum General Development Questions
    Replies: 0
    Last Post: 2003-06-16, 22:02

Posting Permissions

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