aggressive doze on nougat - Greenify

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.

Related

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

"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.

Does shallow hibernation cause doze to wake up more?

I know that by the nature of doze, the device wakes up every hour or so.
Also shallow hibernation says it will allow the apps to wake every so often. My question is if shallow hibernation causes doze to wake up more often than it normally would? Thank you
That's a good question... There are also two settings for aggressive doze I wondered if both should be ticked when on xposed
RFrancis said:
That's a good question... There are also two settings for aggressive doze I wondered if both should be ticked when on xposed
Click to expand...
Click to collapse
I believe I can help you understand the two settings on aggressive doze. The first option enables "Doze on the go" which allows aggressive doze to work while your device is moving, the second option provides debug notifications when your device enters doze mode. If you are in Boost mode you can also enable "Doze on the go" through the Xposed options.
JeffyLube0 said:
I believe I can help you understand the two settings on aggressive doze. The first option enables "Doze on the go" which allows aggressive doze to work while your device is moving, the second option provides debug notifications when your device enters doze mode. If you are in Boost mode you can also enable "Doze on the go" through the Xposed options.
Click to expand...
Click to collapse
Do you have any background workings as a "Google expert" on Google support forums by any chance?
Sent from my OnePlus 2 using Tapatalk
pure.by said:
Do you have any background workings as a "Google expert" on Google support forums by any chance?
Sent from my OnePlus 2 using Tapatalk
Click to expand...
Click to collapse
I invented Google. Schmidt, Page, and Brin merely stole my idea

greenify and the oneplus 3t

Does the app and the built in function of the o+3t do exactly the same thing or would installing the app improve battery life?
I'm curious as well on my OP5
Eggstones said:
Does the app and the built in function of the o+3t do exactly the same thing or would installing the app improve battery life?
Click to expand...
Click to collapse
Im using Greenify with my (ROOTED) o+3t. I made some test sessions with BBS and Geenify (with AD) improve MY battery life. I also hibernating few apps that waking up device too often. You need try and check if it can improve yours battery life. But with my device it does.
EDIT: Oneplus removed that built in function few betas ago. But what i remember it didnt worked with notifications so good than greenify does.
Any tip not to loose notifications?
I'm using Greenify on a rooted OP3T (OOS OB 13) and I'm getting good battery life with more that 7h SOT.
Only in the same time I have lost most of my notifications. And all the settings (Battery Optimization, Advanced Optimization, Nougat doze mode and Greenify) and last OS changes (aggressive doze seems to no longer be there), I getting a bit lost into trial and fail.
Any advice on how to make the best use of Greenify on my device, without loosing notification would be welcome.
mr.charlie said:
I'm using Greenify on a rooted OP3T (OOS OB 13) and I'm getting good battery life with more that 7h SOT.
Only in the same time I have lost most of my notifications. And all the settings (Battery Optimization, Advanced Optimization, Nougat doze mode and Greenify) and last OS changes (aggressive doze seems to no longer be there), I getting a bit lost into trial and fail.
Any advice on how to make the best use of Greenify on my device, without loosing notification would be welcome.
Click to expand...
Click to collapse
Assuming Android 6.x base:
- you will need to install Xposed Framework and the donation build of Greenify for best results
- enable "Doze on the go" which is perhaps the most important tweak on MM
- also enable wake-up timer coalescing and permission to Greenify system apps
- forget about aggressive/shallow doze and/or deep hibernation (reasons are outside scope of this post); likely the source of your notification issue
- temporarily disabled other power/battery optimization apps such as Amplify, Force Doze, Power Nap, etc.
- remove any apps previously excluded from battery optimization unless you are highly confident they do not perform well unless excluded
- clear all apps from Greenify's action list
That should correct any notification issues assuming Greenify and/or one of the above apps was the culprit. You can monitor and add 'bad actors' to Greenify's action list as needed. On most devices this list should be very short (assuming Android 6.x or better).

Question about aggressive doze.

IF i want to enable aggressive doze on greenify, should i disable doze from dev options first? Or it doesnt matter? And what about advanced optimization in battery options?
And what about doze on the go? I dont think this feature is enabled on OREO..
I have Oneplus 5 with OREO 8.0.1
lazostat said:
IF i want to enable aggressive doze on greenify, should i disable doze from dev options first? Or it doesnt matter? And what about advanced optimization in battery options?
And what about doze on the go? I dont think this feature is enabled on OREO..
I have Oneplus 5 with OREO 8.0.1
Click to expand...
Click to collapse
Doze on the go functionality is imbedded into native/stock doze on Android 7+; the Greenify toggle is primarily targeted Android 6.x although it may offer some marginal benefits on higher revs (none that I have noticed).
Simply enable Aggressive Doze in Greenify and observe behaviors - preferably over several days - before turning other knobs and dials. In general there is no need to mess with the other options you mention.

Greenify+ Servicely= Good combination?

Hi all,
I was wondering if I go for Greenify + servicely, are they a good combination?
Understood that servicely app is under Franco, Franco kernel creator, I was thinking that will the app compatible with kernel other than Franco kernel?
Servicely doesnt depend on rom or kernel, it just tries to supresses the wakelocks from selected apps and services.
matharuajay said:
Servicely doesnt depend on rom or kernel, it just tries to supresses the wakelocks from selected apps and services.
Click to expand...
Click to collapse
OK, understood. Will try this combination and see how.
Don't use Greenify on Pie. It's basically useless because of how OS optimizes the battery usage. Also, the developer deprecated it.
whrynox said:
Don't use Greenify on Pie. It's basically useless because of how OS optimizes the battery usage. Also, the developer deprecated it.
Click to expand...
Click to collapse
I see, so is there any good one to go?
thomas140 said:
I see, so is there any good one to go?
Click to expand...
Click to collapse
Naptime works fine alone since you only need to optimize sleep behavior. The Pie itself can perfectly manage apps' battery usage already.
I'm using Servicely + Naptime during the night, and I get about 0,3% idle drain! So f.....ing amazing!
thomas140 said:
Hi all,
I was wondering if I go for Greenify + servicely, are they a good combination?
Understood that servicely app is under Franco, Franco kernel creator, I was thinking that will the app compatible with kernel other than Franco kernel?
Click to expand...
Click to collapse
I use both, together with franco kernel, and battery life is awesome. I could use Naptime too in place of Greenify. I don't know about it being deprecated, it still is alive in the Play Store.
I use Greenify more for its Doze On the Go feature, I don't know if Pie caters for that. Naptime has it too.
On my Huawei phone which is unrooted, I use Naptime since Greenify's Doze On the Go is inactive.
Naptime:
"Why?
Because why the hell not?
Doze is amazing but with it has its quirks. It can take at least 2 hours to kick in (if the device is stationary, not charging etc). If you move around, even with the screen off, doze won't kick in, so there are a lot of potential battery saving opportunities lost, gone with the wind."
For Greenify :
"Doze on the Go
Android system uses a low power "significant motion sensor" (if present in hardware) to track movement and exits Doze Mode if significant movement is detected, because the stock Doze Mode is designed for battery-saving in stationary state. Doze on the Go effectively removes this restriction and keeps your device in Doze Mode even during movement.
Android 7.0 introduced native support of Doze on the Go and a new light doze mode, which blocks network access but not wake-up timers of the app. When movement is detected, it exits deep doze and keeps in light doze, and then goes back into deep doze after device is stationary for some time. The Greenify version of "Doze on the Go" will always keep your device in deep doze on Android 7.0, regardless of movement."
Using greenify on pie will likely break **** tbh

Categories

Resources