Searched refs:numberOfLevels (Results 1 – 1 of 1) sorted by relevance
1586 int numberOfLevels = (Integer) args[2]; in getBatteryLevelFromXEventVsc() local1587 if (batteryLevel < 0 || numberOfLevels <= 1 || batteryLevel > numberOfLevels) { in getBatteryLevelFromXEventVsc()1593 + String.valueOf(numberOfLevels)); in getBatteryLevelFromXEventVsc()1596 return batteryLevel * 100 / (numberOfLevels - 1); in getBatteryLevelFromXEventVsc()