2016-01-14 21:18:52 +00:00
|
|
|
const EventEmitter = require('events').EventEmitter;
|
|
|
|
const powerMonitor = process.atomBinding('power_monitor').powerMonitor;
|
2016-01-12 02:40:23 +00:00
|
|
|
|
|
|
|
powerMonitor.__proto__ = EventEmitter.prototype;
|
|
|
|
|
|
|
|
module.exports = powerMonitor;
|