See the Battery Status API documentation on MDN; if this doesn't help, let me know, so that we can fix the docs!
https://developer.mozilla.org/en-US/docs/Web/API/Battery_Status_API > On Nov 12, 2014, at 2:45 PM, Francesco Iovine <[email protected]> wrote: > > - how do I create a javascript "navigator.getBattery()" interface? Eric Shepherd Developer Documentation Lead Mozilla Developer Network <https://developer.mozilla.org/> Blog: http://www.bitstampede.com/ <http://www.bitstampede.com/>Twitter: http://twitter.com/sheppy <http://twitter.com/sheppy>
_______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
