Home
last modified time | relevance | path

Searched refs:mFullEnabled (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverController.java79 private boolean mFullEnabled; field in BatterySaverController
296 if (mFullEnabled == enable) { in enableBatterySaver()
299 mFullEnabled = enable; in enableBatterySaver()
308 if (mFullEnabled) { in updatePolicyLevelLocked()
323 return mFullEnabled in isEnabled()
334 return mFullEnabled || mAdaptiveEnabled; in isPolicyEnabled()
340 return mFullEnabled; in isFullEnabled()
429 enabled = mFullEnabled || mAdaptiveEnabled; in handleBatterySaverStateChanged()
434 mFullEnabled ? 1 : 0, // Now off or on. in handleBatterySaverStateChanged()
440 mFullPreviouslyEnabled = mFullEnabled; in handleBatterySaverStateChanged()
[all …]