Searched refs:cutoffBattery (Results 1 – 2 of 2) sorted by relevance
434 public void setCutoffBattery(int cutoffBattery) { in setCutoffBattery() argument435 if (cutoffBattery < 0 || cutoffBattery > 100) { in setCutoffBattery()438 + "the value %s isn't within possible range (0-100).", cutoffBattery)); in setCutoffBattery()440 mCutoffBattery = cutoffBattery; in setCutoffBattery()
772 final Integer cutoffBattery = mCmd.getConfiguration() in checkDeviceBatteryLevel() local775 if (mInvocationContext.getDevice(deviceName) != null && cutoffBattery != null) { in checkDeviceBatteryLevel()785 if (0 < batteryLevel && batteryLevel < cutoffBattery) { in checkDeviceBatteryLevel()788 getName(), batteryLevel, cutoffBattery); in checkDeviceBatteryLevel()792 batteryLevel, cutoffBattery)); in checkDeviceBatteryLevel()