Searched refs:batteryIntent (Results 1 – 1 of 1) sorted by relevance
624 final Intent batteryIntent = mContext.registerReceiver(null, BATTERY_CHANGED_FILTER); in isDevicePluggedIn() local625 return batteryIntent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1) > 0; in isDevicePluggedIn()