Searched refs:leftBattery (Results 1 – 1 of 1) sorted by relevance
831 int leftBattery = -1; in getConnectionSummary() local883 leftBattery = 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()919 return mContext.getString(stringRes, Utils.formatPercentage(leftBattery), in getConnectionSummary()929 private boolean isTwsBatteryAvailable(int leftBattery, int rightBattery) { in isTwsBatteryAvailable() argument930 return leftBattery >= 0 && rightBattery >= 0; in isTwsBatteryAvailable()