Merge "Use the non-chained interface for mobile/wifi power atoms." into pi-dev
am: ac10be860f
Change-Id: Ib9f3929788d24e010e1315af6524eb7434c2ca83
This commit is contained in:
committed by
android-build-merger
commit
8e773ac198
@@ -5072,7 +5072,8 @@ public class BatteryStatsImpl extends BatteryStats {
|
||||
+ Integer.toHexString(mHistoryCur.states));
|
||||
addHistoryRecordLocked(elapsedRealtime, uptime);
|
||||
mMobileRadioPowerState = powerState;
|
||||
StatsLog.write(StatsLog.MOBILE_RADIO_POWER_STATE_CHANGED, uid, powerState);
|
||||
StatsLog.write_non_chained(StatsLog.MOBILE_RADIO_POWER_STATE_CHANGED, uid, null,
|
||||
powerState);
|
||||
if (active) {
|
||||
mMobileRadioActiveTimer.startRunningLocked(elapsedRealtime);
|
||||
mMobileRadioActivePerAppTimer.startRunningLocked(elapsedRealtime);
|
||||
@@ -5825,7 +5826,8 @@ public class BatteryStatsImpl extends BatteryStats {
|
||||
+ Integer.toHexString(mHistoryCur.states));
|
||||
addHistoryRecordLocked(elapsedRealtime, uptime);
|
||||
mWifiRadioPowerState = powerState;
|
||||
StatsLog.write(StatsLog.WIFI_RADIO_POWER_STATE_CHANGED, uid, powerState);
|
||||
StatsLog.write_non_chained(StatsLog.WIFI_RADIO_POWER_STATE_CHANGED, uid, null,
|
||||
powerState);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user