Searched refs:numberOfLevels (Results 1 – 1 of 1) sorted by relevance
861 int numberOfLevels = (Integer) args[2]; in getBatteryLevelFromXEventVsc() local862 if (batteryLevel < 0 || numberOfLevels <= 1 || batteryLevel > numberOfLevels) { in getBatteryLevelFromXEventVsc()865 numberOfLevels)); in getBatteryLevelFromXEventVsc()868 return batteryLevel * 100 / (numberOfLevels - 1); in getBatteryLevelFromXEventVsc()