Fix issue #10422349: Limit/change the battery history data in batterystats
Use new compact option to include history when dumping battery stats. Change-Id: I3833a88db76d8791bd5c2e8f6ff414af65472a42
This commit is contained in:
parent
e67729144a
commit
59b1516f4c
@ -280,7 +280,7 @@ static void dumpstate() {
|
||||
printf("== Checkins\n");
|
||||
printf("========================================================\n");
|
||||
|
||||
run_command("CHECKIN BATTERYSTATS", 30, "dumpsys", "batterystats", "--checkin", NULL);
|
||||
run_command("CHECKIN BATTERYSTATS", 30, "dumpsys", "batterystats", "-c", NULL);
|
||||
run_command("CHECKIN MEMINFO", 30, "dumpsys", "meminfo", "--checkin", NULL);
|
||||
run_command("CHECKIN NETSTATS", 30, "dumpsys", "netstats", "--checkin", NULL);
|
||||
run_command("CHECKIN PROCSTATS", 30, "dumpsys", "procstats", "-c", NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user