Searched refs:leftBattery (Results 1 – 1 of 1) sorted by relevance
849 int leftBattery = -1; in getConnectionSummary() local901 leftBattery = BluetoothUtils.getIntMetaData(mDevice, in getConnectionSummary()908 if (isTwsBatteryAvailable(leftBattery, rightBattery)) { in getConnectionSummary()923 if (isTwsBatteryAvailable(leftBattery, rightBattery) && !shortSummary) { in getConnectionSummary()936 if (isTwsBatteryAvailable(leftBattery, rightBattery)) { in getConnectionSummary()937 return mContext.getString(stringRes, Utils.formatPercentage(leftBattery), in getConnectionSummary()947 private boolean isTwsBatteryAvailable(int leftBattery, int rightBattery) { in isTwsBatteryAvailable() argument948 return leftBattery >= 0 && rightBattery >= 0; in isTwsBatteryAvailable()