2016-03-24 20:15:04 +00:00
|
|
|
const EventEmitter = require('events').EventEmitter
|
|
|
|
const powerMonitor = process.atomBinding('power_monitor').powerMonitor
|
2016-01-12 02:40:23 +00:00
|
|
|
|
2016-03-29 00:51:11 +00:00
|
|
|
Object.setPrototypeOf(powerMonitor, EventEmitter.prototype)
|
2016-01-12 02:40:23 +00:00
|
|
|
|
2016-03-24 20:15:04 +00:00
|
|
|
module.exports = powerMonitor
|