locked
How to get battery life value for Metro UI?

    Question

  • I want to monitor the battery status/value of the notebook under Metro UI.

    which API should I use? or any solution cat i use?

    Tuesday, March 20, 2012 8:06 AM

Answers

  • I don't believe that is available to Metro style apps. The information is always available on the settings pane, so the user can find it easily in any app.

    What are you trying to achieve with this information?

    --Rob

    • Marked as answer by Jameshc_chen Wednesday, March 21, 2012 5:31 AM
    Tuesday, March 20, 2012 3:15 PM
    Owner

All replies

  • I don't believe that is available to Metro style apps. The information is always available on the settings pane, so the user can find it easily in any app.

    What are you trying to achieve with this information?

    --Rob

    • Marked as answer by Jameshc_chen Wednesday, March 21, 2012 5:31 AM
    Tuesday, March 20, 2012 3:15 PM
    Owner
  • One use I could imagine would be disabling certain app components when battery runs low... 
    Tuesday, March 20, 2012 3:26 PM