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

Commit dd072698 authored by Dmitri Plotnikov's avatar Dmitri Plotnikov
Browse files

Check disable_system_service_power_attr flag

Bug: 325264101
Test: presubmit with disable_system_service_power_attr flag on
Change-Id: Ic067a8fe420718407e7bb4932d3091e015c61a72
parent 9e3b6391
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -13854,7 +13854,9 @@ public class BatteryStatsImpl extends BatteryStats {
            mNumAllUidCpuTimeReads += 2;
        }
        if (!Flags.disableSystemServicePowerAttr()) {
            updateSystemServerThreadStats();
        }
        if (powerAccumulator != null) {
            updateCpuEnergyConsumerStatsLocked(cpuClusterChargeUC, powerAccumulator);