MeshCentral/agents/modules_meshcore_min/power-monitor.min.js
2019-09-23 16:47:08 -07: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();