Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c32f084b authored by Sooraj Sasindran's avatar Sooraj Sasindran Committed by android-build-merger
Browse files

Merge "Make batterystats logging readable" into pi-dev am: 36a2324a

am: 8828fd12

Change-Id: Ic81d28df2e6c6ec32b6ada4710f23287a13e0314
parents 9d5f657b 8828fd12
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -1444,6 +1444,8 @@ static void DumpstateTelephonyOnly() {
               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");
@@ -1451,12 +1453,6 @@ 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");