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