Searched refs:mBatteryLevel (Results 1 – 5 of 5) sorted by relevance
59 private int mBatteryLevel = 100; field in PowerUI169 final int oldBatteryLevel = mBatteryLevel; in onReceive()170 mBatteryLevel = intent.getIntExtra(BatteryManager.EXTRA_LEVEL, 100); in onReceive()183 int bucket = findBatteryLevelBucket(mBatteryLevel); in onReceive()189 Slog.d(TAG, "level " + oldBatteryLevel + " --> " + mBatteryLevel); in onReceive()197 mWarnings.update(mBatteryLevel, bucket, mScreenOffTime); in onReceive()349 pw.println(Integer.toString(mBatteryLevel)); in dump()368 pw.println(Integer.toString(findBatteryLevelBucket(mBatteryLevel))); in dump()
92 private int mBatteryLevel; field in PowerNotificationWarnings130 mBatteryLevel = batteryLevel; in update()175 …final String percentage = NumberFormat.getPercentInstance().format((double) mBatteryLevel / 100.0); in showWarningNotification()320 if (DEBUG) Slog.d(TAG, "dismissing low battery warning: level=" + mBatteryLevel); in dismissLowBatteryWarning()337 "show low battery warning: level=" + mBatteryLevel in showLowBatteryWarning()
153 if (batteryLevel != mBatteryLevel) { in onTouch()154 mBatteryLevel = batteryLevel; in onTouch()305 private int mBatteryLevel; // 0 - 100 field in DemoModeController311 intent.putExtra("level", Integer.toString(mBatteryLevel));
346 private int mBatteryLevel; field in PowerManagerService1682 mBatteryLevel = mBatteryManagerInternal.getBatteryLevel(); in updateIsPoweredLocked()1690 + ", mBatteryLevel=" + mBatteryLevel); in updateIsPoweredLocked()1698 mIsPowered, mPlugType, mBatteryLevel); in updateIsPoweredLocked()2181 mBatteryLevelWhenDreamStarted = mBatteryLevel; in handleSandman()2199 && mBatteryLevel < mBatteryLevelWhenDreamStarted in handleSandman()2209 + "Battery level now: " + mBatteryLevel + "%."); in handleSandman()2262 && mBatteryLevel < mDreamsBatteryLevelMinimumWhenNotPoweredConfig) { in canDreamLocked()2267 && mBatteryLevel < mDreamsBatteryLevelMinimumWhenPoweredConfig) { in canDreamLocked()3180 pw.println(" mBatteryLevel=" + mBatteryLevel); in dumpInternal()[all …]
134 private int mBatteryLevel; field in MtpDatabase150 if (newLevel != mBatteryLevel) {151 mBatteryLevel = newLevel;