Sorry – your browser does not support the HTML5 Battery API.
For more information, please please refer to:
How to use the HTML5 Battery Status API
This example code was developed by Craig Buckler of OptimalWorks.net for SitePoint.com.
Please use it as you want, but a link to SitePoint or tweet to @craigbuckler is appreciated.