2016-05-15 13:41:30 +00:00
|
|
|
const {EventEmitter} = require('events')
|
2016-08-02 11:38:35 +00:00
|
|
|
const {powerMonitor, PowerMonitor} = process.atomBinding('power_monitor')
|
2016-01-12 02:40:23 +00:00
|
|
|
|
2016-08-02 11:38:35 +00:00
|
|
|
Object.setPrototypeOf(PowerMonitor.prototype, EventEmitter.prototype)
|
2016-01-12 02:40:23 +00:00
|
|
|
|
2016-03-24 20:15:04 +00:00
|
|
|
module.exports = powerMonitor
|