yashsingh1/xdaforums huggingface dataset:
[Greenify] dennisdjacob:
I am actually not sure if the permission grant worked or not . Any way to find out if its actually working fine :(
[Greenify] oasisfeng:
This feature could only be ticked if the permission is granted.
[Greenify] oasisfeng:
No, just enable this feature. Those steps are for non-root users.
[Greenify] oasisfeng:
That probably needs the some work from the developer of WhatsApp, since it would still be not working in normal doze mode.
[Greenify] oasisfeng:
No. Doze mode is a device state (applying to all apps except the white-listed ones).
[Greenify] oasisfeng:
Do you mean that if Aggressive Doze is enabled, Smart Lock NEVER locks even if not in the trusted place?

If so, that might be a side effect which Google has not yet realized, since normal Doze Mode never activate before the Smart Lock kicks in.

I'll test that out. Feedback on this issue from other users are also welcome.
[Greenify] The-Droidster:
[MENTION=4376588]oasisfeng[/MENTION] : Sometimes my phone doesn't auto-lock after the screen timeout. I have to force stop greenify and restart it. The issue keeps recurring at random intervals. I'm using Aggressive Doze and auto-hibernation for few non-system apps. I'm sure its greenify coz the issue solves after i force-stop and restart greenify.

Let me know if I can get you some logs when the issue re-occurs.
[Greenify] silvertrain78:
Yes, it does lock when NOT in a Trusted Place.
[Greenify] pgoelz:
First of all, I'm a newbie to Greenify and aggressive doze so forgive me if I have missed something obvious....

I installed and configured Greenify and aggressive doze this morning and found it to work perfectly.... EXACTLY what I have been looking for ever since I got my first smart phone. I want a smart phone when the screen is on and a dumb phone when the screen is off. Aggressive doze gives me exactly that. THANKS!

However, I find that after being away from WiFi for several hours and reading on the Kindle app for about 30 minutes (not sure if any of this is related), the phone no longer seems to be re-entering doze mode after screen off.

This morning, I could verify doze mode by watching the IP address of the phone on my router "connected devices" screen. Phone screen on = IP address present. Phone screen off for a couple seconds = IP address missing. Seemed to verify that doze mode activated correctly as soon as the screen turned off. This afternoon, the IP address is always present although I have not yet had the patience to wait the full hour for regular doze mode to fire. And the battery discharge rate is about what I would expect for non-doze mode.

Possibly unrelated but you never know.... when I got home after being out and looked at the battery stats, I found the camera had consumed 7% of my battery while I was out and about. Strange since I had not activated the camera and it was NOT present in the list of "recent apps". ??? The camera shortcut IS at the edge of my home screen (I have since moved it) and could have been inadvertently touched, but that doesn't explain why the camera app is missing from recent apps.....

Did I miss something, or is this experimental feature still very unfinished? If so, please hurry.... it is a GREAT feature ;) How can I help?

Paul
[Greenify] pgoelz:
UPDATE..... after about four hours of never entering doze mode even after what I believe was at least an hour of idle (as determined by the IP address constantly present on the router "attached devices" page) I rebooted the phone. After the reboot, Aggressive Doze is again working correctly.... the phone's IP address vanishes as soon as the screen turns off.

And sorry I didn't mention it previously.... the phone is a 16GB Nexus 5, recently purchased, updated to 6.0 and factory reset.

Paul
[Greenify] brolic925t:
Nvm. Delete
[Greenify] jsbowling42:
any idea why the aggressive doze mode wont stay checked? every time i go out of the app and back in it unchecks.
[Greenify] adaduk:
Thanks for this. Looking forward to testing on my N6 stock un-rooted.
[Greenify] suku_patel_22:
Is there an intent/shortcut that we can use to trigger aggressive doze from tasker?
[Greenify] pgoelz:
Has anyone yet studied how doze is actually implemented in Android 6.0? I ask because I have noticed that very often, once it is triggered (like overnight) it behaves as though it is still active the next day even if I have the phone in my pocket and periodically (like << 1 HR apart) turn the screen on and do something. My discharge curve is a flatline in between screen on events when I would have expected it to resume a 1-2%/hr discharge rate with the phone in my pocket.

This to me at least is very desirable behavior. I'm just curious that it is not square with how doze has been described so far.

Note that I did install Greenify beta and activate Aggressive Doze a couple days ago. However, I then uninstalled it and performed a FDR after a failed (aborted due to incompatible files) attempt to flash CM12.1 over Marshmallow (hey, I'm new at this) so I assume that cancelled the Aggressive Doze mode? Or does Aggressive Doze change something deep in the OS that survives a FDR?

Paul
[Greenify] suku_patel_22:
[MENTION=4376588]oasisfeng[/MENTION]

With aggressive doze is that the unlock seems to take longer.

It would be a good idea to have a delay of around 15 to 30 mins after screen off. This would help in cases where we are continuing using the phone.

It also pauses ongoing tasks like a file download or a file copy in ES file Explorer. This would be undesirable.

Maybe you could find a way to pause the doze till such tasks are complete.
[Greenify] GeraldRudi:
It works realy well on cataclysm rom 6.0 :)

Only you have to remember that downloads, ... sometimes abort if you turn off the screen.

Is there a version with more customisation in prozess?
[Greenify] TNSMANI:
DELETED.
[Greenify] turtle254:
AD does not work with GPS only turned on .... but standard doze does. AD does work if all location (wifi, data, gps) are selected and turned on.

So not a OS bug with marshmallow, but something with Aggressive Doze bug. Galaxy S6 M
[Greenify] dzr:
So, I'm using AD with the adb permission adjustment. It dozes much more than native doze, but much less than I feel it should

. Is there a way to see what's blocking it from dozing? I sometimes notice the alarm clock status bar icon, even though l have no alarms set. Considering the faq, I wonder if that is related, but have no idea how to stop it. I only see it for seconds at a time, but I don't know what's happening when the screen is off. Thanks
[Greenify] esheesle:
Having the same thing here. Seems to go for about a day with no issues, then suddenly after a full charge, i get the google play services wakelock insanity until i reboot. Thanks to lots of dozing the battery drain still isn't too bad but could be better. I don't have smartlock enabled. I do have 1weather allowed to run through doze though. Wonder if apps that can run outside of doze cause the issue?
[Greenify] Asgaro:
I've also been experiencing wakelocks lately, and also seemingly due to Google Play Services.

A solution that worked for me, where I don't have to reboot the device, is toggling Location system-wide off for a while (during 1 min. or so) and then toggling it back on.
[Greenify] David_D36:
Is it possible to enable some of greenify's root features through an adb command? I know you can do that with aggressive doze.
[Greenify] PiggyFlooper:
[MENTION=4376588]oasisfeng[/MENTION]

I have pm'd you

https://db.tt/cVTlq1dv
[Greenify] Double_a2013:
Is there supposed to be a toggle to remove the "interruption by motion" setting in the app? If so I don't have it. I'm rooted already, so I shouldn't need to provide any other permissions right?
[Greenify] TNSMANI:
There is no toggle. It is supposed to work by default if you are rooted.

Use adb to grant manual dump permission and check whether that helps.
[Greenify] GDT:
I was a greenify user (with donation package and beta tester also) when I got rooted phones. I removed it with my last 2 phones because I choosed to leave them unrooted and I didn't like the way greenify works with unrooted phones. Now I just installed it again because I want a better doze functions, I'd like to know if I need to enable only aggressive mode (I gave additional permission with adb) or should I enable other greenify options and setup ibernation for single apps.

I have a note 4 international with android 6.0.1.
[Greenify] TNSMANI:
If you need only AD, then you don't need to do anything else.

If you also need the other functions of Greenify, then go ahead and use the other options also.

It is your decision.
[Greenify] fradbari:
Hi, even white listened whatsapp and other messaging app notification doesn't arrive.

Anyone have a solution for semi-real time notifications?
[Greenify] infinion:
battery saver mode from CM13 activated and AD it's better than AD alone?same question with deep hibernation+AD
[Greenify] axxel6307:
First, much thanks to Oasis. Been using Greenify for a couple years and really appreciate your work.

Next, I just read this entire thread and hoping for some clarification from early on in the thread. There was a debate as to whether 'optimize battery usage' changes will change doze. A senior member adamantly denied that it did. However, in greenify, when going to whitelist something from AD, it takes me right to the optimize battery usage, making it seem that it in fact does control doze. Now I am confused, and hoping it can be clarified, and it would be appreciated if commentors that aren't the developers would provide reference links for their answers....

Now, onto my device questions. I have a galaxy s7 tmobile snapdragon. I was getting great battery stats with normal MM doze up until 6.0.1 update. Prior to update, with wifi on all night and on LTE, I was only dropping around 2% overnight in 7hrs. My usage was heavy and I was getting 24-48 hrs with 5to7 SOT, depending on how often I used auto brightness or did it manually. After update, I'm losing 4% overnight, and getting less usage time and SOT. I've already factory reset it, and it didn't help.

Today I came across the AD feature and reinstalled Greenify, as I hadn't used Greenify on the new phone, since I am not rooted, and don't have any plans to root it. I have enabled AD in it, with notifications, but have not granted dump yet, so I'm assuming motion sensors are still active.

That said, my questions are:

1. Does granting the dump permission trip knox on a samsung, and can anyone confirm "interruption by motion" can be disabled on a gs7?

2. I have 2.8.1. Must I install the beta to disable the interruption by motion, or can I do the dump permission with my version?

3. Since the beta is not on playstore, and I install the apk, how can it be completely removed, if I ever needed to? Does it cause anything that would survive a factory reset?

4. Is there an official AD start time? It's not posted in FAQ, and folks are claiming very different times on here. Personally, mine is kicking in at 10 minutes. I'd like to know what is the intended doze start time for my version 2.8.1 as well as for the betas....

5. Is there an easy way to toggle on or off the motion interruption setting, so one can compare battery stats with it enabled vs it disabled?

Thanks

---------- Post added at 01:44 AM ---------- Previous post was at 12:54 AM ----------

Another AD question. Overnight, when in doze, if the phone enters a maintenance period to let priority alerts come thru, does it enter doze again if an alarm is set to go off within the hour?
[Greenify] ianmacd:
1. Granting dump permission does not trip KNOX on a Samsung (and only Samsungs have KNOX).

2. I'm pretty sure that the beta is needed.

3. The beta is on the Play Store, but you must join the Google Greenify beta group before the beta will appear to you in the store.

4. AD used to be instantaneous on screen off, but Oasis instituted a 5 minute time-out, IIRC, to reduce a lot of switching, since so many people have a short screen time-out.

5. I don't think so.

High priority messages will come through unimpeded during Doze. They aren't delayed until periodic maintenance. That's what the high priority means. Normal priority messages are deferred until maintenance. I don't know how impending alarms influence the return to Doze, but I wouldn't expect them to have any effect.
[Greenify] axxel6307:
Thank you. Both versions of it have 5 minute time-out? I have it on two mm phones, with no alarms interfering, and it's very sporadic as to when it will doze. I'll set the phone down for ten minutes, and return, and swipe down, and there rarely is a notification that it dozed.
[Greenify] ianmacd:
IIRC, I have read a posting from Oasis in which he said that he had increased the time-out to 5 minutes. It was relevant news to me at the time, so it would have concerned at least the beta, possibly the stable release, too.

Do you have a long lock screen time-out? Possibly Greenify won't enter AD until after your lock-screen is activated. This is just speculation, however.
[Greenify] axxel6307:
I don't use a lock screen on my devices. My display time out is 15 seconds.
[Greenify] TNSMANI:
The notification was not implemented by design. The dev was using it for testing only and the published versions did not have it initially. Once however, the notification was accidentally included in the published version. When some of us welcomed it as a new feature, the dev said that it came out by mistake and that he would remove it in the next version.

I and a few others who had by then used it, requested him to leave it as it was useful. He agreed and so it remains.

I am narrating this to inform you that since it was not intended for publication, it may not have the best implementation. In fact, I have found that BBS is more accurate in recording Doze times than Greenify.

Anyway, it is still in beta.
[Greenify] axxel6307:
Okay thanks.

Bbs requires root. Anything else i can try?
[Greenify] TNSMANI:
I think any such app will require root.

ForceDoze has a switch for enabling/disabling motion sensor as you asked for in a previous post as well as a Doze time notification but it also requires root. However, dump permissions can be granted in adb. It has a lot of other features too, check it out on the Play Store.
[Greenify] axxel6307:
I saw that ForceDoze. Did it give you better battery life?

I will try that later after I give AD a few days. I'm going to see what my stats look like with it and grant dump permissions to see how it does without motion sensing....

Thanks
[Greenify] TNSMANI:
Since Greenify AD works, I simply installed ForceDoze and checked it and uninstalled it. Didn't want too many apps messing with Doze. But some experienced members say that it does better than Greenify and it also has many other options.
[Greenify] axxel6307:
Gotcha.

I had come across an interpretation of the notification stats format, but can't for the live of me remember or find it again. You wouldn't know where it explains that, would you?
[Greenify] axxel6307:
Found it on page 20.
[Greenify] axxel6307:
Just wanted to share a follow up of my last notification question, and how I was rarely seeing it. This may be a fluke but once the notification showed up again, I didn't clear it away like I was previously doing, and now I am seeing regular dozing per the notification stats, and it's being added to the list. So those of you with similar problems, I am wondering if you were clearing your notification away, and what would happen if you left it.
[Greenify] TNSMANI:
You are not supposed to clear it. As far as I could remember, it resets once in 24 hours or when the battery is charged, or something like that. It doesn't go on indefinitely. So don't clear the notification.
[Greenify] axxel6307:
For those of you who aren't rooted, and use AD and then input the dump permissions to disable motion sensors, what are your experiences? Improved battery life?
[Greenify] axxel6307:
Are both of these required to disable the motion tracker? I've already been running Greenify AD on my MM device. Do I still need to do dump #1, or can I just do 2?
[Greenify] axxel6307:
So I was already using AD and I just went ahead and disabled the motion sensors and omg my battery life went from good to amazing on my gs7. I'm at 93% with already 50min of sot. It wasn't even close to that before disabling the motion sensors.

However, I do notice my doze is not turning off lol. The notification timer continues to tick in the right hand corner of the notification. I'm still texting with textra and browsing and it continues to tick away as if it's in doze still. Is this normal? With motion sensors off, what is supposed to bring it out of doze? I even set an alarm and it went off properly, and doze still running. Maybe I am interpreting that doze ticker wrong?

Maybe it isn't in doze, because my wifi is still on , and I've got my phone set to allow wifi to sleep when phone sleeps.... Not sure what this ticker means....
[Greenify] optimummind:
Big improvement for me.

For even more battery savings, try ForceDoze. It's sometimes buggy but works well.
[Greenify] TNSMANI:
That counter is counting the Doze Interactive time ie. the period between two phases of Doze. When screen is on, it will run. It doesn't count the time on Doze which will start when Doze starts.

Anyway good to hear that AD is working and that you are getting good battery life.

---------- Post added at 08:08 PM ---------- Previous post was at 08:03 PM ----------

The first one is required for AD to work. The second one is for the notification (statistics).

If you have root and running Greenify in root or boost mode, then neither is required. The adb commands are for non rooted devices or for running Greenify in non root mode.
[Greenify] axxel6307:
Why would forcedoze be any better? I've been trying to compare them. Only difference I read is forcedoze enters doze at screen off vs a couple minutes for Greenify. Am I missing something?

Also, for heavy users, is it good to doze so soon, as it seems bringing it out of doze everytime would drain the battery.

---------- Post added at 02:11 AM ---------- Previous post was at 02:10 AM ----------

Thanks.

---------- Post added at 02:13 AM ---------- Previous post was at 02:11 AM ----------

Is there a way to immediately doze AD for troubleshooting purposes, and see which apps will work while in doze?
[Greenify] Joy Bangla:
Do I need to grant DUMP permission for disabling motion sensors even if I am rooted? Seen a lot of conflicting answer on this thread and now I am confused. Is there a way to know if my sensors are disabled during doze? Thanks
[Greenify] high_voltage:
Nope, just make sure you set root mode in settings. :)
[Greenify] Joy Bangla:
then surely boost mode will also do?
[Greenify] high_voltage:
as far as greenify goes - if you run it in root mode no PC intervention is needed in any sort.
[Greenify] ianmacd:
Boost mode is a root mode. It uses Xposed. So it, too, requires no adb commands.
[Greenify] hovanhuang:
The other day when I was golfing I set the golfing app whitelist and set location as GPS/WIFI/MOBILE network, AD still kicks in and kill GPS I assume.

So you mean that if set location as gps only, AD won't turn on?

thanks
[Greenify] hovanhuang:
[MENTION=4376588]oasisfeng[/MENTION]

Just tried set GPS only and AD still kicks in. But this is a good idea to control AD. Is there something you can mod?

---------- Post added at 08:08 AM ---------- Previous post was at 08:06 AM ----------

[MENTION=4376588]oasisfeng[/MENTION]

Just tried set GPS only and AD still kicks in. But this is a good idea to control AD. Is there something you can mod?
[Greenify] TheBashar:
I too am experiencing leaked partial wakelocks when AD is enabled. Like others it can take a day or two before one is leaked but then it is stuck with the CPU burning battery until reboot. Using WakeLock Detector I've found it always seems to be the NlpCollectorWakeLock used by Google Play services. Is everyone else seeing that same wakelock?
[Greenify] Asgaro:
Yes, that's the one. (At least in my case)
[Greenify] Hawgfan486:
I tried out Greenify's Aggressive Doze before I had heard of ForceDoze, and my experience with Greenify (with the DUMP command) was that my phone had sit completely still for about 9-10 minutes before it would enter Doze.

I then tried ForceDoze and liked the ability for it to enter Doze immediately or after a user-defined delay (I use a 1 minute delay). So my question is does Greenify's Aggressive Doze require the phone to sit still for a few minutes before it will enter Doze? If I turn off the screen and put it in my pocket and walk around, will it not ever go into Doze mode? With Forcedoze, if you put in a delay, it will still go into Doze mode even if you constantly move your phone around during that set delay time.

I only tried out Greenify's version a couple times before switching to ForceDoze and honestly I don't really remember if that was the case or not, so that's why I'm asking. My phone hardly ever just sits still, it's usually always in my pocket, so I need something that will disregard the motion sensors even before Doze mode actually kicks in.
[Greenify] ianmacd:
Greenify currently waits five minutes after screen-off before initiating putting the device to sleep with Aggressive Doze (I say 'initiating', because the total pre-Doze period, as you've observed, can actually be a few minutes more). Motion is irrelevant here, both in the lead-up to putting the device to sleep and during actual dozing.
[Greenify] Bastienhere:
So I am using Greenify (non-root) and Doze from YirgaLab.

i know that the way they both operate is different; greenify puts the app to sleep while the other blocks data transfers.

My question is, If I use Aggressive Doze, then whitelist some apps like Whatsapp which I need to keep getting messages, will this "whitelisting" also affect the Doze from YirgaLab app?
[Greenify] TNSMANI:
It is a question best asked in Yirgalab thread (if any) since Greenify has no relevance to your question.
[Greenify] Bastienhere:
What if YirgaLab has NO relevance to my question too? I'm stuck I guess. lol. :rolleyes:

I'm USING greenify, it HAS relevance.
[Greenify] TNSMANI:
Though you may have and also use greenify, your question is about the Yirgalab app. So the proper place is there.

AFAIK, whitelisting is an Android MM feature, not greenify's or Yirgalab's. So any whitelisting will affect all processes using the whitelisting feature irrespective of from which app the whitelisting happened.
[Greenify] leap_ahead:
Hello , i use greenify 2.8.1 and donate version, but i cant find aggresive doze in settings,

Phone xperia XA stock non root marshmallow 6.0

Any help ?
[Greenify] putti71:
How do i grant dump permission on 2.9 beta? I am rooted. Do i have to do anything on pc or can i grant dump permission via Phone and terminal?
[Greenify] chrcol:
Doze seemed a promising idea but the issues I found with it are.

1 - Phone has to be asleep for hours for it to work, seems not very logical. Resolved I guess by powernap or greenify aggressive doze function.

2 - It completely kills apps rather than just restrain them e.g. k9 will not poll for email when under doze.

I tried to whitelist k9 which didnt work so I disabled doze on my phone for now (s6 901f).

Also on both my phones, I observed as well doze didnt really boost battery life, but I am comparing to drain with greenify already in place, maybe it does a good job when compared to stock android.
[Greenify] sohailss111:
I just downloaded the 2.9 beta 2 from the play store. I granted DUMP through Adb. My Galaxy s6 is not rooted. However, it keeps exiting AD as it detects motion. What to do?
[Greenify] usvimal:
Guys, 2.9 beta 3 is available on Play Store!

Download beta 3. It has a new feature called doze on the go. Should help you
[Greenify] ianmacd:
Do non-root users even see that option? It's unclear how it could work for them without DUMP permission having been granted via adb..
[Greenify] sohailss111:
Still not working even after using the Doze on the go option.
[Greenify] ianmacd:
Have you used any other software, such as Doze Settings Editor or Naptime, to persistently alter the various Doze parameters?