27-05-2023 09:25 PM - last edited 28-05-2023 05:00 PM
After many experiments (clear cache, disabling auto updates, updating everything what's possible, disable location services) and searching in the internet how to calm down Google Play Services from draining my battery, I got a random solution while trying to install BetterBatteryStats.
I noticed that after giving an access to the private APIs everything become normal and Google Play Services uses my battery no more than 1-2% (comparing to 15% before).
How to do it:
Install necessary ADB drivers and exe on your PC This may be the tricky part but we can leverage some experience in that area. A good read: The 15 second adb installer
Enable USB debugging on phone’s developer options
adb devices
If it came back with a Device name instead of waiting for device or no permissions
(on linux), then you know its safe to go ahead with the real command. Its this adb devices that also triggers the Authorize pc command.adb -d shell settings put global hidden_api_policy 1
Guide is taken from this website https://better.asksven.io/betterbatterystats/non-root/
This guide will help you to install ADB drivers step by step: https://www.xda-developers.com/install-adb-windows-macos-linux/