Merge "BatteryStats: Enable bluetooth energy collection" into mnc-dev

This commit is contained in:
Adam Lesinski
2015-05-15 22:57:01 +00:00
committed by Android (Google) Code Review

View File

@@ -7721,7 +7721,7 @@ public final class BatteryStatsImpl extends BatteryStats {
* @param info The energy information from the bluetooth controller.
*/
public void updateBluetoothStateLocked(@Nullable final BluetoothActivityEnergyInfo info) {
if (info != null && mOnBatteryInternal && false) {
if (info != null && mOnBatteryInternal) {
mHasBluetoothEnergyReporting = true;
mBluetoothActivityCounters[CONTROLLER_RX_TIME].addCountLocked(
info.getControllerRxTimeMillis());