MeshCentral/agents/modules_meshcore_min/power-monitor.min.js
2019-01-31 10:32:26 -08:00

1 line
325 B
JavaScript

function powerMonitor(){this._ObjectID="power-monitor";require("events").EventEmitter.call(this,true).createEvent("changed").createEvent("sx").createEvent("batteryLevel").createEvent("acdc").createEvent("display");this._i=setImmediate(function(a){require("user-sessions");delete a._i},this)}module.exports=new powerMonitor();