yashsingh1/xdaforums huggingface dataset:
[Greenify] sohailss111:
I had used Doze editor. But then I used the stock adb command to get back to the original values. Doze on the GO along with AD works sometimes. So it's difficult to make out whether it's working or not
[Greenify] ianmacd:
I don't know what else to suggest at this point, other than to post a full BBS idle log.

Definitely double-check your Doze settings with DSE and ensure that you don't have any lingering custom values that you may have missed.
[Greenify] tohtorin:
Tried to search thread but did not find any solution. I have greenify latest beta and working in xposed mode. But my option "doze on the go" is grayed out and cannot change it. And I think its not working while moving.
[Greenify] markos9310:
Error 2.9 beta 3

Thank you. :)

Version 2.9 beta 3 has an error. The " Quick Action Notification" option can not be disabled. When Greenify is closed, reappear the Quick Action Notification .

Translate from Spanish to English by Google Translator. :fingers-crossed:
[Greenify] nytebird:
Having the same issue as markos8310 .
[Greenify] Joy Bangla:
Screen wakes up by itself on beta 3. Anyone else facing this issue?
[Greenify] TNSMANI:
The only way now seems to be to use Amplify (Services) and disable Greenify's NotificationService. This blocks the Quick Action Notification but allows Doze notification.

---------- Post added at 04:48 PM ---------- Previous post was at 04:47 PM ----------

See above.
[Greenify] turtle254:
How do you read the notifications ,i.e.

12:18|12:18-12:21=3m29s934ms

10:57|11:28-12:01=33m35s794ms

10:14 10:14-10:17=3m48s942ms

9:39|09:39-09:42=3m15s646ms

sometimes has a " | " and sometimes not?

Which number is the time in Doze and which number is time out of Doze?
[Greenify] ianmacd:
The number to the left of the pipe symbol is the screen-off timestamp. The numbers to the right are the times the device entered and left Doze.

When you have multiple lines with the same screen-off time, it's because the device is coming out of Doze periodically to perform routine maintenance.
[Greenify] turtle254:
Wow ... you mean that the only time its in Doze is the total of the time to the right of " = " sign ?

That means a lot of time over night its out of Doze, more than just maintenance.
[Greenify] ianmacd:
The efficiency of Doze depends somewhat on how many apps you have exempted from it. If you have a lot of apps whitelisted, this may make Doze erratic.

Typically, your device should only go into Doze maintenance for five to ten minutes every couple of hours.
[Greenify] smatak:
Hello,

I cannot activate DUMP via adb. I used the guide from 1st page. Doze on the GO is still greyed.. Can u help me please what exactly should be written in command prompt?

I am on Lg g3 fulmics, 6.0, rooted, xposed
[Greenify] popy2006:
Hey guys.

Currently using NapTimes Agressive Doze Feature which is similar to Greenifys.

After the display goes off online music apps, like google music or amazon music stops streaming.

The apps are whitelisted in battery optimization options of android!

Does this work with Greenifys implementation of AD?

thx

pOpY
[Greenify] TNSMANI:
See this: https://greenify.uservoice.com/know...o-grant-permissions-required-by-some-features
[Greenify] smatak:
Yes, exactly this I used. but nothing. it is still greyed.
[Greenify] externus:
I would love to see an option to activate doze immediatly after screen turned off
[Greenify] ianmacd:
Greenify used to work like this when AD was first added, but the timer was later bumped up to 5 minutes, presumably because too many things were still settling right after the screen went off.
[Greenify] azsl1326:
I am rooted and when trying to activate doze on the go, I get a message about using adb to activate DUMP. Just switched ROMs and I didn't have to do this in my previous ROM. Suggestions?

Thanks, in advance.
[Greenify] leap_ahead:
Aggressive Doze in Greenify should work on all devices with Android 6+, unless the Doze Mode is explicitly disabled by the ROM

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.
[Greenify] sohailss111:
Doze on Google still doesn't work at all. Galaxy S6 here. Anyone ???
[Greenify] bayran321:
if I'm rooted is not necessary to activate DUMP via adb or only with root permission with supersu, to be agressive doze and "on the go"?
[Greenify] TNSMANI:
Asked umpteen times and answered umpteen times.

If you are rooted and are running Greenify in root or boost mode, no need for DUMP permissions. This is true for regular SuperSU, not sure about systemless.
[Greenify] Andrev01:
Guys, [MENTION=4376588]oasisfeng[/MENTION], I got two little questions here. I know it was answered in this topic, but I read almost a half of it and didn't found my answer.

1. Should I add Greenify (using AD, not "on the go") to systems' Doze whitelist?

2. I added Endomondo to systems' Doze whitelist (before it wasn't whitelisted, but I had the same problem as following), it's not greenified and whenever I run with this app (Endomondo + Poweramp with music - music works fine) Endomondo loses GPS signal (sometimes without a warning) and cuts down my trainings. It simpy does not count my training in some moments (on 5.1.1 it was OK) - but if I wake the phone every 3 minutes it's OK. How to fix this? Is this caused by Endomondo or Greenify's AD feature?

Bonus question - should I add my SMS app to system's Doze whitelist? Thanks a lot!
[Greenify] Sufyan3D:
There is an app called ForceDoze on the Play Store which does that. Didn't test it myself but according to reviews it's working pretty well.
[Greenify] skyred5:
ForceDoze doesn't do it immediately after screen turn off. Tested and proven.

*edit* correction. Was charging my phone. Thats why it did not get started. Sorry for the wrong info.

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

Hi Dev... i know the aggressive doze and on-the-go mode is still an experimental feature.

I have this teeny tiny little issue. Greenify will notify me that an app is running in the foreground and needs to be hibernated. There are two options; hibernate, or postpone. Hibernate options works fine. However for the postpone option, it tells me that the hibernation is postponed till hh:mm.

When the time to reach hh:mm, and I'm ready to hibernate and I press that option, the notification does not go off. I do get a toast notification that "app is hibernated". But all is good after I restart phone.

Just wanted to let you know so that things can be improvised on the next stable/beta version. It's not very much a big deal, no worries on that. Appreciate all the time and effort taken to do this app. :)
[Greenify] RogerSC:
Played with ForceDoze on Marshmallow the other day and found it less reliably triggered on an unrooted phone (Nexus 6P) than Greenify Doze on the Go. I did give ForceDoze the permissions that it requires, as needed to work on an unrooted phone. However, after using ForceDoze for a couple of days, I switched back to Greenify andI found that I saved more battery in idle mode using Greenify Doze on the Go than ForceDoze. So I've been using Greenify Doze on the Go since. Great app.
[Greenify] sohailss111:
Does the Doze on go feature work properly in the new 2.9 stable version? I have a GALAXY S6.
[Greenify] mjeshurun:
Hi guys,

I'm using a stock Nexus 5X. Are there any known bugs with Dose On Go for non rooted devices?

Specifically, does the ADB changes cause any interference with Android OS OTA updates?

(Aggressive Doze & Doze on the Go:

adb -d shell pm grant com.oasisfeng.greenify android.permission.DUMP

Wake-up Tracker:

adb -d shell pm grant com.oasisfeng.greenify android.permission.READ_LOGS)
[Greenify] tailslol:
on my nexus 5x no bugs but random wakes up sometime. i m unlocked but not rooted.
[Greenify] sohailss111:
It goes out of Doze when I start to move. Have observed this multiple times, when I check my phone after 10 minutes, after I have slightly moved it.
[Greenify] snky1987:
Is it possible that by limiting some "wake locks" or "alarms" using Amplify I broken the "aggresive doze" feature of Greenify ?

I had this feature working with debugging turned on. Then I used my phone from time to time (no clock alarms active at all on my phone) and suddenly it doesn't go into Doze mode anymore.

In the meantime I played a bit with Amplify and limited some wake locks and alarms (e.g. send_location_in_smd_mode or ContextManagerWakeLock).
[Greenify] briney22:
I have the same problem, but in my case it is when listening to music and using Sports Tracker. With Sports Tracker whitelisted or not, it stops working after some time and my bike ride is not tracked properly. With aggressive doze turned off it works fine. I'd like a fix for this if possible, as I really want to turn on AD as it seems to have a great affect on my battery life. Thanks.
[Greenify] konradsa:
I also have problem with Napster music application. When listening to music (even in offline mode), the application stops playing after a while for a few seconds, and then it continues playing again for a few minutes before stopping again. This only happen with AD on, even though I white listed it, with it off it's fine.
[Greenify] decoction:
where to enter the code? is it on the "build.prop"? . im on the custom rom so i think the latest update of that rom disabled the aggressive doze. cant find it on the settings.

thank you in advance.
[Greenify] Adrianrff:
Do any of you guys have Greenify set to notify you with Doze activation times? Does your phone enter Doze for a comparable amount of time (compared to the time it has been idle)?

I seem to have issues with Doze (or apps detecting it). Before I used this feature in Greenify, I used Gsam battery app. According to that app my phone very,

VERY

rarely entered Doze. After enabling this feature things seems to have improved, but I still think something is preventing Doze from activating and staying active. For example, 2 nights ago the device didn't even enter doze, not for a second. Last night (9 hours idle) I see a Greenify notification in the morning (see pic). But the amount of time it entered Doze is small compared to the 9 hours it was laying still on my table.

My phone sleeps just fine, idle drain is good, so I'm curious as to what is really happening. Any ideas? (@oasisfeng). I have Greenify working on boost mode (Nexus 5 - Android 6.0). I had Tasker, a remote locating and security app and whatsapp whitelisted. I removed them from the list early this morning but I still haven't seen Doze activating. The longest idle time today was around 3 hours and not a single second of Doze.

Thanks in advance .
[Greenify] TNSMANI:
The notification from Greenify is not always accurate. I have BBS and it shows the Doze times more accurately.

Check with that.

If you still do not get proper times for Doze, uninstall and reinstall Greenify. BTW, I hope you are running the 2.9 final version of Greenify.
[Greenify] Adrianrff:
Thanks.

I am running 2.9.

Just tried BBS (installed as system app and all) and still get zero Doze time over night. I'm not sure what "interactive Doze" means, but it coincides with screen on time, and it registered even without turning the screen off, so even though I'm not sure what that means, I'm sure is not Doze becoming active.

I've tried reinstalling Greenify before to no avail.
[Greenify] TNSMANI:
Doze interactive time is the time that the phone is checking to see whether it can activate Doze. It will be more than the screen on time (during which obviously Doze can't be activated).

Your sensors were active for quite a long time and that may be the reason for Doze not kicking in. Check for apps/settings in your phone meddling with the various sensors including proximity sensor.
[Greenify] Legatus Onoris:
Think to don't understand this problem.

I'm on not rooted 6.0.1 note 4.

Spoiler content hidden.

Auto hibernating says that I need accessibility, device administration and no lock screen security. All 3 been made.. Why not allow me to flag it? A pop up mess appears.

Dal Note 4, 6.0.1
[Greenify] aidy.lucas:
Draw on top permission needs granting press the toast message.
[Greenify] Legatus Onoris:
Don't know where to do that :(

Dal Note 4, 6.0.1
[Greenify] aidy.lucas:
Permission settings in app settings mm is hectic
[Greenify] Adrianrff:
Yeah, i noticed that. I thought it was an auto brightness app I have (Velis), but I've since disabled it and BBS still registered high sensor usage times. I have every sensor monitoring option off in Tasker, I only turn it on inside the task that needs it and then turn it off again. What's strange is that Gsam doesn't show me these values. It shows a few seconds in sensor usage from Tasker, Google app and Google Play Services, but nothing remotely close to what BBS shows.

I've been searching for an app that could cause this but haven found one. Is there a tool to help me find out what the hell is using the sensors in my phone?
[Greenify] lparcshinoda:
[MENTION=4376588]oasisfeng[/MENTION] I've noticed that Aggressive Doze doesn't stop after significant motion event if the "doze on the go" option is disabled in both aggressive doze options and advanced options. Is this a bug? Running latest BETA of Greenify without xposed.
[Greenify] ps89:
Hello. Do I need to add Greenify to Doze's Battery Optimization list? Thanks. :)
[Greenify] aidy.lucas:
I haven't it's in NOT optimised on mine
[Greenify] TNSMANI:
That is a contradiction.

Doze's whitelist contains apps 'not optimized for battery'.

[MENTION=5335027]ps89[/MENTION]

I have Greenify in "Optimized" list. So take your pick.
[Greenify] Bob823:
I think that's what [MENTION=6073713]aidy.lucas[/MENTION] meant to say - he hasn't excluded it from optimization. It therefore doesn't show up on the whitelist.

I haven't whitelisted it either (it's being optimized) and it works fine.

Gesendet von meinem SM-G925F mit Tapatalk
[Greenify] aidy.lucas:
Optimized means it'll get killed in the background(like 5.1 stamina) NOT optimised means it'll always be running in the background(hence Google play services always being in the not optimised list) like I said mines in NOT optimised and working fine including aggressive doze and doze on the go think your confused about what optimised and not optimised means
[Greenify] aidy.lucas:
Here's a screen shot see its in ynot optimised list
[Greenify] TNSMANI:
I perfectly understand the meaning of Optimized and Not Optimized. And mine is in Optimized as I said earlier, without issues.

The query was "Hello. Do I need to add Greenify to Doze's Battery Optimization list? Thanks." meaning whether Greenify is to be added to the whitelist as Not Optimized.

You answered "I haven't". It means that you have not added the app to the Not Optimized list.

Then immediately you say "it's in NOT optimised on mine" meaning that you have added it to the Not Optimized list. This is contrary to what you said earlier and that is what I pointed out.

Anyway, my intention was not to find fault with you but to inform the querist the correct position.

If I have offended you in any way, I apologize.
[Greenify] mrfrantastic:
AD always disables Wi-Fi. Wi-Fi is set to not disable when sleeping. Still Wi-Fi is being disabled when AD kicks in. Any suggestions?
[Greenify] rudhraraj:
i have sony z2 with greenify 2.9 beta 4 .i enabled aggressive doze mode. my phone enters doze in some minutes,its nice which saves my battery.

but is it necessary to do "interruption by motion" "DUMP" permission manually.
[Greenify] TNSMANI:
If you are rooted and are using Greenify in Root or Boost mode, then adb permissions are not necessary. It is necessary only when you are not rooted or using it in Non-rooted mode.
[Greenify] dontmess:
I have non-rooted Nexus 6p. I just followed the ADB instructions. If I uninstall the app will I have to re-grant this access. As does uninstalling app reset doze back to default settings?
[Greenify] ivanwong1989:
Hi , long time user of Greenify donation package.

want to ask, after I've enabled DUMP and READ_LOGS through Adb, non-root, i ticked the option for aggressive doze, and it doesn't seem to be working.

No notifications pop up to state that the phone has entered Doze. Any idea how to proceed from here?

Phone : Huawei P9 Lite

Marshmallow 6.0

EMUI 4.1
[Greenify] aidy.lucas:
Wait ten minutes before Checking, did you enable the doze notifications at the bottom of the aggressive doze options. If you can enable the aggressive doze and doze on on a unrooted device in greenify then it's working as before it doesn't work. Did you check the adb connection with the device it works great on my unrooted xa
[Greenify] ivanwong1989:
it's not working :(

.Is it because of EMUI 4.1 or mine is only at Marshmallow 6.0 and not 6.0.1?
[Greenify] aidy.lucas:
I'm on 6.0 on a unrooted device it works on any mm, if it isn't working and you can't enable the sliders in the agressesive doze options uninstall greenify then re-install it and try again but don't copy n paste the two adb commands type them in manually it gives you detailed instructions on how to do it in the greenify app.
[Greenify] haseogu:
can we use terminal emulator instead of pc to grant the permission ?
[Greenify] sithjedi333:
I've seen this too and it seems to be creating a lot of wakelock since with wifi off, it starts activating the cellular radio constantly and leading to more battery drain.
[Greenify] aidy.lucas:
I could only get it to work doing it via pc.
[Greenify] rdobbert:
Problems with the Note7?

Aggressive Doze was working well on my unrooted Note 4. I upgraded to the Note7 and now Greenify seems to be causing, or at least adding to, heavy battery drain. I attached my BBS test if anyone cares to look.
[Greenify] TNSMANI:
You have to post an idle dump from BBS. What you have posted is an in use dump, meaning that you had used the phone before saving the dump.

YouTube download of about 150MB happened on wifi. Another 50MB download on mobile data.

You seem to have wifi issues. Try assigning a static IP for the phone. Look for some other wifi devices on the same wifi network which are not behaving properly. Try switching off other devices. If there is no improvement, go for some custom kernel.

You may have to use Amplify since your alarms/wakelocks are high.
[Greenify] rdobbert:
I rebooted, put my phone down for 8 hours, picked it up and saved a BBS dump. That's an idle dump right? I'm providing this because when Greenify is installed and Aggressive Doze with OTG is enabled, all this funky wifi alarm nonsense happens, when it uninstalled it does not.
[Greenify] Adrianrff:
Hey [MENTION=4376588]oasisfeng[/MENTION]. I posted a while ago that something was preventing my phone from going into Doze mode because a rarely saw the notification from Greenify. I just found out that it seems to be the wifi and or cellular data being active that prevents it. If I turn off both wifi and cellular data, the phone goes into Doze mode almost exactly ten minutes after I put it down.

This isn't normal, isn't it? Any idea what might be happening? Does it have something to do with Greenify or is my device? Thanks in advance.
[Greenify] jonatutu:
How do I know if the aggressive doze is working...I have a rooted phone, enabled aggressive doze, doze on the go. I still receive notification from WhatsApp even without whitelisting it. Is it working ?
[Greenify] aidy.lucas:
If you can enable the two options in the greenify settings then it's working or at least that's how it is on unrooted device's. Is greenify in the NOT OPTIMISED list.
[Greenify] TNSMANI:
Even during AD, there are maintenance windows when apps are allowed to do their things. Additionally, if Whatsapp uses GCM, you will continue to receive notifications.

If you have enabled the notification from Greenify, it will show you whether AD or normal Doze is working and the times.
[Greenify] Adrianrff:
-Post deleted-

---------- Post added at 10:06 AM ---------- Previous post was at 09:10 AM ----------

I'm still having problems with Doze not activating consistently. I figured out that it's the WiFI and/or the mobile data being active that prevents Doze from kicking in. I found out because I recently started turning both connection off at night and in that condition Greenify activates Doze exactly 10 minutes after the screen is off.

Has someone else had (or having) this issue? [MENTION=4376588]oasisfeng[/MENTION], any idea?
[Greenify] price31:
have you found a solution to this? Thank you
[Greenify] NBAPwns:
http://imgur.com/a/ISO3M

Could the cause be because I have "GCM Push for greenified apps" on Greenify ticked on? I also have Bluetooth doing something according to the graph but my BT is off

http://imgur.com/a/9VEOl I unticked it. I noticed that when during deep sleep and I turn on my phone once I wake up I am receiving app notifications like emails etc..

Please Help! :(
[Greenify] deepu458:
No, im currently not activating the Aggressive Doze bcase of this reason.
[Greenify] price31:
Does it happen in regular Doze mode after 1 hour or so of being idle?
[Greenify] tailslol:
any tasty nougat support?
[Greenify] deepu458:
S now the Doze kicks in @30 minutes after being idle. I think the regular doze interval is 30 Minutes not 1 hr.
[Greenify] Lither:
I'm using CM13, which doze is better for battery life, the one built-in the ROM or Greenify?
[Greenify] TNSMANI:
If AD kicks in at 10 minutes, what is it that you are complaining about? Your wifi/data being active is not caused by Greenify. May be try clean flashing your ROM.

Or else use LeanDroid from Play Store to manage your wifi/data.
[Greenify] Adrianrff:
Read the post again, buddy. Carefully this time.

First, i'm not complaining about the wifi or mobile data being active. I'm saying that Doze does not kick in if wifi or mobile data are enabled. Second, I'm not saying that its caused by Greenify either, I'm just asking if anyone has had this issue or knows how to solve it, perhaps the creator of Greenify knows about it.

Your comment is rude and useless.
[Greenify] memocatcher:
How can I fix that? Hibernated Apps wakes up every time when a notification appears.
[Greenify] smoothlol:
Go to settings > battery > battery optimization > and make sure Greenify is "Not optimized".

That worked for me.
[Greenify] oasisfeng:
In theory, WiFi and cellular data availability will not block the doze mode, but it may defer it a little while. The only one known situation that prevent doze is the incoming alarm clock in less than an hour. This is an intented behavior in the doze implementation of Android.

If Greenify is killed by low memory situation or other 3rd-party tools, the Aggressive Doze will also stop to work.
[Greenify] oasisfeng:
Nougat will be supported in root and boost mode in the incoming beta version. Doze in non-root mode on Nougat still requires more work to be done.
[Greenify] oasisfeng:
Click the "Troubleshoot" button, there's explanation and possible solutions.
[Greenify] tailslol:
I see,thx.i will wait.
[Greenify] Adrianrff:
Thanks.

It turns out that it was Tasker that prevented Doze from kicking in. The developer implemented what he called 'reliable alarms' as an option as an attempt to solve the problem of profiles not being activated while the phone was in Doze mode. He uses the OS alarm system in that case instead of its own, which is consistent with what you say. After disabling that option in Tasker, Doze kicks in normally (but some Tasker profiles are no longer reliable).
[Greenify] neezy13:
On my Samsung S7 Edge, using the Always on Display seems to prevent Aggressive Doze from activating. I have also enabled Doze on the Go. If I sit the phone screen down, the AOD is disabled and the phone dozes just fine but if it sits screen up it will not doze due to the AOD. Is it supposed to work that way or is that a bug?
[Greenify] strongst:
How can I get rid of this notification about aggressive doze like kicks in
[Greenify] ianmacd:
Just turn it off in Greenify's settings.
[Greenify] strongst:
Which one exactly? This is how it is configured at the moment:
[Greenify] ianmacd:
Click on Aggressives dösen and it will be the bottom item on the screen that follows. Just toggle it off.