none
Accessing Battery/Power/Running tasks,etc with winrt

    Question

  • Can someone point me at the winrt calls that are used to find device specific information that might be used in a performance monitoring app.  That is, tasks running, cpu used, battery level, battery lifetime etc.

    Thanks


    Peter Kellner http://peterkellner.net Microsoft MVP • ASPInsider

    Friday, February 10, 2012 5:01 PM

Answers

All replies

  • Hi Peter,

    That isn't the sort of information that is available to Metro style apps. You would need to write that app as a desktop app.

    --Rob

    Thursday, February 16, 2012 9:42 PM
  • Rob, Are you sure? that means that all the apps that dev's like me write for the IPad and Android tablets that monitor power information will only be able to be provided by Microsoft? Somehow, that does not seem like it could be correct.  I'm talking about windows 8 tablets with only winrt, not desktop computers or notebooks that have win32.

    Peter Kellner http://peterkellner.net Microsoft MVP • ASPInsider

    Thursday, February 16, 2012 9:53 PM
  • Peter

           Were you able find any WinRT APIs that support querying Battery/Power information?

    Thank you

    PB

    Monday, April 23, 2012 10:06 PM
  • No I was not. I still would like to know.

    Peter Kellner http://peterkellner.net Microsoft MVP • ASPInsider

    Monday, April 23, 2012 11:30 PM
  • Now that RT has shipped, and I see zero apps to help me get a status of my battery life, I'm thinking about writing a Modern UI tile to display this.  But I am guessing the answer is still NO access to GetSystemPowerStatus API?

    Tuesday, January 08, 2013 6:57 PM