browser-battery
Get and watch battery information in a browser
Currently working in Chrome, Firefox and Opera.
Install
$ npm install --save browser-battery
Usage
const browserBattery = ; ; // Use the event listeners;
Related
- battery-level - Get current battery level (OS X, Linux and Windows)
License
MIT © Andreas Gillström