mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-18 19:32:18 +03:00
1 line
325 B
JavaScript
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(); |