(function(e,c,d){var b="Rho.Battery";var a=d.apiReqFor(b);function f(){var g=null;this.getId=function(){return g};if(1==arguments.length&&arguments[0][d.rhoIdParam()]){if(b!=arguments[0][d.rhoClassParam()]){throw"Wrong class instantiation!"}g=arguments[0][d.rhoIdParam()]}else{g=d.nextId()}}d.createPropsProxy(f.prototype,[],a,function(){return this.getId()});d.createMethodsProxy(f.prototype,[],a,function(){return this.getId()});d.createRawPropsProxy(f.prototype,[]);f.BATTERY_LAYOUT_DOWN="down";f.BATTERY_LAYOUT_LEFT="left";f.BATTERY_LAYOUT_RIGHT="right";f.BATTERY_LAYOUT_UP="up";f.BATTERY_TRIGGER_PERIODIC="periodic";f.BATTERY_TRIGGER_SYSTEM="system";f.SMART_BATTERY_HEALTHY="healthy";f.SMART_BATTERY_UNHEALTHY="unhealthy";f.SMART_BATTERY_UNKNOWN="unknown";d.createPropsProxy(f,[{propName:"refreshInterval",propAccess:"rw"},{propName:"tripDuration",propAccess:"rw"},{propName:"averageCurrentConsumption",propAccess:"rw"}],a);d.createMethodsProxy(f,[{methodName:"batteryStatus",nativeName:"batteryStatus",persistentCallbackIndex:1,valueCallbackIndex:3},{methodName:"stopBatteryStatus",nativeName:"stopBatteryStatus",valueCallbackIndex:0},{methodName:"smartBatteryStatus",nativeName:"smartBatteryStatus",persistentCallbackIndex:0,valueCallbackIndex:2},{methodName:"batteryDiagnostics",nativeName:"batteryDiagnostics",persistentCallbackIndex:0,valueCallbackIndex:2},{methodName:"showIcon",nativeName:"showIcon",valueCallbackIndex:1},{methodName:"hideIcon",nativeName:"hideIcon",valueCallbackIndex:0}],a);d.namespace(b,f)})(Rho.jQuery,Rho,Rho.util);