Searched refs:batteryPercent (Results 1 – 2 of 2) sorted by relevance
746 int batteryPercent = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in onVendorSpecificHeadsetEvent() local749 batteryPercent = getBatteryLevelFromXEventVsc(args); in onVendorSpecificHeadsetEvent()752 batteryPercent = getBatteryLevelFromAppleBatteryVsc(args); in onVendorSpecificHeadsetEvent()755 if (batteryPercent != BluetoothDevice.BATTERY_LEVEL_UNKNOWN) { in onVendorSpecificHeadsetEvent()756 updateBatteryLevel(device, batteryPercent); in onVendorSpecificHeadsetEvent()758 batteryPercent) + "%"); in onVendorSpecificHeadsetEvent()
838 float batteryPercent = (100f * level) / scale; in isBatteryTooLowForEmergencyLocation() local847 "percent charged: " + batteryPercent + ", min required charge: " + threshold); in isBatteryTooLowForEmergencyLocation()848 return batteryPercent < threshold; in isBatteryTooLowForEmergencyLocation()