yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] trojjacker:
I played around with the doze parameters in the app (non-root mode / adb commands) as the current version only sometimes worked on my Honor 8 (Nougat / EMUI 5.0, non-root) as it ocasionally would not enter deep doze or only for a very short period of time.

I was wondering whether the doze parameters in the app when going back to default (resetting the app) are the default android stock ones, the default ForceDoze settings of this app (thus modified) or just a reading of the current settings as specified with the adb commands. When I clicked on going back to default, it showed these settings which I then applied through adb:

Am I correct in assuming that these are the default android stock values? If not, what are these default values? Also, it might be interesting to know what values the Force Doze parameters are when the service is active in case the app is not working properly and people want to manually apply them through adb, or wouldn't this make any sense? Thanks for your help and keep up the good work! :)
[Android Apps and Games] lacxp:
HI buddies!

I have installed Forcedoze on an unrooted HTC 10. I did the adb commands, so I could turn fdoze on. 5mins after screen turned off, and deep doze kicked in I did not get any fcm, like fb messenger, viber etc. Even if I put them in whitelist... What can be the problem? Thanks in advance
[Android Apps and Games] trojjacker:
Did you only add them to the Whitelist in ForceDoze, or did you (also) manually exclude Apps from optimization (under "Whitelist" / the doted symbol at the top right corner / Battery optimization / select the specific apps / "Allow")? This fixed it for me.

---------- Post added at 11:28 PM ---------- Previous post was at 10:53 PM ----------

I think I might have figured out how to make the app run properly on the Honor 8 with EMUI 5.0 (Nougat, non-root). This might be useful for people who are having problems with their devices not entering deep doze. This is purely anecdotal evidence, however:

- I installed the app and used the relevant adb commands for non-root mode and activated ForceDoze

- I deactivated ForceDoze (within the app)

- I manually set the parameters to what I think are the default values (see my previous post). I did that via the adb commands:

- I activated ForceDoze again and then reset the app in the settings ("Reset ForceDoze" --> do not uninstall the app)

- I manually set the above mentioned default values again in adb

- I "re- set up" the app again (you need to do this after resetting ForceDoze by putting in the relevant non-root adb commands) and after that activated ForceDoze

- I deactivated ForceDoze (within the app) a second time

- I manually set the above mentioned default values a third time

- I activated ForceDoze a final time and then turned on "disable motion sensing for doze"

--> I did not restart the phone in between the steps and not afterwards and I am not sure if this also works if you restart the phone

Now the device reliably enters light doze after about 5 minutes after the screen is off and then after another 5 minutes the device enters deep doze. This seems to work also when the device moves (although not perfect with the device sometimes spending additional time in light doze - however, the time in deep doze is now much longer).

I have no idea whether some of the steps are redundant or if this works on other phones. One thing I did notice is that after resetting the app (not deleting it) and activating it again the Whitelist looked much cleaner than before. This seemed strange as I did not add any apps to the whitelist nor had any apps "allowed" for ignoring optimization. It might be possible that EMUI simply forced all of these to be there and by manually resetting the app (and possibly manually entering the default doze values?), the standard default Android whitelist came up again. I don't know whether this process would survive a restart of the phone though. Again, I'm not an expert. This is purely anecdotal evidence, I don't know if this works on other phones or if any of this even makes sense from a technical point of view.
[Android Apps and Games] lacxp:
Hey,

I have exluded/put apps as not optimized status in Android settings. I left ForceDoze's settings in default, so it turned off sensors for system-wide after screen off. If I tick the experimental "disable motion sensing for doze" it works, but keep exiting from deep doze. How is ur settings in deep doze and does messenger works when phone is in deep doze? Should u have to exlude messenger (in Android settings) in order to work?
[Android Apps and Games] laidbackshaz:
Hey guys, i got a question. I have a s7 edge un-rooted and i did the two adb commands that are listed in the playstore description of the app so assumed that force doze would work correctly. i haven't really messed around with the settings and have left the delay time for doze to activate at 0 after the screen turns off. I did a little test of closing my screen for 5 mins with forcedoze on and 5 mins with forcedoze disabled and then checked GSAM under the "Held Awake" section and looked at the times. With or without forcedoze activated the time under "deep sleep" increased but the doze time for both 'light' and 'deep' were both at 0. The way i understand it is this app is suppossed to induce doze mode the moment you turn off your screen, so is it or isnt it working on my phone or is there still a delay of time before it gets activated even with forcedoze activated?

Cheers
[Android Apps and Games] jlb1959.01:
I'm confused with why anyone is having a problem with doze at all,people should realize regardless of root or non root that if you have certain apps on battery optimize their also already added to the white list.and getting no messages from Facebook etc is because they weren't added to the battery optimize,really if people add the proper apps to the battery optimize all the would have to do is install force doze and be set..I read a ton of question that people obviously don't know what their phone is capable of doing.I got direct into deep sleep asap,as my setup is no delay.I also have not waking by movement..this app works fantastic..

I'm on vs985 MM,my 2nd phone is non rooted 7.1 and they both work perfect with this app.immediate deep sleep as soon as screen goes off..
[Android Apps and Games] eddi3x3x3:
Is there a way to disable light doze on nougat and just have regular deep doze all the time with the motion sensors disabled without root? I'm currently using a moto Z without root access and would like to know if there are optimal settings I can use as I feel my phone keeps getting out of deep doze and won't go into deep doze soon enough.
[Android Apps and Games] trojjacker:
[MENTION=7308571]jlb1959.01[/MENTION] - I don't know why I had problems with it. As I said, I'm not an expert but using ForceDoze the conventional way (e.g. activating it, entering the non-root commands, experimenting with "disable motion sensors" etc.) would not let my device enter deep doze reliably. If you look back a couple of pages, there seem to be a couple of people who are having issues under Nougat with their devices not entering deep doze.

[MENTION=6430213]eddi3x3x3[/MENTION], [MENTION=7469110]laidbackshaz[/MENTION] - Did you try the conventional way (e.g. entering the non-root commands, trying to turn on / off the experimental setting of "disable motion sensors"? Turning on "ignore lockscreen timeout" and also making sure that there is no lockscreen timeout?). If that doesn't work, you could try my method which I layed out in the previous post. No guarantee that it works though.
[Android Apps and Games] eddi3x3x3:
Yes I tried all that and your method was the third thing I tried but no luck. Is there an adb command to disable light doze so it goes straight to feel doze?
[Android Apps and Games] jlb1959.01:
I'm on nouget and as I say,you first off cannot have battery opt with certain apps then expect force doze to do different things,example if on battery opp you have messenger,then on force doze its automaticly white listed,or visa versa,if you take it off force doze then your adjusting battery opt..as for non root,I'm non rooted,and I instantly instantly go into deep doze,on settings I have no delay,no motion,and as soon as screen goes off I'm in doze,if I sit overbite,99% deep doze..you have to understand how the phone works as force doze cannot do what battery opt already has done.that's why white list match's battery opt..and certain apps cannot be battery opt..I'm not the person to explain all what phone battery opt does,Davey126 is the person to ask..all I know is most of the complaints are from people not truely understanding their phone..
[Android Apps and Games] trojjacker:
OK. Then my question to you would be how to make it work properly on my Honor 8, non-root, Android 7.0 (Nougat), EMUI 5.0 (B380) phone? Things I've tried are: Coming from a freshly installed system (factory reset), installing ForceDoze, entering the relevant non-root adb commands, activating it, leaving the whitelist and optimization unchanged except for adding ForceDoze and WhatsApp (in the optimization settings of the phone which were then automatically added, as you say, to the Whitelist of ForceDoze), turn on "ignore lockscreen timeout", deactivate lock-screen timeout in the settings of the phone, and experimenting with "disable motion sensing for doze" - activating / deactivating it.

Am I missing something here? I thought all of these steps are the recommended ones. But after doing so my device still did not enter deep doze reliably. The best I could do was, as specified earlier, make the device enter light doze after 5 minutes after the screen is off and then enter deep doze after another 5 minutes by applying the steps I layed out. I admit that I'm not an expert but I don't see how "not truly understanding the phone" made ForceDoze not work properly for me as I think I followed all the recommended steps.
[Android Apps and Games] jlb1959.01:
don't want to come across as an a. .,the main thing you have to do is set force doze to immediate after screen goes off,no motion,and make sure your phones battery opt isn't interfering with what to want on force doze,some phones(vzw)has apps already opt so you can't in do that,the phone considers it system app,such as messaging,so that can not be white listed on doze.in order for instant doze there can be no delay,as for deep doze I have no idea the developer would have to explain,both my phone go into deep doze near instant(nouget,and MM)..
[Android Apps and Games] trojjacker:
I did exactly that and obviously also set ForceDoze to immediate after screen goes off. You might be right about system apps though as EMUI might have certain weird system apps that you cannot optimize. Maybe that's part of the reason why it doesn't work properly. I should note to the developer, however, that the app is still excellent. Even with the 5 minutes delay each (for light and for deep doze to kick in) it greatly improved standby time for me. Also, disabling motion sensing mostly works.
[Android Apps and Games] DB126:
I would not get too fussed about doze timings. There are parameters that determine delay from screen off to light doze and light to deep doze assuming no intervening events. OEMs may set these values differently; some are customizable in ForceDoze (root required). However, under most scenarios you would be hard pressed to measure the battery savings between instant doze and the default taper, especially on Nougat or MM with motion sensing disabled. In most cases your device will be idling at the lowest frequencies/power (CPU, GPU, radios) with the screen off which is very efficient on newer hardware.
[Android Apps and Games] Korveck:
Hi, I just installed ForceDoze on a Leagoo M5 Plus non-root and everything seems to be working except that it can't read the battery level. Any ideas?
[Android Apps and Games] :
I've seen people addressing this in the thread but I didn't see any solution.... I have an non-rooted S7 Edge (AT&T, Snapdragon) and the doze doesn't seem to kick in if I'm moving or if the devices is in my pocket, but it works perfectly if I leave it on a table, stationary.

Does anybody knows anything I can do about this? I have the "Disable motion sensors for Doze" enabled but I'm not sure if it's working... :(

Thanks
[Android Apps and Games] Spacemonkie4207:
I currently do not have root permissions. I've set aggressive doze in greenify using ADB, will ForceDoze and aggressive doze have any conflicts?
[Android Apps and Games] DB126:
They should not but really should only be using one tool for controlling doze beyond the device/rom's own mechanisms.
[Android Apps and Games] purbaboy:
Should i deactivate OEM doze ?

Hello guys should i turn off OEM doze (oxygenos) while forcedoze is activated on oneplus 3 ? Need some help or explanation in advance. Thank you
[Android Apps and Games] batsy:
I got a little lost here.

Current FD: Cannot add/remove packages from the whitelist directly from the app for non rooted Nougat.

Next FD update: Can add/remove packages from the whitelist directly from the app?
[Android Apps and Games] DB126:
My interpretation: next release will detect Android version + root status and enable/disable UI features accordingly.
[Android Apps and Games] cartesson:
Can't select the option to turn off Mobile Data, it says that root doesn't allow or its unavailable
[Android Apps and Games] jlb1959.01:
really not an issue,whether rooted or not because you can by pass that problem by going directly to the battery opt within the phone and remove apps.?? or is there something new in the past 3,4 months??
[Android Apps and Games] Spacemonkie4207:
I'm no Pro but I would keep doze on. I think what force doze does is what the name implies. Tells doze to kick in sooner.

Try Force Doze with Does switched on.

If you switch off doze there's no doze to force????
[Android Apps and Games] lennyPatator:
Hi everyone,

on my side I have strange problems, on Marshmallow. It used to work perfeclty. I had to wipe the phone and reinstall everything... since then it doesn't doze at all.

Phone : unrooted xperia z3 compact, Android 6.0.1

I did the adb commands, and ForceDoze does not complain anymore about it, but it enters doze mode then exists doze mode a few seconds after.

I had a look at the logs : (after doing adb -d shell pm grant com.suyashsrijan.forcedoze android.permission.READ_LOGS)

it says

Also : the whitelist is full of things (com.android.vending for instance), and I cannot remove anything. I'm *not* on Nougat so I shouldn't be affected.

Finally : the notification area shows 'No Date' where it used to display the time spent in doze mode etc.

Note that I also tried adb -d shell pm grant com.suyashsrijan.forcedoze android.permission.WRITE_SECURE_SETTINGS, even if oce again, on marshmalow I'm not supposed to need it.

any clue as how to tackle this will be heartily welcome !
[Android Apps and Games] Licaon_Kter:
Those are put there by your Android version, you can't remove them except if you get root and delete them.

You do use Google services? IF yes then those are needed there for PUSH.
[Android Apps and Games] lennyPatator:
Well, I'd like not to use them. I don't care about the Push things (from google or whatever). Call me an old man, but I use my phone when I need and have time for it, I hate being disturbed by it or 'be forced to' use it by a newsfeed or a push from whatever.

(for instance : I manually sync my mails when I decide to read them :) yeah I know, sounds old)

All this text for one thing : whitelist or not, if I don't use the service it should not interfere with the Doze thing, right ? I'll check.
[Android Apps and Games] DB126:
While I personally agree Google (and just about everyone else) think differently as information can not be gathered and revenue streams generated when you're not 'connected'. You will need to be rooted to acheive the level of control that you seek.
[Android Apps and Games] Licaon_Kter:
Get temp root, disable them: https://xdaforums.com/xperia-x-performance/how-to/dirtycow-temp-root-t3503918

Yes, they're still on the list, but they'll not consume anything.

Also, did you hear about this no-root firewall: https://xdaforums.com/android/apps-games/app-netguard-root-firewall-t3233012 ?
[Android Apps and Games] CodeCompany:
nice
[Android Apps and Games] lennyPatator:
nice indeed ! didn't know it, will probably give this a try soon.

Right now, after seeking through this thread, I've tried 'greenify'.

I'm not using the 'hibernate' features, just the doze thing. Seems to be doing the job : 3% battery used overnight.

thanks for all guys !
[Android Apps and Games] exeon:
Hi, not sure why, the Whitelist does not has any effect when I add or remove app, apps in the list just never change.

Sorry, just found this:

I would recommend to just grayed out the Whitelist option if it detected unrooted Nougat users, to avoid any misunderstanding. Users might thought it's a bug or what :fingers-crossed:
[Android Apps and Games] ScOULaris:
Has there been any analysis done on what kind of difference this app is supposed to make in terms of battery savings? I've been trying it out for the last day or so, and I'm noticing that I still lose like 5-7% an hour when idling even with the default ForceDoze settings applied.

Without ForceDoze, if I let my phone enter Doze normally after 30 minutes my battery graph will essentially flatline. Shouldn't the same thing be happening immediately if I leave my phone idle and locked for 15-20 minutes?
[Android Apps and Games] DB126:
Need to capture an idle log with BBS to see what's keeping your device awake and/or consuming power when the screen is off. Anything less rigerous simply leads to (likely inaccurate) speculation.
[Android Apps and Games] Freezy202:
Seems like intens for toggiling data and wifi doesn't work.
[Android Apps and Games] just_bol:
Hello! I changed some values in device_idle_constants by using "settings put global", like idle_to, idle_pending_to, factors etc. Does ForceDoze take these values from there? Or app uses static values from itself? Because I want appearance of maintenance window more times, but shorter duration.

Sorry, if you are having problems to understand me, my bad English :)
[Android Apps and Games] Vshu:
hey,I tried this app on 7.1.1

everything works fine & actually saves battery on sleep mode.

but when I start using the phone

battery is draining very very fast.

any suggestions? what to do?

thanks in advance
[Android Apps and Games] Ubimo:
[MENTION=5427507]ssrij[/MENTION]

I have a proposal, can you please implent/give us an option to "Force close all apps" when I lock my phone?
[Android Apps and Games] DB126:
That's just silly and would surely consume more juice when some of those apps are restarted at a later time. That's what doze/hibernate is all about: quieting apps during sleep without destroying their environments.
[Android Apps and Games] Ubimo:
I asked for an option.

You don't have to tick it if you don't want it.
[Android Apps and Games] DB126:
Goes against the grain of ForceDoze. Like asking for an oven to be added to a refrigerator. Plenty of 'kill all' apps (task managers) in the Play Store.
[Android Apps and Games] Insaneflame:
Hi im new with force doze and my mobile isnt rooted.

Now i see i can work around it.

But i dont know what to do with that permission steps and adb commands.

Is there a tutorial? I know how to open a PC command but not a cellphone.

EDIT: I got the adb command screen working only the command doesnt work.
[Android Apps and Games] fcaronte:
hi all, any trick to fix the s7 always on display not go off after 3 minutes?? i try to cover proximity sensor but stay on. If i on movment the display turn off because i cannot have work app on movment, i'm on s7 nougat no root
[Android Apps and Games] wirelesscord:
You don't write the command on the phone... you connect the phone to PC via USB and then type the command on PC. See this tutorial: https://www.howtogeek.com/125769/how-to-install-and-use-abd-the-android-debug-bridge-utility/
[Android Apps and Games] rajkatiyar07:
What does these lines mean in screenshot?
[Android Apps and Games] Licaon_Kter:
What part of the text is not clear?
[Android Apps and Games] Hooxp17:
no data in my device with Lineage os 14.1(android 7.1.2)...

I can't confirm whether it does work or not.
[Android Apps and Games] rajkatiyar07:
Text is readable , open it in new window or click on it
[Android Apps and Games] Licaon_Kter:
I'll ask again: What part of the text is not clear (for you)?

What is the problem exactly? You are informed about what happened, when it happened and for how long.
[Android Apps and Games] DB126:
What a thoughtful post lacking any context. Shall we guess?
[Android Apps and Games] luws:
Hey guys. Why am i not able to remove google play store & services from whitelist? They're responsible for some battery drain... I have a zuk z2 with the latest dirty unicorns rom.
[Android Apps and Games] mikeprius:
I had 2 questions:

1. Once my screen is off but ambient display flashes is the phone still staying in doze? I have everything set up working no root. When there's movement ambient display kicks on even though I hit the power button for screen off.

2. Does the system entering and exiting doze frequently use up more battery vs if it were not being out into aggressive doze right away ? It's possible I'll use my phone then hit the power button but may need to check an email that arrives in 1 min.

I've been reading a few threads back. I can see how ppl get frustrated. Esp that post with the info on the notification shade asking what it was lol
[Android Apps and Games] DB126:
Ambient display simply brings attention to a notification or other action that your device has taken on your behalf that could not occur while "doze" was active. Typically ambient display triggers shortly after the event has taken place so it seems unlikely doze would be terminated exclusively to illuminate the display.

Aggressive doze, when functioning as designed, simply defers queued actions until the device is explicitly woken. Whether this saves battery is dependent on the duration of uninterrupted doze and, more importantly, workloads processed during doze maintenance windows and/or after doze is explicitly terminated which is highly app and user dependent.
[Android Apps and Games] mikeprius:
What app is this ? GSAM ? I downloaded GSAM and did not see this selection. I've been using another app to check the deep sleep times.
[Android Apps and Games] whatsisnametake2:
i am trying this app out on an unrooted stock s7 marshmallow. main problem is the "timer" app won't sound when the phone is in doze. i use this all the time. anyone know what to whitelist for this?
[Android Apps and Games] wirelesscord:
I don't know what app you're talking about, but if whitelisting it doesn't work, then as far as I remember this is because the app in question doesn't use AlarmManager properly. If it is a 3rd party app contact the dev and ask him to fix this.
[Android Apps and Games] Al Gore:
Hi, is it possible that this app stops working at times? For example tonight my phone ate quite a lot of battery (I've only been using forcedoze for 3 nights and previous 2 were way better). I opened FD to see night stats but the stats page was by default showing old stats page where you can't see how many % were used in the session. After I rebooted my phone the stats page is back to normal but last night is not in the list of doze sessions at all. Does it mean FD didn't run at all last night?
[Android Apps and Games] DB126:
You'd have to submit a log for a definative answer but yes, any app can fail to run (execute tasks) for various reasons. That said, the behavior you cite does not appear to be a characteristic of Force Doze based on user reports. Also possible your device woke for unknown reasons during the night as was not able to fall back into doze due to rogue activity. Nothing Force Doze can do about that.
[Android Apps and Games] Hacker $007 $:
Force Doze Is Not Working Well in RR 5.8.3

I am using Both Force Doze And Greenify (Aggressive Doze) and Magisk Module Doze GSM

Please Help..