theblixguy / ForceDoze

Enable Doze mode immediately after screen off and turn off motion sensing to get best battery life
https://play.google.com/store/apps/details?id=com.suyashsrijan.forcedoze&hl=en
GNU General Public License v3.0
168 stars 35 forks source link

temporarily disable force doze [feature request] #80

Closed Radd-max closed 2 years ago

Radd-max commented 3 years ago

could you add a way to temporarily disable force doze for a certain amount of time ? what i have in mind is like how we can put the phone in dnd for some time like 1 or 2 hrs from quick settings . i disable forcedoze when i using something like spotify but later on i forget to put it on again . to avoid this im requesting this feature

fillwithjoy1 commented 2 years ago

What's the issue you're facing while keeping it on?

Radd-max commented 2 years ago

What's the issue you're facing while keeping it on?

I use another device now but iirc it was something to do with spotify and my download manager getting force dozed.

Radd-max commented 2 years ago

Closing this as I have a new device with a decent battery and android seems to have sorted its doze system

fillwithjoy1 commented 2 years ago

Closing this as I have a new device with a decent battery and android seems to have sorted its doze system

It sounds like Android was actually not setting your Spotify as a high priority app that needs to use battery in the background. This isn't a thing to do with doze. This is to do with App Standby Buckets. In the future if any apps are not doing well while dozed just set the battery preferences for the app to unrestricted

Radd-max commented 2 years ago

Closing this as I have a new device with a decent battery and android seems to have sorted its doze system

It sounds like Android was actually not setting your Spotify as a high priority app that needs to use battery in the background. This isn't a thing to do with doze. This is to do with App Standby Buckets. In the future if any apps are not doing well while dozed just set the battery preferences for the app to unrestricted It was on a nexus 6p running android 8.1. with an almost dead battery. So i used to disable cellular network and wifi on doze. In order to run spotify or a download manager i would have to disable forcedoze. Later i would forget to re enable it and that would tank the battery.