Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DBatteryService.java167 private int mLowBatteryWarningLevel; field in BatteryService
210 mLowBatteryWarningLevel = mContext.getResources().getInteger( in BatteryService()
212 mLowBatteryCloseWarningLevel = mLowBatteryWarningLevel + mContext.getResources().getInteger( in BatteryService()
317 mLastLowBatteryWarningLevel = mLowBatteryWarningLevel; in updateBatteryWarningLevelLocked()
318 mLowBatteryWarningLevel = Settings.Global.getInt(resolver, in updateBatteryWarningLevelLocked()
320 if (mLowBatteryWarningLevel == 0) { in updateBatteryWarningLevelLocked()
321 mLowBatteryWarningLevel = defWarnLevel; in updateBatteryWarningLevelLocked()
323 if (mLowBatteryWarningLevel < mCriticalBatteryLevel) { in updateBatteryWarningLevelLocked()
324 mLowBatteryWarningLevel = mCriticalBatteryLevel; in updateBatteryWarningLevelLocked()
326 mLowBatteryCloseWarningLevel = mLowBatteryWarningLevel + mContext.getResources().getInteger( in updateBatteryWarningLevelLocked()
[all …]