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

7 lines
193 B
JavaScript
Raw Normal View History

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