summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Sooraj Sasindran <sasindran@google.com> 2018-03-09 13:26:39 -0800
committer Sooraj Sasindran <sasindran@google.com> 2018-03-09 22:40:09 +0000
commit963b04fa5c8f30e01e648bb1f1b37c0a8ac1a964 (patch)
tree290019282a7a5996eb1f8e9c33ca66962f910cea
parentb15829adaa2304676f935bf49edb78c1a42ae6e5 (diff)
Add battery stats to telephony bugreport
Add battery stats to telephony bugreport Test: verified by triggering telephony bugreport Bug:74211680 Change-Id: I2d2dfc144fd6f0faa81583808d5f7cc3bf9841e8
-rw-r--r--cmds/dumpstate/dumpstate.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index d8bbdbb5f6..371533c4db 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -1506,6 +1506,12 @@ static void DumpstateTelephonyOnly() {
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");
}