Searched refs:batteryCapacity (Results 1 – 1 of 1) sorted by relevance
65 private var batteryCapacity = 1.0f variable114 if (batteryState.capacity == batteryCapacity || batteryState.capacity <= 0f) in updateBatteryState()117 batteryCapacity = batteryState.capacity in updateBatteryState()119 "Updating notification battery state to $batteryCapacity " + in updateBatteryState()159 NumberFormat.getPercentInstance().format(batteryCapacity) in showOrUpdateNotification()169 debugLog { "Show or update USI low battery notification at $batteryCapacity." } in showOrUpdateNotification()175 return batteryCapacity <= LOW_BATTERY_THRESHOLD in isBatteryBelowThreshold()239 (batteryCapacity * 100.0).toInt() in logUiEvent()