Lines Matching defs:batteryLevel
3124 int batteryLevel = intent.getIntExtra("level", -1);3126 if (batteryLevel == -1 || scale == -1 || scale == 0) {3127 Log.e(TAG, "Bad Battery Changed intent: " + batteryLevel + "," + scale);3130 batteryLevel = batteryLevel * 5 / scale;3131 mPhoneState.setBatteryCharge(batteryLevel);