Sometimes my battery usage gives me a very high percentage (e.g. 45%) for Google Play Services. Is there a way to log the name of the app that may be causing this problem. Please note that I am not looking for a way to clear the play services heavy usage - I just want to know which app may be causing the problem.
Android version: 9
Google Play services version: 20.39.15
Thank you.
adb logcat
? As Play Services are an own process all apps have to use inter-process communication for sending/receiving something via PS. Such calls may be visible as Intent call in logcat. – Robert Oct 25 '20 at 19:49The System Tracing app is an Android tool that saves device activity to a trace file. On a device running Android 10 (API level 29) or later, trace files are saved in Perfetto format . On a device running an earlier version of Android, trace files are saved in the Systrace format.
– ubnewb Oct 27 '20 at 10:30