Searched refs:leftBattery (Results 1 – 1 of 1) sorted by relevance
1076 int leftBattery = -1; in getConnectionSummary() local1134 leftBattery = BluetoothUtils.getIntMetaData(mDevice, in getConnectionSummary()1141 if (isTwsBatteryAvailable(leftBattery, rightBattery)) { in getConnectionSummary()1159 if (isTwsBatteryAvailable(leftBattery, rightBattery) && !shortSummary) { in getConnectionSummary()1190 if (isTwsBatteryAvailable(leftBattery, rightBattery)) { in getConnectionSummary()1191 return mContext.getString(stringRes, Utils.formatPercentage(leftBattery), in getConnectionSummary()1201 private boolean isTwsBatteryAvailable(int leftBattery, int rightBattery) { in isTwsBatteryAvailable() argument1202 return leftBattery >= 0 && rightBattery >= 0; in isTwsBatteryAvailable()