summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-10-01 14:55:42 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-10-01 14:55:42 +0000
commit289cf1ce14a142f49141031acf00484621d690a0 (patch)
tree9e7f6f18dec3bd1b3be10138c4bc9021824c3610
parent4cd25fc2a5b80ef0f6e6ccff3f390b7495a0e9af (diff)
parent769babbb7b07bbaf382cbb94ea4ae99e920fdef2 (diff)
downloadnative-289cf1ce14a142f49141031acf00484621d690a0.tar.gz
Merge "Add batterystats -c data to telephony bugreports"
-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 240fb74f42..f574b038d2 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -1431,6 +1431,12 @@ static void DumpstateTelephonyOnly() {
DUMPSYS_COMPONENTS_OPTIONS);
printf("========================================================\n");
+ printf("== Checkins\n");
+ printf("========================================================\n");
+
+ RunDumpsys("CHECKIN BATTERYSTATS", {"batterystats", "-c"});
+
+ printf("========================================================\n");
printf("== dumpstate: done (id %d)\n", ds.id_);
printf("========================================================\n");
}