Searched refs:batteryPercentage (Results 1 – 2 of 2) sorted by relevance
162 public Builder setBatteryPercentage(@IntRange(from = 0, to = 100) int batteryPercentage) { in setBatteryPercentage()163 mBatteryPercentage = batteryPercentage; in setBatteryPercentage()217 int batteryPercentage, int connectionStrength) { in validate() argument223 if (batteryPercentage < 0 || batteryPercentage > 100) { in validate()232 @NonNull String modelName, int batteryPercentage, boolean isBatteryCharging, in NetworkProviderInfo() argument234 validate(deviceType, deviceName, modelName, batteryPercentage, connectionStrength); in NetworkProviderInfo()238 mBatteryPercentage = batteryPercentage; in NetworkProviderInfo()
92 float batteryPercentage = calculateBatteryPercentage(batteryStatus); in isBatteryLevelSufficient() local96 ? batteryPercentage >= mConstants.BATTERY_THRESHOLD_CHARGING in isBatteryLevelSufficient()97 : batteryPercentage >= mConstants.BATTERY_THRESHOLD_NOT_CHARGING; in isBatteryLevelSufficient()