[GUIDE] Aggressive Doze - New experimental feature for Marshmallow (NO ROOT REQUIRED) - Greenify

"Aggressive Doze" is one of the new experimental features exclusive for Android 6.0 Marshmallow. The best part is that it works on non-rooted device!
Once enabled in settings, your device will enter Doze Mode in minutes (instead of hours stationary normally) after the screen goes off if not charging, to improve its power-saving efforts.
Doze mode is a new power saving mechanism introduced in Android 6.0. In this mode, background behaviors of all apps (except white-listed ones) are strictly prohibited, until next user interaction or charging. The device will also periodically (in hours) exit doze mode briefly.
This is not the complete solution for a better Doze, currently it still cannot keep your device rest in doze if you are carrying it around. It is expected to maximize the power-saving effect of the stock Doze mode. (UPDATE: This "interruption by motion" behavior can be completely prevented in the newest version 2.9 beta, see FAQ.1 for details) Also it may break some background functionality of your daily apps if they are not developed with Android Doze in mind.
FAQ
When I'm moving around, the Aggressive Doze is not working?
Android system uses a low power "Significant Motion Sensor" to track movement and exits Doze Mode if significant movement is detected. Aggressive Doze will not try to enter Doze after that, to avoid constantly entering and exiting Doze. Since the stock Doze is designed for battery-saving in stationary state, Android still wants to keep your apps in sync with fresh state if you are carrying it around.
In the new version 2.9 beta, this "interruption by motion" behavior can be prevented completely if "DUMP" permission is granted manually via USB-connected computer.
Click to expand...
Click to collapse
Why is my device very lagging when wake from sleep after a few hours.
This seems like a bad consequence of Android Doze Mode itself if too many apps are installed. Because Doze Mode effectively postpone all the background behaviors during the doze. The longer doze lasts, the more tasks to do when exiting. Consider greenifying more background-itchy apps to reduce the lag, because hibernation is still the essential solution for them.
Click to expand...
Click to collapse
Aggressive Doze is not working sometimes, but again working later.
Check whether there's a alarm clock in less than an hour, by looking for an alarm icon in the status bar. But the icon won't tell you the time of the alarm. You may click the DND tile in the quick launch panel to find out the actual time of the alarm (in the entry with "until next alarm"). This is because Android system refuses to enter doze mode if an scheduled alarm is in less than an hour.
Click to expand...
Click to collapse
Why I can't find this option in settings? My device is on Android 6.0.
Aggressive Doze in Greenify v2.8 should work on all devices with Android 6+, unless the Doze Mode is explicitly disabled by the ROM. If you are using a custom ROM made by community, ask the
ROM modder to enable this flag in the ROM:
Code:
com.android.internal.R.bool.config_enableAutoPowerModes
UPDATE: Since 2.9 beta 1, even if doze is disabled in ROM, Greenify can still activate doze mode after DUMP permission is granted manually via USB-connected computer. Beware, this may break things since the ROM is not made to be compatible with Doze.
Click to expand...
Click to collapse

oasisfeng said:
Within the new version 2.8 beta (rolling out), there's an early attempt for better Doze mode in control. It currently activate doze mode as early as the screen goes off, and deactivate it when the screen is back on or the charger is connected.
It is surely not the complete solution for a better Doze mode. It is expected to maximize the power-saving effect of Doze mode, but may also break some background functionality of your apps. So I'm listening to all your feedback and opinions, to build a smarter and finer-tweaked Doze mode in Android 6.0.
Together with the "Shallow Hibernation" released in version 2.7, let's start a new adventure of Greenify with Android Marshmallow.
Click to expand...
Click to collapse
Thanks buddy! Lets start again

Hi Oasis, I tried to perform the steps you gave but I am getting the following error
/system/bin/sh: grant: not found
this happens when I try to run the first command to grant DUMP permissions. My Nexus 5 is not rooted and ADB is running and fully up to date.
Edit: for anyone experiencing this issue try the following
1. After checking "adb devices" run "adb shell"
2. Type "pm grant com.oasisfeng.greenfiy android.permission.DUMP"
3. Type "pm grant com.oasisfeng.greenify android.permission.READ_LOGS"

Hello,
First of all, i'm happy with the donation version!
With this new feature there's a thing I've noticed right away. Apparently doze works with all the apps, including whatsapp, which is the app i use the most.
When doze it's activated messages arrive in intervals and it's not that reliable. Anyways, when doze activates by itself, i'm ok with the messages getting delayed, because i'm actually not using the phone. The thing with the integration through greenify, is that messages stop arriving right away.
Do you think there could be a way to kind of "bypass" certain applications? If it's possible it would work like stamina mode from Sony.
Anyways, it's just a comment... I like the instant doze since doze really helps with battery!

blanco2701 said:
Hello,
First of all, i'm happy with the donation version!
With this new feature there's a thing I've noticed right away. Apparently doze works with all the apps, including whatsapp, which is the app i use the most.
When doze it's activated messages arrive in intervals and it's not that reliable. Anyways, when doze activates by itself, i'm ok with the messages getting delayed, because i'm actually not using the phone. The thing with the integration through greenify, is that messages stop arriving right away.
Do you think there could be a way to kind of "bypass" certain applications? If it's possible it would work like stamina mode from Sony.
Anyways, it's just a comment... I like the instant doze since doze really helps with battery!
Click to expand...
Click to collapse
+1
In the developer preview of 6.0 you could exclude apps from being doze'd. Such an option would be great in Greenify as well, since messages don't wake up the phone with activated aggressive doze

shakuyi said:
Hi Oasis, I tried to perform the steps you gave but I am getting the following error
/system/bin/sh: grant: not found
this happens when I try to run the first command to grant DUMP permissions. My Nexus 5 is not rooted and ADB is running and fully up to date.
Edit: for anyone experiencing this issue try the following
1. After checking "adb devices" run "adb shell"
2. Type "pm grant com.oasisfeng.greenfiy android.permission.DUMP"
3. Type "pm grant com.oasisfeng.greenify android.permission.READ_LOGS"
Click to expand...
Click to collapse
Sorry for the typo, I just corrected it in the online guide. Thanks for the report.

blanco2701 said:
Hello,
First of all, i'm happy with the donation version!
With this new feature there's a thing I've noticed right away. Apparently doze works with all the apps, including whatsapp, which is the app i use the most.
When doze it's activated messages arrive in intervals and it's not that reliable. Anyways, when doze activates by itself, i'm ok with the messages getting delayed, because i'm actually not using the phone. The thing with the integration through greenify, is that messages stop arriving right away.
Do you think there could be a way to kind of "bypass" certain applications? If it's possible it would work like stamina mode from Sony.
Anyways, it's just a comment... I like the instant doze since doze really helps with battery!
Click to expand...
Click to collapse
If WhatsApp uses GCM for instant message push, then maybe the developer has not yet adopted for the priority GCM push which goes through in the Doze mode. This is what Google suggests all IM message to use.
I'll try to work around this issue, maybe allow all GCM push to exit doze mode for a while.

MrMarques01 said:
+1
In the developer preview of 6.0 you could exclude apps from being doze'd. Such an option would be great in Greenify as well, since messages don't wake up the phone with activated aggressive doze
Click to expand...
Click to collapse
You can still do that in Android 6.0 final version, but highly discouraged.

Today I got Greenify 2.8 beta 1, but still my apps aren't greenified.
Edit: I reinstalled Greenify and su asked me for permission, now it works, thank you.
Best regards
Matthias

If we are rooted does it still require the one-time procedure or can we just install as normal?

oasisfeng said:
Within the new version 2.8 beta (rolling out), there's an early attempt for better Doze mode in control. It currently activate doze mode as early as the screen goes off, and deactivate it when the screen is back on or the charger is connected.
The best part of this feature - NO ROOT REQUIRED! Still you need to perform a one-time procedure with USB-cable and a connected computer, which is surely familiar to many of you XDA members.
This is not the complete solution for a better Doze mode. It is expected to maximize the power-saving effect of Doze mode, but may also break some background functionality of your apps. So I'm listening to all your feedback and opinions, to build a smarter and finer-tweaked Doze mode in Android 6.0.
Together with the "Shallow Hibernation" released in version 2.7, let's start a new adventure of Greenify with Android Marshmallow.
Click to expand...
Click to collapse
Oasisfeng, what's the normal amount of time before doze activates? Would it perhaps be better to have an option to set the amount of minutes after screen off to start the aggresive Doze?

I just test greenify beta, and battery seems like always for now... Tomorrow I'll see better how new greenify works...

No root really ? It would be useful

@oasisfeng
mine is rooted but still the Doze feature is not activated.
Is it only for 6.0 devices?

atulclassic said:
@oasisfeng
mine is rooted but still the Doze feature is not activated.
Is it only for 6.0 devices?
Click to expand...
Click to collapse
Yes.

atulclassic said:
@oasisfeng
mine is rooted but still the Doze feature is not activated.
Is it only for 6.0 devices?
Click to expand...
Click to collapse
*Clears throat* "Aggressive Doze" is a new experimental feature for Android 6.0

Smultie said:
Oasisfeng, what's the normal amount of time before doze activates? Would it perhaps be better to have an option to set the amount of minutes after screen off to start the aggresive Doze?
Click to expand...
Click to collapse
I‘m thinking about the same thing.It'd be great to have an option to set the time to start the doze mode. It'd be so damn perfect!

Do applications which are set to bypass Doze still work?

randy6644 said:
I‘m thinking about the same time. It'd be great to have an option to set the time to start the doze mode. It'd be so damn perfect!
Click to expand...
Click to collapse
Great minds think alike!

Smultie said:
Oasisfeng, what's the normal amount of time before doze activates? Would it perhaps be better to have an option to set the amount of minutes after screen off to start the aggresive Doze?
Click to expand...
Click to collapse
Currently zero. I'm planning for a smarter delay before doze (probably the same as the delay before greenified apps hibernate). But for now, I'd like to push the benefit to the limit for a test run and find the actual drawback of 0 delay.

Related

Greenify toast messages keep waking phone screen during charge

Nexus 6 and Moto X (2014), rooted, no Xposed. Both on Android 6.0. Full version of Greenify set to automatically hibernate select apps (Facebook and Amazon being the top offenders). Symptoms:
- When the device is charged, the screen would turn on intermittently every 1-3 minutes.
I was going crazy, trying to identify what app is responsible for this. Reboot in safe mode, charging quietly. Then I started disabling root apps one after another. This behavior stopped when I disabled Greenify.
Then I was trying which setting in Greenify was responsible for this behavior. I discovered that when Automatic Hibernation was off in Greenify (with other features such as Aggressive Doze still active), the phone would not wake while being charged. Then I watched closely what happens when Greenify hibernates apps, and discovered that it displays a toast message - which, in both Nexus 6 and Moto X, is enough to wake the display. After that, the apps would probably wake up, and Greenify will attempt to greenify them again on next cycle. This goes on and on without an end.
Two issues here.
1. Greenify should NOT attempt to hibernate apps while charging - and yet, it does.
2. At least there should be an option for Greenify to NOT display a toast message, in which case the phone will not be awake.
3. Final observation. This behavior does NOT occur on other phones (and tablets!) in my possession. Most probably it's a Moto thing that has something to do with Ambient Display.
Suggested fix:
1. Either remove toast notifications or add an option to disable them.
2. Only greenify apps after some time the phone is NOT on a charger (that is, treat "charger connected" the same way as you treat "display on", resetting the countdown timer before hibernation should occur).
aoleg said:
Nexus 6 and Moto X (2014), rooted, no Xposed. Both on Android 6.0. Full version of Greenify set to automatically hibernate select apps (Facebook and Amazon being the top offenders). Symptoms:
- When the device is charged, the screen would turn on intermittently every 1-3 minutes.
I was going crazy, trying to identify what app is responsible for this. Reboot in safe mode, charging quietly. Then I started disabling root apps one after another. This behavior stopped when I disabled Greenify.
Then I was trying which setting in Greenify was responsible for this behavior. I discovered that when Automatic Hibernation was off in Greenify (with other features such as Aggressive Doze still active), the phone would not wake while being charged. Then I watched closely what happens when Greenify hibernates apps, and discovered that it displays a toast message - which, in both Nexus 6 and Moto X, is enough to wake the display. After that, the apps would probably wake up, and Greenify will attempt to greenify them again on next cycle. This goes on and on without an end.
Two issues here.
1. Greenify should NOT attempt to hibernate apps while charging - and yet, it does.
2. At least there should be an option for Greenify to NOT display a toast message, in which case the phone will not be awake.
3. Final observation. This behavior does NOT occur on other phones (and tablets!) in my possession. Most probably it's a Moto thing that has something to do with Ambient Display.
Suggested fix:
1. Either remove toast notifications or add an option to disable them.
2. Only greenify apps after some time the phone is NOT on a charger (that is, treat "charger connected" the same way as you treat "display on", resetting the countdown timer before hibernation should occur).
Click to expand...
Click to collapse
On my phone Greenify does not attempt hibernation while charging. In fact if I open Greenify while charging, I get the whole list of all the apps chosen by me for hibernation with a text on top saying something like hibernation will take place after the charging is over.
It may have something to do with the way these Moto phones charge. They may, from time to time, report that the charger has been disconnected (while in fact continuing charging). This by itself does not turn on the screen; Greenify does.
aoleg said:
It may have something to do with the way these Moto phones charge. They may, from time to time, report that the charger has been disconnected (while in fact continuing charging). This by itself does not turn on the screen; Greenify does.
Click to expand...
Click to collapse
As a data point my 2013 Moto X does not exhibit this behavior. v2.7.1, rooted, Xposed, boost mode. Only time I have observed a non-interactive toast is in non-root mode; the screen wakes momentarily when apps are hibernated. You can squelch this behavior by disabling Greenify permissions under Accessibility (not needed in root or boost modes).
This was happening for me as well, Nexus 6P on Android 6.0, Greenify 2.8 beta 3. Not only did it wake up the screen during the charge, but it actually stopped the phone from charging and the toast message seemed to include every single app I had Greenified. It was present in both boost and root modes and was the main reason I uninstalled the app.
Symthic said:
This was happening for me as well, Nexus 6P on Android 6.0, Greenify 2.8 beta 3. Not only did it wake up the screen during the charge, but it actually stopped the phone from charging and the toast message seemed to include every single app I had Greenified. It was present in both boost and root modes and was the main reason I uninstalled the app.
Click to expand...
Click to collapse
Same behavior on my 6P on 6.0.1. with the same Greenify version. I disabled automatic hibernate and now the screen stays off during charging.
I get the same with my xperia Z3c running concept rom, except I don't get a toast messsage. I thought I was going crazy when I first noticed this strange behaviour. Found this thread from a Google search by the way.
Which version of Greenify do you noticed this behavior in? It is supposed to be fixed in the recent beta version.
oasisfeng said:
Which version of Greenify do you noticed this behavior in? It is supposed to be fixed in the recent beta version.
Click to expand...
Click to collapse
version 2.8 beta 3 with paid unlocker through play store and xposed. My bad, realised I'm a few beta releases behind. Updated to latest and all is well so far.

[BETA] Greenify 2.9.5 beta 3 (Sep. 21, 2016)

This thread is served as a general discussion and feedback for recent beta versions. It will be updated with newest version in title and change log in the first post.
Changelog:
v2.95 beta 3
Aggressive Doze now works in non-root mode on Android 7. (Manual privilege granting via USB required)
Improved GCM Wake-up (Xposed) for some misbehaving apps. (e.g. WeChat)
Improved the stability of accessibility service.
Fixed Wake-up Cut-off on Android 6+.
Fixed Shallow Hibernation (Android 6+) in boost mode (Xposed).
Fixed alarm analysis on Android 6+.
Fixed the false "Root privilege not granted" notification.
Fixed the verification failure in a short time after donation package is installed.
v2.95 beta 2
Wake-up cut-off now works on Android 7.0 (root).
Improved the overall stability and smoothness of non-root auto-hibernation.
v2.95 beta 1
Auto-hibernation in non-root mode is now compatible with secured key-guard. No more compromise for device security!
Screen-off by Greenify no longer invalidates fingerprint unlock and Smart Lock. Be sure to enable "Alternative Screen Off" in settings.
Aggressive Doze and doze notification is now compatible with Android 7.0 in root and boost mode. (support for non-root mode on the way)
Tasker plug-ins for toggling Auto-Hibernation and Aggressive Doze.
Improved app state detection on Android 6.0+.
Click to expand...
Click to collapse
Known issues
Doze on the Go is not yet compatible with Android 7.0 in non-root mode. We are seeking for a proper solution.
Get beta versions
Opt-in to beta channel or download the apk file.
oasisfeng said:
This thread is served as a general discussion and feedback for recent beta versions. It will be updated with newest version in title and change log in the first post.
Changelog:
Known issues
None.
Get beta versions
Opt-in to beta channel or download the apk file.
Click to expand...
Click to collapse
Works on my Nexus 6! awesome stuff!
italia0101 said:
Tried the aggressive doze on my Nexus 6 ,,
Had it plugged into my PC with a logcat running . i used the " battery unplug " command .
I can see it go into Doze on screen off . a new notification says " entered doze mode" , but with a bit of shaking a movement it wakes up , so on the Nexus 6 at least it still gets awoken with motion
Click to expand...
Click to collapse
Have you granted the DUMP permission manually?
oasisfeng said:
Have you granted the DUMP permission manually?
Click to expand...
Click to collapse
No i have root, but with your suggestion from the other thread it seems to work! so thanks for that, i've edited my post above
Problem with galaxy S6 G920f Android 5.1.1 xposed and rooted.
Problem in open setting, FC App in bêta 9.1
naudmick said:
Problem with galaxy S6 G920f Android 5.1.1 xposed and rooted.
Problem in open setting, FC App in bêta 9.1
Click to expand...
Click to collapse
Sorry, I messed up with Android 4.x & 5.x in beta 1, a fix is pushing out.
I have a concept to offer for a new beta build.
Is it possible to make a hybrid engine, where we can choose per app the ones we want to be hibernated with the normal mode and what apps we want to use shallow hibernation?
So for example i can set whatsapp for shallow hibernation and fb messenger to normal hibernation mode
@oasisfeng Just curious if you have any idea how to fix this problem: one of the recent updates of Greenify made my fingerprint sensor during sleep no longer work; I have to wake up my device (turn the screen on) for it to respond again. Any ideas? (I am fairly certain it is Greenify as 1) nothing recently has changed, 2) somebody on the Nexus 5X subreddit also had this problem)
Pupet_Master said:
I have a concept to offer for a new beta build.
Is it possible to make a hybrid engine, where we can choose per app the ones we want to be hibernated with the normal mode and what apps we want to use shallow hibernation?
So for example i can set whatsapp for shallow hibernation and fb messenger to normal hibernation mode
Click to expand...
Click to collapse
Ye, that's the plan in the next major version (3.0 probably), which needs a completely redesign of the UI.
oasisfeng said:
Ye, that's the plan in the next major version (3.0 probably), which needs a completely redesign of the UI.
Click to expand...
Click to collapse
Thanks, i can't wait for it
draggehn said:
@oasisfeng Just curious if you have any idea how to fix this problem: one of the recent updates of Greenify made my fingerprint sensor during sleep no longer work; I have to wake up my device (turn the screen on) for it to respond again. Any ideas? (I am fairly certain it is Greenify as 1) nothing recently has changed, 2) somebody on the Nexus 5X subreddit also had this problem)
Click to expand...
Click to collapse
I've never had this issue on my daily Nexus 5X. Do you use nav-bar gesture to hibernate apps and turn off the screen?
Please try disabling some of the features (Aggressive Doze, Shallow Hibernation for example) in Greenify and try again to narrow down the cause.
oasisfeng said:
I've never had this issue on my daily Nexus 5X. Do you use nav-bar gesture to hibernate apps and turn off the screen?
Please try disabling some of the features (Aggressive Doze, Shallow Hibernation for example) in Greenify and try again to narrow down the cause.
Click to expand...
Click to collapse
Disabling aggressive doze right now, I'll report back.
I updated from 2.9 Beta 1 to Beta 2 and now doze seems to be gone. Doze was working in Beta 1. My phone is rooted.
It's a Dream. 3 percent in 8 hours. Calls and WhatsApp messages arrive anyway. I don't need more.
arunkafley said:
I updated from 2.9 Beta 1 to Beta 2 and now doze seems to be gone. Doze was working in Beta 1. My phone is rooted.
Click to expand...
Click to collapse
Is your device running Android 6.x? Be sure to grant the DUMP permission manually as suggested in the first post.
lusto170859 said:
It's a Dream. 3 percent in 8 hours. Calls and WhatsApp messages arrive anyway. I don't need more.
Click to expand...
Click to collapse
It's usually inaccurate for the first a few percentages from 100% downwards.
I'm going to prepare for and celebrate the Chinese New Year in the following two weeks. The next beta release is probably not going to be released soon.
I'll check and reply to posts here occasionally during the holiday.
oasisfeng said:
Is your device running Android 6.x? Be sure to grant the DUMP permission manually as suggested in the first post.
Click to expand...
Click to collapse
even if i have root ?
thanks for the hard work
oasisfeng said:
Is your device running Android 6.x? Be sure to grant the DUMP permission manually as suggested in the first post.
Click to expand...
Click to collapse
Yeah I did that. But before without granting the DUMP permission it was working fine
oasisfeng said:
It's usually inaccurate for the first a few percentages from 100% downwards.
Click to expand...
Click to collapse
Yes I know. But without Aggressive Doze I lost 12% in this period. Normal Doze does not work with my device. (Samsung Galaxy S2plus CM13)

How to know if aggressive doze is functioning?

If I've understood correctly there's no need to hibernate anything in order to user aggressive doze. So I don't use hibernation at all, but instead would like to user aggressive doze.
I'm rooted and have checked the on-the-go mode. I have also enabled the notification.
But there's no doze notification after the screen has been off for few minutes. How do I know if it is dozing or not?
thanks
tofu said:
If I've understood correctly there's no need to hibernate anything in order to user aggressive doze. So I don't use hibernation at all, but instead would like to user aggressive doze.
I'm rooted and have checked the on-the-go mode. I have also enabled the notification.
But there's no doze notification after the screen has been off for few minutes. How do I know if it is dozing or not?
thanks
Click to expand...
Click to collapse
I use Automagic (same idea as Tasker, but I find it much easier to understand and use). It has a trigger for when the phone enters doze mode (and another for when it exits). I can use these triggers to perform conditional actions like enable/disable Bluetooth/WiFi etc., or, say, make a sound, send a message to my Pebble watch, etc. In my case (unrooted phone) I have it make sounds. Using Automagic to do this kind of stuff does not seem to mess up the phone going into/coming out of doze mode.
You can also enable a Greenify notification that shows when the phone goes in/out of aggressive doze...
WibblyW said:
I use Automagic (same idea as Tasker, but I find it much easier to understand and use). It has a trigger for when the phone enters doze mode (and another for when it exits). I can use these triggers to perform conditional actions like enable/disable Bluetooth/WiFi etc., or, say, make a sound, send a message to my Pebble watch, etc. In my case (unrooted phone) I have it make sounds. Using Automagic to do this kind of stuff does not seem to mess up the phone going into/coming out of doze mode.
You can also enable a Greenify notification that shows when the phone goes in/out of aggressive doze...
Click to expand...
Click to collapse
Thanks. It seems that it works now. I just needed to wait for a longer time.
Just remember that doze is not a full replacement for hybernation. It may prevent wakelocks but bad apps can still run background processes loading CPU and consuming battery when phone periodically wakes up from doze as well as every time you are using your phone.
Sent from my OnePlus 2 using Tapatalk

Hibernate and aggressive doze

I'm using CM13 and new to using Greenify as I just bought the donation package but have some questions that I'm not sure about.
1. I have instant messaging apps (Whatsapp and WeChat) and games on my phone, when I finish using the app, I press the home button and have them running in the background, does that uses more battery or do I need to add the apps to the hibernation list?
2. Should I use hibernate or shallow hibernation as I switched from iPhone to OnePlus 3 and on the iPhone when I reopen the app, it will return to where I left it.
3. I have enabled aggressive doze so that it will go to sleep mode when the screen is off, will I get delay Whatsapp and Wechat messages or do I need to add it to the whitelist so notifications comes instantly when I receive them?
Many thanks!
Lither said:
I'm using CM13 and new to using Greenify as I just bought the donation package but have some questions that I'm not sure about.
1. I have instant messaging apps (Whatsapp and WeChat) and games on my phone, when I finish using the app, I press the home button and have them running in the background, does that uses more battery or do I need to add the apps to the hibernation list?
2. Should I use hibernate or shallow hibernation as I switched from iPhone to OnePlus 3 and on the iPhone when I reopen the app, it will return to where I left it.
3. I have enabled aggressive doze so that it will go to sleep mode when the screen is off, will I get delay Whatsapp and Wechat messages or do I need to add it to the whitelist so notifications comes instantly when I receive them?
Many thanks!
Click to expand...
Click to collapse
1. Any app which is not greenified will run in the background once it is opened and then dismissed by the Home button. As far as the IM apps are concerned, the advice of the Dev is not to greenify them if you rely on them. However, some people have successfully greenified those IM apps which use GCM without issues but some others complain of delayed notifications. So it may be better not to greenify them if you rely on them. Of course they will consume more battery since they are running in the background.
2. If you want iPhone like behaviour, use shallow hibernation. Otherwise, the apps will start afresh.
3. It is better to add such apps to the white list.
i could be wrong.... but i noticed that most of the times aggressive doze does NOT exted the real battery life...... maybe it COULD extend it if you do not touch the phone for long periods like 2...4 hours at time, but if you make a normal usage of the phone i suspect that activating and deactivating doze is DRAINING more battery than it tries to save!!!
.........any other though?
realista87 said:
i could be wrong.... but i noticed that most of the times aggressive doze does NOT exted the real battery life...... maybe it COULD extend it if you do not touch the phone for long periods like 2...4 hours at time, but if you make a normal usage of the phone i suspect that activating and deactivating doze is DRAINING more battery than it tries to save!!!
.........any other though?
Click to expand...
Click to collapse
Similar observation on battery savings. In most cases any power related benefits of aggressive doze are wiped out when the device wakes from its comma and performs a bunch of 'catch up' tasks. Such behavior can lead to lag immediately after wake which is a common complaint associated with aggressive doze. That said, aggressive doze may have other situational benefits...especially over longer durations. As always YMMV.
yes, i think about a person who does pick up the phone just every 4...5 hour at day because it is not important (for him) to always check the latest messages, and in that condition it could be useful the aggressive doze.
i even noticed that to disable the movement sensors is NOT a great thing...... of course great if someone is in car or moving everytime but it has the CON of turning on/off the brightness sensor of the phone and at every display power on the phone lags for 1/2 seconds.
i must admit that in the last years i've always used aggressivedoze/ or naptime and greenified lots of apps but i should reconsider the fact to UNinstall all....... and see if the battery life is really worse or not.
realista87 said:
yes, i think about a person who does pick up the phone just every 4...5 hour at day because it is not important (for him) to always check the latest messages, and in that condition it could be useful the aggressive doze.
i even noticed that to disable the movement sensors is NOT a great thing...... of course great if someone is in car or moving everytime but it has the CON of turning on/off the brightness sensor of the phone and at every display power on the phone lags for 1/2 seconds.
i must admit that in the last years i've always used aggressivedoze/ or naptime and greenified lots of apps but i should reconsider the fact to UNinstall all....... and see if the battery life is really worse or not.
Click to expand...
Click to collapse
The sensor issue is device specific. I enable 'doze on the go' on all my devices and have yet to encounter the brightness glitch. However, I don't use the more aggressive sensor suppressions available in some apps. Note 'doze on the go' is enabled by default w/Android 7+.
After experimenting with countless apps/tools/techniques (ugh) my Android power management methodology has evolved to a 'lite touch' minimalist approach. I only take overt action when a specific drain can not be contained by other means. Greenify is the tool of choice with only a few bad actors in the explicit hibernation list. Android defaults handle everything else. My devices sleep soundly, behave predictably and score admirably low drain rates. App selection obviously plays into that. Big pigs like Facebook, Google everything and WhatsApp are not part of my portfolio as lighter alternatives exist. Good luck with your own adventures.

aggressive doze on nougat

hi i have a noobish question! is it necessary to enable aggressive doze on nougat roms?? or enabling it give good battery backup ?
wasimsiwan007 said:
hi i have a simple question is it necessary to enable aggressive doze on nougat roms?? or enabling it give good battery backup ?
Click to expand...
Click to collapse
Nougat by itself takes care of apps with Doze unlike MM. So no need to enable aggressive doze in Greenify. If enabled, it will result in some issues.
This is the official answer: https://greenify.uservoice.com/knowledgebase/articles/828360-what-is-aggressive-doze
It seems that enabling aggressive doze will make it enter doze faster. Enabling doze on the go will make it stay in deep doze. It seems to still be applicable in nougat.
Eggleston11 said:
This is the official answer: https://greenify.uservoice.com/knowledgebase/articles/828360-what-is-aggressive-doze
It seems that enabling aggressive doze will make it enter doze faster. Enabling doze on the go will make it stay in deep doze. It seems to still be applicable in nougat.
Click to expand...
Click to collapse
The referenced FAQ dates back to Android 6 (Marshmallow).
Android 7+ enables "doze on the go" functionality by default. Most devices will enter doze sooner and wake less often. That said, ticking 'Doze on the go' on post MM builds shouldn't cause any issues.
Aggressive doze is a different beast. Not only will the device drop into doze sooner it will wake less often for 'maintenance windows'. This can lead to lag when the device is explicitly woken as deferred tasks simultaneously launch and complete for resources. Net result is a less refined user experience with negligible (if any) battery savings.

Categories

Resources