Accessing Battery/Power/Running tasks,etc with winrt
-
viernes, 10 de febrero de 2012 17:01
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
- Cambiado Rob CaplanMicrosoft Employee, Moderator viernes, 10 de febrero de 2012 19:52 (From:Tools for Metro style apps )
Todas las respuestas
-
jueves, 16 de febrero de 2012 21:42Moderador
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
- Marcado como respuesta Eric Hanson-MSFTMicrosoft Employee, Moderator miércoles, 23 de mayo de 2012 23:00
-
jueves, 16 de febrero de 2012 21:53Rob, 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
-
lunes, 23 de abril de 2012 22:06
Peter
Were you able find any WinRT APIs that support querying Battery/Power information?
Thank you
PB
-
lunes, 23 de abril de 2012 23:30No I was not. I still would like to know.
Peter Kellner http://peterkellner.net Microsoft MVP • ASPInsider
-
martes, 08 de enero de 2013 18:57
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?

