electron/atom/browser/api/lib/power-monitor.coffee

8 lines
168 B
CoffeeScript
Raw Normal View History

{EventEmitter} = require 'events'
{powerMonitor} = process.atomBinding 'power_monitor'
2013-08-03 07:58:59 +00:00
2014-04-17 09:13:17 +00:00
powerMonitor.__proto__ = EventEmitter.prototype
2013-08-03 07:58:59 +00:00
2014-04-17 09:13:17 +00:00
module.exports = powerMonitor