Lines Matching refs:plugged
64 * <p>"plugged" - int, 0 if the device is not plugged in; 1 if plugged
65 * into an AC power adapter; 2 if plugged in via USB.</p>
152 // assume we are powered if battery state is unknown so the "stay on while plugged in" option will work.
158 // the "stay on while plugged in" option will work.
313 final boolean plugged = mPlugType != BATTERY_PLUGGED_NONE;
317 * - is just un-plugged (previously was plugged) and battery level is
319 * - is not plugged and battery level falls to WARNING boundary
322 final boolean sendBatteryLow = !plugged