Confirmed: Pixel 6 / Pro massive battery drain due to software bug. Fix inside
Due to the help of people over at xda, I manged to figure out two scenarios where a software bug will prevent the phone from ever going into deep sleep. I am posting this here because /r/GooglePixel seems to have changed into a territory for haters of rooting and custom ROMs/Kernel. How ever, without root you will probably never figure this out.
So here I am posting this for everyone who is facing massive battery drain (like I did):
ProxyHandler gets stuck after a reboot
Link: https://support.google.com/pixelpho...oxycontroller-wakelock-draining-battery?hl=en
Basically every now and then the "ProxyHandler" will get stuck after a reboot and prevent the phone from ever going into deep sleep.
Fix:
- To temporarily fix this go into airplane mode and reboot again.
- Disable airplane mode after the reboot and use your phone until the next reboot
When the screen gets stuck at 60Hz
I wasn't able to figure out which service is keeping the device awake. But I did track down that the 60Hz stuck-issue is also prevent the phone to going into deep sleep.
Fix:
- Reboot the phone
Other notes regarding testing:
In my testing it doesn't seem like "Naptime" will fix or help with any of the issues. Also in my testing it seems like "Naptime" in general doesn't do anything regarding battery drain / deep sleep.
Deep Sleep means that the phone will save a lot of battery while the screen is off. Usually the drain during deep sleep is 0,2-0,5%/h. Without deep sleep it is somewhere at 2-4%/h.
So far I have been using BBS to track down most of the issues.To use BBS on Android 12:
- Install BBS
- Grant all permissions
- Run in adb: adb shell settings put global hidden_api_policy 1
- Reboot phone
- Everything except kernel wakelocks will work
Hope this helps some people.