Update power-monitor.md

This commit is contained in:
Tom Moor 2015-04-15 08:17:10 -07:00
parent 378e56e254
commit 2de9123cfd

View file

@ -8,10 +8,9 @@ An example is:
```javascript
var app = require('app');
var powerMonitor = require('power-monitor');
app.on('ready', function() {
powerMonitor.on('suspend', function() {
require('power-monitor').on('suspend', function() {
console.log('The system is going to sleep');
});
});