Make batterystats logging readable
Make batterystats logging readable
Bug: 74146897
Test: verified by running telephony bugreport
Change-Id: Ic638af786d7674067af804cf4105b99380bd4edb
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index 3f7f6e9..3e7d2a0 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -1519,6 +1519,8 @@
SEC_TO_MSEC(10));
RunDumpsys("DUMPSYS", {"wifi"}, CommandOptions::WithTimeout(90).Build(),
SEC_TO_MSEC(10));
+ RunDumpsys("BATTERYSTATS", {"batterystats"}, CommandOptions::WithTimeout(90).Build(),
+ SEC_TO_MSEC(10));
printf("========================================================\n");
printf("== Running Application Services\n");
@@ -1527,12 +1529,6 @@
RunDumpsys("TELEPHONY SERVICES", {"activity", "service", "TelephonyDebugService"});
printf("========================================================\n");
- printf("== Checkins\n");
- printf("========================================================\n");
-
- RunDumpsys("CHECKIN BATTERYSTATS", {"batterystats", "-c"});
-
- printf("========================================================\n");
printf("== dumpstate: done (id %d)\n", ds.id_);
printf("========================================================\n");
}