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

Commit e8d9891b authored by Sooraj Sasindran's avatar Sooraj Sasindran
Browse files

Make batterystats logging readable

Make batterystats logging readable

Bug: 74146897
Test: verified by running telephony bugreport
Change-Id: Ic638af786d7674067af804cf4105b99380bd4edb
parent 4693e737
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -1519,6 +1519,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");
@@ -1526,12 +1528,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");