Home
last modified time | relevance | path

Searched refs:batteryPercent (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DRemoteDevices.java1476 int batteryPercent = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in onVendorSpecificHeadsetEvent() local
1479 batteryPercent = getBatteryLevelFromXEventVsc(args); in onVendorSpecificHeadsetEvent()
1482 batteryPercent = getBatteryLevelFromAppleBatteryVsc(args); in onVendorSpecificHeadsetEvent()
1485 if (batteryPercent != BluetoothDevice.BATTERY_LEVEL_UNKNOWN) { in onVendorSpecificHeadsetEvent()
1486 updateBatteryLevel(device, batteryPercent, /* isBas= */ false); in onVendorSpecificHeadsetEvent()
1491 + String.valueOf(batteryPercent) in onVendorSpecificHeadsetEvent()
/packages/apps/Dialer/java/com/android/incallui/
DCallCardPresenter.java838 float batteryPercent = (100f * level) / scale; in isBatteryTooLowForEmergencyLocation() local
847 "percent charged: " + batteryPercent + ", min required charge: " + threshold); in isBatteryTooLowForEmergencyLocation()
848 return batteryPercent < threshold; in isBatteryTooLowForEmergencyLocation()