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

Commit 757b01b9 authored by Michael Sun's avatar Michael Sun
Browse files

Add more logging for wakelock stats inquiries

Add additional logging after receiving wakelock statistics from
SystemSuspend via AIDL.

Test: atest FrameworksCoreTests:KernelWakelockReaderTest
Test: manually verified new log presented
Bug: 173539101
Change-Id: Ia64ca7edaa4c7925348e1c31d5681943cfbe4f33
parent deb1024b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -184,6 +184,7 @@ public class KernelWakelockReader {

        try {
            wlStats = mSuspendControlService.getWakeLockStats();
            Slog.i(TAG, "Number of wakelock obtained from SystemSuspend: " + wlStats.length);
            updateWakelockStats(wlStats, staleStats);
        } catch (RemoteException e) {
            Slog.wtf(TAG, "Failed to obtain wakelock stats from ISuspendControlService", e);