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

Commit 8828fd12 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

Change-Id: I991c16691fd65d3d45633c2dd105f84e720fca5d
parents 452c793c 36a2324a
Loading
Loading
Loading
Loading
+2 −6
Original line number Original line Diff line number Diff line
@@ -1444,6 +1444,8 @@ static void DumpstateTelephonyOnly() {
               SEC_TO_MSEC(10));
               SEC_TO_MSEC(10));
    RunDumpsys("DUMPSYS", {"wifi"}, CommandOptions::WithTimeout(90).Build(),
    RunDumpsys("DUMPSYS", {"wifi"}, CommandOptions::WithTimeout(90).Build(),
               SEC_TO_MSEC(10));
               SEC_TO_MSEC(10));
    RunDumpsys("BATTERYSTATS", {"batterystats"}, CommandOptions::WithTimeout(90).Build(),
               SEC_TO_MSEC(10));


    printf("========================================================\n");
    printf("========================================================\n");
    printf("== Running Application Services\n");
    printf("== Running Application Services\n");
@@ -1451,12 +1453,6 @@ static void DumpstateTelephonyOnly() {


    RunDumpsys("TELEPHONY SERVICES", {"activity", "service", "TelephonyDebugService"});
    RunDumpsys("TELEPHONY SERVICES", {"activity", "service", "TelephonyDebugService"});


    printf("========================================================\n");
    printf("== Checkins\n");
    printf("========================================================\n");

    RunDumpsys("CHECKIN BATTERYSTATS", {"batterystats", "-c"});

    printf("========================================================\n");
    printf("========================================================\n");
    printf("== dumpstate: done (id %d)\n", ds.id_);
    printf("== dumpstate: done (id %d)\n", ds.id_);
    printf("========================================================\n");
    printf("========================================================\n");