electron/lib/browser/api/power-monitor.js

7 lines
215 B
JavaScript
Raw Normal View History

const EventEmitter = require('events').EventEmitter
const powerMonitor = process.atomBinding('power_monitor').powerMonitor
2016-01-12 02:40:23 +00:00
Object.setPrototypeOf(powerMonitor, EventEmitter.prototype)
2016-01-12 02:40:23 +00:00
module.exports = powerMonitor