Searched refs:isPowerSaver (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerUI.java | 267 boolean isPowerSaver = mPowerManager.isPowerSaveMode(); in maybeShowBatteryWarning() 292 mTimeRemaining, isPowerSaver, mBatteryStatus)) { in maybeShowBatteryWarning() 306 isPowerSaver)) { in maybeShowBatteryWarning() 315 int bucket, long timeRemaining, boolean isPowerSaver, int batteryStatus) { in shouldShowLowBatteryWarning() argument 318 return isEnhancedTrigger(plugged, timeRemaining, isPowerSaver, batteryStatus); in shouldShowLowBatteryWarning() 322 && !isPowerSaver in shouldShowLowBatteryWarning() 329 long timeRemaining, boolean isPowerSaver) { in shouldDismissLowBatteryWarning() argument 333 return isPowerSaver in shouldDismissLowBatteryWarning() 339 private boolean isEnhancedTrigger(boolean plugged, long timeRemaining, boolean isPowerSaver, in isEnhancedTrigger() argument 341 if (plugged || isPowerSaver || batteryStatus == BatteryManager.BATTERY_STATUS_UNKNOWN) { in isEnhancedTrigger()
|