Lines Matching refs:bucket
106 * the bucket going up when the battery level was going down. --joeo
160 int bucket = findBatteryLevelBucket(mBatteryLevel);
170 Slog.d(TAG, "bucket " + oldBucket + " --> " + bucket);
174 mWarnings.update(mBatteryLevel, bucket, mScreenOffTime);
189 && (bucket < oldBucket || oldPlugged)
191 && bucket < 0) {
192 // only play SFX when the dialog comes up or the bucket changes
193 final boolean playSound = bucket != oldBucket || oldPlugged;
195 } else if (isPowerSaver || plugged || (bucket > oldBucket && bucket > 0)) {
236 pw.print("bucket: ");
242 void update(int batteryLevel, int bucket, long screenOffTime);