title: Is it possible to access a mobile devices battery status or charge via a web browser api?
body: <p>I've spend some time looking around to see if it is possible to access a mobile devices battery status or charge via a web browser api but haven't found any resources or really anything even discussing this topic. This makes me believe it's not possible as it isn't in the spec of whatever reason (security?).</p>
  
  <p>Either way I've found that it is possible to get the battery status / charge percentage with iOS, Cordova, Phonegap, Appcelerator etc.. all of which has an API I might be able to get to work might work for what I am looking into developing. However all of these solutions still would required the app to run as native app — I'm hoping to be able to run it in browser on the device.</p>
  
  <p>Is this possible? If so, what browser API should I be looking into?</p>