summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2015-07-30 16:36:29 -0700
committerAdam Lesinski <adamlesinski@google.com>2015-07-30 23:50:10 +0000
commit782327bde70bfb92352a0270baeae04361b6e9c2 (patch)
treed745420be934ee78ac30e1622af17d3e650bd48b
parent25ffc7ad950d9b2857abe9cb66ed53aed7a18ecf (diff)
downloadframeworks_base-782327bde70bfb92352a0270baeae04361b6e9c2.zip
frameworks_base-782327bde70bfb92352a0270baeae04361b6e9c2.tar.gz
frameworks_base-782327bde70bfb92352a0270baeae04361b6e9c2.tar.bz2
BatteryStats: include mobile radio active count and unknown time in checkin
These are important values to help diagnose modem related wakeup issues. Bug:22803686 Bug:22857991 Change-Id: Ie0164ebd194567bc10d1165d671a583674a39829
-rw-r--r--core/java/android/os/BatteryStats.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/os/BatteryStats.java b/core/java/android/os/BatteryStats.java
index ecb7f5a..80169a9 100644
--- a/core/java/android/os/BatteryStats.java
+++ b/core/java/android/os/BatteryStats.java
@@ -2615,7 +2615,9 @@ public abstract class BatteryStats implements Parcelable {
getMobileRadioActiveAdjustedTime(which) / 1000, interactiveTime / 1000,
powerSaveModeEnabledTime / 1000, connChanges, deviceIdleModeEnabledTime / 1000,
getDeviceIdleModeEnabledCount(which), deviceIdlingTime / 1000,
- getDeviceIdlingCount(which));
+ getDeviceIdlingCount(which),
+ getMobileRadioActiveCount(which),
+ getMobileRadioActiveUnknownTime(which) / 1000);
// Dump screen brightness stats
Object[] args = new Object[NUM_SCREEN_BRIGHTNESS_BINS];