Searched refs:mAdaptiveEnabled (Results 1 – 1 of 1) sorted by relevance
82 private boolean mAdaptiveEnabled; field in BatterySaverController310 } else if (mAdaptiveEnabled) { in updatePolicyLevelLocked()324 || (mAdaptiveEnabled && mBatterySaverPolicy.shouldAdvertiseIsEnabled()); in isEnabled()334 return mFullEnabled || mAdaptiveEnabled; in isPolicyEnabled()346 return mAdaptiveEnabled; in isAdaptiveEnabled()377 if (mAdaptiveEnabled == enabled) { in setAdaptivePolicyEnabledLocked()380 mAdaptiveEnabled = enabled; in setAdaptivePolicyEnabledLocked()429 enabled = mFullEnabled || mAdaptiveEnabled; in handleBatterySaverStateChanged()435 mAdaptiveEnabled ? 1 : 0, // Now off or on. in handleBatterySaverStateChanged()441 mAdaptivePreviouslyEnabled = mAdaptiveEnabled; in handleBatterySaverStateChanged()[all …]