OSDN Git Service

BatteryStats: include mobile radio active count and unknown time in checkin
authorAdam Lesinski <adamlesinski@google.com>
Thu, 30 Jul 2015 23:36:29 +0000 (16:36 -0700)
committerAdam Lesinski <adamlesinski@google.com>
Thu, 30 Jul 2015 23:50:10 +0000 (23:50 +0000)
These are important values to help diagnose modem related wakeup issues.

Bug:22803686
Bug:22857991
Change-Id: Ie0164ebd194567bc10d1165d671a583674a39829

core/java/android/os/BatteryStats.java

index ecb7f5a..80169a9 100644 (file)
@@ -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];