Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 719e61fa authored by Adam Lesinski's avatar Adam Lesinski
Browse files

BatteryStats: Enable bluetooth energy collection

Device firmware has been fixed and bluetooth energy values
should be correct now.

Change-Id: I9b9eff378d81e8de4a3f475c071a4ef26cc97f21
parent 038959e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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());