Quote:

Originally Posted by

I tried excluding Gmail (and Google Photos) from doze using adb and it stayed excluded even after device restart.





(Use minus sign instead of plus to remove package from list)



Verify:







I attempted the same on Android 9 before but it always got lost shortly after reboot. On Android 10, it seems like it sticks (and works - based on my first few tries).



I also noticed that com.android.settings.Settings$HighPowerApplication sActivity no longer lists system apps. OnePlus also removed the more aggressive power saving option.