Searched refs:rightBattery (Results 1 – 1 of 1) sorted by relevance
832 int rightBattery = -1; in getConnectionSummary() local885 rightBattery = BluetoothUtils.getIntMetaData(mDevice, in getConnectionSummary()890 if (isTwsBatteryAvailable(leftBattery, rightBattery)) { in getConnectionSummary()905 if (isTwsBatteryAvailable(leftBattery, rightBattery) && !shortSummary) { in getConnectionSummary()918 if (isTwsBatteryAvailable(leftBattery, rightBattery)) { in getConnectionSummary()920 Utils.formatPercentage(rightBattery)); in getConnectionSummary()929 private boolean isTwsBatteryAvailable(int leftBattery, int rightBattery) { in isTwsBatteryAvailable() argument930 return leftBattery >= 0 && rightBattery >= 0; in isTwsBatteryAvailable()