×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Jul 2013
    Posts
    39

    Smile How to get Temperature of Windows Phone Battery

    Hi,
    Recently, I started working on Windows Phone Platform.I would like to open a discussion on Phone Battery that’s bothering me since a while.Is there any API available to check the Phone Battery temperature? Any kind of help would be greatly appreciated.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: How to get Temperature of Windows Phone Battery

    AFAIK there are no API for this purpose. Anyway, just curious on knowing why would you need such an API ?

  3. #3
    Registered User
    Join Date
    Jan 2013
    Location
    Timisoara, Romania
    Posts
    14

    Re: How to get Temperature of Windows Phone Battery

    Hi,

    There is just a small Battery class, for basic usage.
    And about the temperature of the battery... I don't know any smartphone to do such a thing, because they need a temperature sensor on the battery. Or maybe some smartphones already have that sensor, I don't know for sure, but Windows Phones doesn't have such a thing, for sure.

  4. #4
    Registered User
    Join Date
    Jul 2013
    Posts
    39

    Re: How to get Temperature of Windows Phone Battery

    Android has an API which shows the Battery Temperature...So i guessed there might a way to get it in Windows Phones and the Battery class is not there in Windows Phone 7.1 ..
    Anyways thanks for the speedy reply...

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: How to get Temperature of Windows Phone Battery

    There is a fundamental difference when compared to Android: WP is just not open source, and that brings in a large selection of intentional or even unintentional restrictions. If Microsoft thought there is no need for a public API which reads the temperature sensor, then the story is pretty much over. Especially since WP7 is not really developed any more.

  6. #6
    Registered User
    Join Date
    Jul 2013
    Posts
    39

    Re: How to get Temperature of Windows Phone Battery

    I am trying to check the health of my phone battery..So, battery temperature value could be helpful..

  7. #7
    Registered User
    Join Date
    Dec 2012
    Location
    Zagreb, Croatia
    Posts
    73

    Re: How to get Temperature of Windows Phone Battery

    Unfortunately, as others have already said it, there simply is no such API and you are not able to get such low level access to the hardware. And it is not sure that Windows Phone devices have that capability at all.

  8. #8
    Regular Contributor
    Join Date
    Nov 2006
    Location
    Switzerland
    Posts
    476

    Re: How to get Temperature of Windows Phone Battery

    It's possible to retrieve detailed battery information, even such as the battery temperature. You can clearly see that from the Nokia Lumia on-device diagnostic tool: diag.png

    But unfortunately, we (currently??) don't know how to access this information...

  9. #9
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,538

    Re: How to get Temperature of Windows Phone Battery

    Quote Originally Posted by patrickfrei View Post
    It's possible to retrieve detailed battery information, even such as the battery temperature. You can clearly see that from the Nokia Lumia on-device diagnostic tool: diag.png
    Of course there would be many things possible to develop internally. The discussion here is general offering of relevant APIs to 3rd party application developers.

Similar Threads

  1. Getting battery life programmatically in windows phone
    By sanjaygoyaljpr in forum Windows Phone General
    Replies: 4
    Last Post: 2012-03-14, 14:38
  2. phone temperature
    By symsta in forum Symbian
    Replies: 2
    Last Post: 2008-10-06, 13:03
  3. Temperature sensor on mobile phone
    By patrickfrei in forum Symbian
    Replies: 1
    Last Post: 2007-08-28, 13:47
  4. Getting battery/phone temperature
    By patrickfrei in forum Symbian
    Replies: 2
    Last Post: 2007-01-09, 04:51
  5. Get battery temperature?
    By j2k in forum Symbian
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

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