MeshCentral/agents/modules_meshcore_min/power-monitor.min.js
2019-03-04 23:49:20 -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();