yashsingh1/xdaforums huggingface dataset:
[Greenify] alephito:
Whitelist not being respected

Nexus 5 MM 6.0.1 rooted. Runkeeper whitlisted. AD on.

Runkeeper does not announce the distance I run every five minutes (only if I wake the phone manually while running) and the map recorded is really wrong. The gps only registers points where I wake the phone up and for some minutes after that moment.

I think it is the same problem with Google Fit reported previously.

I hope you can check this out soon.

Thanks.
[Greenify] davidmlondon:
I had the exact same problem with RunKeeper and Strava. Had to disable Ad for now. Seems the whitelist doesn't work.
[Greenify] jackson_c:
Same problem here with Endomondo and Strava.
[Greenify] duowing:
Maybe just have tasker set up to turn off AD for when you're using those apps, then turn back on when you close them? Although not the ideal solution.
[Greenify] Lither:
I have installed Greenify v2.9 beta on my rooted phone, do I need to grant dump permission to prevent interruption by motion?
[Greenify] phantom146:
As long as youre rooted everything should be fine no need to grant dump permissions
[Greenify] Stroky:
So do you guys have a better battery life with the agressive doze enabled?
[Greenify] alephito:
How would you do that?

I cannot find the option in the Greenify plugin for Tasker.
[Greenify] tamaraxxx:
For sure. Look at screenshot below
[Greenify] matteus198701:
Have you enabled shallow hinernation or standard?

Nexus 4
[Greenify] Stroky:
When the Phone is in Standby over night etc there should be no difference with aggressive doze or normal doze.

Gesendet von meinem SGP511 mit Tapatalk
[Greenify] tamaraxxx:
Using xposed and AD and also works fine during daytime
[Greenify] David_D36:
For some reason my Verizon note 5 won't go into aggressive doze. I get the notifications that it has entered aggressive doze, but I don't seem to get the battery saving feature (Lost over 30% overnight after a factory reset). I already gave it all the permissions through my computer. Anyone have an idea why this is happening? I have the newest beta. Thank you in advance.
[Greenify] Stroky:
Strange! I also Clean flashed today the cm nightly on my one plus and the Phone wont enter doze mode ( I use gsam for that).

Tried aggressive doze and without aggressive doze.

Gesendet von meinem SGP511 mit Tapatalk
[Greenify] Callliope:
When i enable ad on my one m8 it actually consume more battery overnight, its so wierd
[Greenify] David_D36:
I have a similar issue... I don't think mine works at all
[Greenify] Callliope:
I consume 4% with doze on over 8H no wi fi on or 3G enabled, and 2% without ad and i tried this multiple times..
[Greenify] MBurns2:
Same..
[Greenify] deepu458:
HI Folks,

I initially thought that my Gmail & Android Email app had lost sync when it entered AD Mode, but no the issue is with the Doze Mode itself. When it enters the Doze Mode all my notifications stop from these apps unless i switch on the screen. So i have tried remove the following apps from the Battery Optimization list and and set the notification as Priority but nothing helps. Is there any one else using these apps working even in Doze Mode? kindly let me know if there is anything else i can try to make these apps to work.
[Greenify] TNSMANI:
Try adding Android System to the 'not optimised' list along with the apps from which you want notifications. And do it from the white list in AD of Greenify.
[Greenify] RogerSC:
I've just started using the Android "N" beta on my Nexus 6P. According to what I've read, for Android N, the doze functionality ("Doze on the Go") will look more like what Greenify provides. Motion will not wake it up, and the phone doesn't have to be horizontal, which is much like this "aggressive doze", working in your pocket or purse. What I don't know is how long the phone needs to be idle before it goes into "Doze on the Go" mode, hopefully not a full hour.

Anyways, apparently great minds think alike *smile*.
[Greenify] TNSMANI:
When some Dev like [MENTION=4376588]oasisfeng[/MENTION] finds a way to the heart of the android enthusiast, Google has to incorporate that in stock. It is good that Google has reacted in a short time.

I understand that in N, the phone goes into Doze within minutes unlike the one+ hours before. May be 10 minutes, I am not sure.
[Greenify] cssoz:
How did you fix (active AD )

? I have the notifcation and AD enabled (non-root + USB ADB permissions like you did. With force stop and even reboot)

But i can't seem to get AD to work, it worked when i first installed it with root but this morning it wasn't working. I also prefer non-root phone (android is better and better).

Thanks
[Greenify] cssoz:
I agree. AD works once when i installed it (with root no USB permission yet)

Next morning, doesn't work. added USB permissions (both wake up + DUMP), and even try it without root.

Normal Doze seems to work once in a while but that take HOURS before it actives for 5 - 10 mins max.
[Greenify] Aaren11:
Using ADB and logcat. Full details can be found here

Alternativley the latest versions of both Better Battery Stats, and GSAM battery monitor show doze time.
[Greenify] tamaraxxx:
AD kills my auto rotation on my Rom. I am using nightowl cm13 Rom from bauner on my note 1 (gt-n7000). When activating doze rotation doesn't work anymore.

Does somebody have a solution for it?

If you need log files, tell me what you need and I will post them.
[Greenify] TNSMANI:
If you have 'shallow hibernation' enabled, AD doesn't seem to work. Disable that and see.
[Greenify] putti71:
AD would be a really great tool, if it would work properly. For me is whatsapp the deal-breaker. I get the messages only after i turn on screen. Already set whatsapp on high priority, so at least i get the messages, but like i said, only of screen is turned on.

Regards

Gesendet von meinem SM-G920F mit Tapatalk
[Greenify] David_D36:
It says my phone is going into AD but I'm still getting all my notifications...
[Greenify] cssoz:
i don't have shallow hib enabled. and it has been working fine =D!

all i did was uninstall, wipe cache/art cache > install greenify, donation package > enabled via USB adb DUMP + wake up permissions > force stop > open > reboot > went to sleep > woke up > works! and been working all day with reboots and stuff.
[Greenify] putti71:
So you say, that you get instant whatsapp messages, even when screen is off?

What do you mean by enabled via USB adb DUMP + wake up permissions?

Regards

Gesendet von meinem SM-G920F mit Tapatalk
[Greenify] cssoz:
https://greenify.uservoice.com/know...o-grant-permissions-required-by-some-features :p

I haven't really get the chance to use Whatsapp, but telegram. Text (Textra App), calls, all notify me via Bluetooth and displayed under notification center.:D

Im still testing AD ofc, it is my 3rd day having it. One thing for sure so far is that under 20% AD does NOT kick it. need more testing on this
[Greenify] usvimal:
I think i also had that problem, most probably its because of battery saver mode
[Greenify] cssoz:
well i dont use battery saver mode, it is always on balance
[Greenify] guastucci:
May I use Shallow Hibernation and Aggressive Doze at the same time or it is not recommended?
[Greenify] venky716:
Yes you can.
[Greenify] alexgx71:
Is there a reason why I can't find anymore agressive doze option?

Thank you
[Greenify] ulxerker:
yeah, most likely because of your ROM. grant DUMP-permissions and try again.
[Greenify] putti71:
I think AD does something to Wifi, because after a while when screen is of Wifi is connected but not working correctly.

Gesendet von meinem SM-G920F mit Tapatalk
[Greenify] vhc:
Aggressive doze kicks in after 10 mins on the table. I wonder if it's possible to make that shorter?
[Greenify] Stroky:
Yes. Use naptime for that! My Phone Kicks the doze mode in right after the screen is off.

Gesendet von meinem SGP511 mit Tapatalk
[Greenify] David_D36:
Can you do that without root?
[Greenify] ulxerker:
nope, but you can use Doze Settings Editor to achieve the same. in case of non-root you can use an adb command, just follow the instructions. if you are unsure which settings to use just use the pre-defined profiles in the app or follow the suggestions in the thread. awesome tool.
[Greenify] laptopu:
+1 please [MENTION=4376588]oasisfeng[/MENTION] I installed the donation version with high hopes for ad but it wipes out email notifications even when I whitelist Google services framework and the email app. Your help on this would be really appreciated thanks.
[Greenify] brunomnunes:
Good night, I have some problems with the Greenify (experimental features). I contributed with the donation package page and the feature does not work with Android 5.1 and 6. How can we solve this?﻿
[Greenify] TNSMANI:
Did you try whitelisting Exchange Services and whatever else is associated with mails? Are you getting your mails with AD disabled?

And have you enabled 'don't remove notifications'?

---------- Post added at 12:42 PM ---------- Previous post was at 12:32 PM ----------

What are the "some problems" and what is meant by "does not work"?

If you can elaborate your issue, we will try to help you.
[Greenify] Soundtallica:
I use AD on a rooted Nexus 6P via Xposed. No ADB commands, as I assume you don't need to do that on a rooted device. Looking off of my GSAM battery graphs it seems to work nicely and it kicks in after around 20 minutes, which I'm fine with. I've had no problems with email, texts, or calls not coming through. Heck, even XDA and Youtube comments still come in. Also, I don't know if it's AD or Amplify (which I installed at the same time), but my screen on time has improved significantly as well, which was unexpected. I guess the two apps shut down background processes from apps you're not using, even when you're using another app?

There are a couple of glitches though. Today was my first day using it, but AD didn't kick in during times when I wasn't connected to WiFi. AD also kills ambient display as well, which is a bummer. Anybody know of work-arounds for these two issues?
[Greenify] laptopu:
[MENTION=5656100]tnsmani[/MENTION] yes I checked the notification settings and it's not just emails I don't get notifications for, it's also gmail and telegram. I am on cm13 for Samsung i9100 if that makes a difference.
[Greenify] brunomnunes:
I do not how to active the experimental features. This option dont appear for me on menu of greenify.
[Greenify] TNSMANI:
It is no longer called experimental. It is the Settings option in the menu that contains everything.

See, if you give details, you get proper answers.

---------- Post added at 05:39 PM ---------- Previous post was at 05:36 PM ----------

Are you getting the notifications if you disable AD or disable Greenify in Xposed?
[Greenify] brunomnunes:
Example: in android 6, dont appear agressive doze for me.
[Greenify] TNSMANI:
Do you have the beta of Greenify? Or are you on the stable version? AD is available only in the beta.
[Greenify] brunomnunes:
this features is available in 2.8.1 stable but i tested 2.9 beta 2 without sucess.
[Greenify] TNSMANI:
You are right. Sorry, confused it with motion sensing disable feature.

Your ROM may have specifically disabled Doze. Still it should work with 2.9.beta2 if DUMP permissions are given through ADB.

If not, I am out of ideas.
[Greenify] brunomnunes:
I tested with Galaxy s6 and moto g second generation.
[Greenify] laptopu:
[MENTION=5656100]tnsmani[/MENTION] yes I get notifications if I turn off ad on app so long as Google services framework is set to not optimised.
[Greenify] Andregee:
I have a question about the knox counter of the Galaxy s6 and the Dump permission. Will the Dump permission affect it?
[Greenify] digital0:
How do I check if com.android.internal.R.bool.config_enableAutoPowerModes is enabled in my ROM?
[Greenify] Andregee:
I have a Galaxy S6 and use the actual greenify beta with aggressive doze and dump permission. Doze seems to work even in motion, when I take a look to the Gsam screenshot. But the deep sleep rate @68 % is very poor, only for wearing the phone without using it . Without any movement, I get 98% Deep Sleep rate. And how can it be possible the the doze rate is higher than the deep sleep rate. The deep sleep rate is 68% the doze rate 83% after one hour of phone movement
[Greenify] Guicholuis96:
Hi, when will be available the 2.9 beta through google play?

Doze in motion works in the Galaxy s6?

Thanks
[Greenify] keijikage:
What I have found is that there is a location request right before entering doze even if locating_to is set to 0.

While you can tweak the settings so that the phone immediately enters "Doze", the location request goes through a white-listed system app, so the CPU never makes it to deep sleep until the request is complete.
[Greenify] Andregee:
Ok Thank you. Does it mean that aggressive doze even in motion does not help to save Energy? I can't notice any improvement. It seems to get worse with AD
[Greenify] Turbine13:
So anyone knows if AD enabled with DUMP permission is better or worse ?

any how i don't get live notifications while doze is on, only when i wake up the device.

when AD is disables everything works fine.

any one have an idea how to make it work ?
[Greenify] TNSMANI:
When AD is enabled automatically or by adb commands, it should save battery. You use adb only if you have no root.

There is no live notification. Only when the screen is on, you see the notification.

Try to delete data and cache of Greenify and uninstall and reinstall. It may start working properly.
[Greenify] gelocatronico:
After installed greenify and only enabled agressive doze, battery improvement but whatsapp and gmail notifications has gone, only entering app receives all the chats and new mails.

Tried to disable AD, uninstall, wipe phone cache, reinstall apps and same result. i dont want to wipe entire phone, are developing new beta? even disabling samsung default battery optimizer stills the same, doesnt change behaviour

thanks

S6 G920F totally stock non-rooted 6.0.1
[Greenify] laptopu:
Exactly same here, cm13 on Samsung i9100. Get no notifications during ad, they come through after a few seconds of waking device. Main one is gmail app, I have white listed Google services framework and gmail app yet because of slight delay when turning screen on I suspect there is no sync going on at all during ad. I can reproduce this every time on a clean install or dirty upgrade.
[Greenify] gelocatronico:
Theres no the same behaviour, i can wake device but until not open the app whatsapp or Gmail the notif doesnt appear. Whatsapp open in the last state and seconds later starts to arrive messages.

Biggest probem now i cant disable AD even disable AD or uninstall greenify
[Greenify] TGiFallen:
When using Aggresive Doze and the alarm app SleepBot with SleepBot whitelisted from the aggressive doze, it still stops the alarm from going off.
[Greenify] gr3y_:
I'm having the same problem; in my case though setting WhatsApp as "Not Optimized" on the battery optimization page resolves the issue for that app, while doing the same for Gmail and Android Services Framework doesn't help.
[Greenify] jark99:
I just saw the guide on how to "disable the motion sensor through ADB for non Root phones." My question is I have a S7 Edge, will doing the above method using ADB and sending commands trip KNOX? Thanks! Cause I really don't want to trip KNOX..
[Greenify] .psd:
Hi oasisfeng, thank you for your incredible work on this app. I was happy to pay for it :)

Is there a way to decrease the amount of time before aggressive doze kicks in? I'd prefer it to kick in immediately on screen off. Until you add the option to set this time in the settings, can you tell me what value to modify and in which file?

Also, can we decrease the amount of time to hibernate an app in shallow doze mode from "minutes" to "instantly"? Until there's an option in settings, what value do I adjust and in which file?

Thanks for all your hard work, keep it up!
[Greenify] David_D36:
I would also like to enable doze instantly after screen off, or after 30 seconds. Also, does anyone have an idea why I still get snapchat notifications even when my phone is dozing? (Snapchat is set to be optimized)
[Greenify] patmann03:
I do not use snapchat, but if it uses GCM (Google Cloud Messaging) that service ignores doze. It ensures that notifications that get pushed through that service come through (Hangouts and other SMS/MMS/Call apps are similar).

---------- Post added at 03:05 PM ---------- Previous post was at 02:58 PM ----------

Does aggressive doze disable or stop the phone from waking up periodically to sync? I used to used AD a couple months ago, but needed to stop as it kept my alarm from going off (I did not have this issue with regular doze and even had the app set to "not optimized'. I also set inbox to not optimize, but it seems that I do not get notifications until I wake the device manually. Not sure if this is an issue with AD, Doze itself or inbox. Hangouts seems to work and pushes right through doze (I get my SMS and hangouts messages through the app) which I'm glad works. I'm just worried my alarm will not go off tomorrow.
[Greenify] David_D36:
With AD my phone goes out of doze every hour or so for a few minutes.
[Greenify] TNSMANI:
[MENTION=4712716]patmann03[/MENTION]

All Google apps and other apps which have been optimized for MM will work properly during Doze/AD. If your clock/alarm is from Google, it will work during AD.

AD will pause periodically for other apps' background operation including sync.
[Greenify] patmann03:
Thank you, my alarm went off just fine this morning... However, after I hit snooze, AD kicked in and it the snoozed alarm did not go off until I picked up the phone even though it's not optimized. Either an issue with Doze or the alarm app i suspect.
[Greenify] gr3y_:
I think something isn't working as it is supposed to be; I don't get Gmail (which should be using GCM, or am I wrong?) push notifications while the device is using AD unless i turn the screen on, even setting the app to "not optimized". On the other hand WhatsApp, if not optimized, is working fine.
[Greenify] TNSMANI:
Does it work if Greenify is uninstalled?

Do you have Amplify/PowerNap and did you restrict anything connected with sync, Gmail, Google Play Services or anything with the cloud symbol?
[Greenify] gr3y_:
Thanks for replying; I do have Amplify installed, but the only services I've restricter are NlpWakeLock and NlpCollectorWakeLock... could that be the reason I'm having delayed notifications?

Edit - yeah everything works if Greenify isn't installed; btw it isn't a dealbreaker for me, just wanted to let you know it isn't working correctly.
[Greenify] TNSMANI:
That can't be the reason since they are related to location and not to push notifications.

As asked earlier, does Gmail work alright with Greenify uninstalled?
[Greenify] gr3y_:
I've just edited my original reply to answer your other question :P yeah everything works if Greenify isn't installed; btw it isn't a dealbreaker for me, just wanted to let you know it isn't working correctly. I'm using Greenify in Boost mode, could switching to Root instead help?
[Greenify] TNSMANI:
I am not sure, why don't you try it?
[Greenify] gr3y_:
Trying it right now :) I'll let you know
[Greenify] Corduroysack:
Should I enable both shallow and aggressive modes or just one of them? Tia ☺
[Greenify] TNSMANI:
Shallow hibernation OR deep hibernation OR normal hibernation(don't choose any one of the two).

Aggressive Doze can be enabled independent of the above setting.
[Greenify] Andregee:
I'm using greenify nowadays with a Galaxy s3 with latest Cm 13 Nightly. Using it pure aggressive doze works properly, activating the xposed Module for Gcm push, aggressive doze doesn't start. Is this normally?

Gesendet von meinem GT-I9300 mit Tapatalk
[Greenify] pearsone:
confused

i have aggressive doze enabled, but it doesn't seem to start until I open to lock screen. So when I look at the list of dozes it is just a bunch of tiny times. no more than 20 seconds. it also looks to continue counting after i have unlocked my device. whats going on here?
[Greenify] keijikage:
If you did not grant the dump permission, motion will interrupt the doze cycle and it will trigger a wake-up and re-start the doze process.. This leads to a lot of wakeups if you are moving during aggressive doze.
[Greenify] M@rs:
Have you tried it?

It's my first knox protected device so I'm w bit careful. Although Adb normally shouldn't trip it, as I read in the change display density thread (at least the density commands).
[Greenify] optimummind:
Can you share the adb code to grant the dump permission? Maybe that's why my phone isn't doing Aggressive Doze. TIA.

Edit: NVM, found it.
[Greenify] pearsone:
I looked into it and the greenify forum states that you do not need to do that if you are rooted, which my phone is.
[Greenify] optimummind:
Does the command work for v2.8.1 too or just for the beta?

Edit: Just the beta version.
[Greenify] amosboyz:
Amazing aggressive doze mode, using another app it doesnt works well.

i have tested,

by using other software aggressive doze - it drains 7 percent overnight (before sleep unplug)

by using greenify aggressive doze - it drains only 1-3 percent overnight

by not using any software - it drains 8-10 percent overnight.
[Greenify] davidmlondon:
Is whatsapp working with AD? Tried it a while ago but messages didn't come through until I woke the screen despite adding whatsapp to battery optimisation whitelist.
[Greenify] johnnysims:
Also struggling with whatsapp the past few days. I have to open whatsapp to get msgs it seems. But it is on my whitelist.

I have now added systemUI to the whitelist as well since I don't know if Good Lock can't show me the msgs. What about Nova Launcher, should that be on the whitelist?
[Greenify] 2x4:
aggressive doze appears to be causing nlpcollectorwakelock to keep my phone awake for hours on end. is anyone else having this issue?
[Greenify] ianmacd:
What leads you to this conclusion?
[Greenify] 2x4:
Disabling it made it stop occurring.

For reference, i have Nexus 5X, purenexus rom, EX kernel.

I have google now, location history disabled. I am not using xposed, nor any other doze editors.

Shallow hibernation enabled.

It's always possible it was something else, but that's why I'm asking here to see if it's something else about my configuration.

Particularly, I noticed it also happened on my SO's Nexus 6P (stock rom, BL locked, no root), after i installed greenify and enabled aggressive doze. The fact that it happened on both our phones is what leads me to believe it's aggressive doze.
[Greenify] cssoz:
That should be sticky
[Greenify] ianmacd:
AD supposedly just makes normal Doze kick in much more quickly. The only other essential difference is whether motion detection will still wake the device from dozing, which it does by default on non-rooted devices.

So, if AD is messing with a location provider wakelock, I'd expect to see the same thing happen with normal Doze, but you say that works fine.

Which apps, if any, do you hibernate?
[Greenify] ksss:
It would be good if we can have a list of apps that turns off AD when they starts. As some has noted before, gps stops to work when AD is activated. I guess that is why Doze in the native form doesn't kick in when the phone is not laying down on the table.
[Greenify] ianmacd:
The ability to retain motion-detected disabling of AD and just take advantage of the shorter activation threshold might be useful to some people, too.
[Greenify] silvertrain78:
Smart Lock isn't working correctly with Trusted Places (Home). I had the lock set to different times after sleep, but the only one that worked was Immediately (and that wasn't 100% effective -- sometimes it would require a PIN unlock first). With other time delay settings, the lock screen didn't activate at all. Stock 6.0 N5
[Greenify] ajeesh vijayan:
doubt on aggressive doze

am a root user .. should I do the step described in op to activate aggressive doze.. or just enabling it?
[Greenify] randy6644:
Thanks for clearing it up. But why are there still wakelocks. If I leave it on the table for 1 hour ,it seems wakelock are gone, but with agreesive doze mode, wakelocks don't go immediately and I still see them.