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:
Dianne Hackborn 2013-09-04 18:04:14 -07:00
parent e67729144a
commit 59b1516f4c
1 changed files with 1 additions and 1 deletions

View File

@ -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);