yashsingh1/xdaforums huggingface dataset:
[Android General] TNSMANI:
@v7

Have you seen the post of the Greenify Dev that he was able to stop significant motion on his phone during Doze?

See http://xdaforums.com/showpost.php?p=65139367&postcount=292
[Android General] scissorscrush:
Hey @v7, the battery went from 40% to 0% and shutdown, needed charger to boot. Never happened before, software or hardware?
[Android General] v7:
How old is the cell?Which device?

___

v7

XDA Assist
[Android General] v7:
Wow!Great news :D This will unleash the full power of Doze! :D

___

v7

XDA Assist
[Android General] senthilrameshjv:
@v7, during KitKat times, I disabled keep awake for Google services and there were some issues. But the op says we can disable it.. Is that still hold true? Or to be tested? I've turned it on now anyways.
[Android General] rolarocka:
The new beta is out ?

A0001 - oneplus one
[Android General] Rakuu:
I used the settings from this for amplify, and in power nap I white listed the apps listed here, as well as the pebble time app, music boss, and spotify. I can't control spotify anymore from my pebble, I can launch it and control volume but play/pause and forward/rewind don't work unless I switch to remote controls and have music boss do screen on which is not ideal, and stock music control on the pebble just doesn't work in any case, I assume it's something to do with amplify, which ones pertain to bluetooth?
[Android General] v7:
Freeze PowerNap and see if it fixes the issue!

___

v7

XDA Assist
[Android General] v7:
Fellas,

I've updated Greenify on my espresso.Running CM 13 on it.Will test Agressive Doze on it.I'm a bit busy these days due to exams,still I'll try to test and update the OP asap :good:

Peace!I'm out ;)

PS:Seems like doze is disabled in the ROM.Will need volunteers for testing :)

___

v7

XDA Assist
[Android General] Rakuu:
Froze it and rebooted, works now, should I not use powernap or what else should I whitelist? This is what my whitelist looks like currently
[Android General] v7:
Can't find Spotify in the list!

___

v7

XDA Assist
[Android General] dasojie:
Hello dev,

just wondering is safe to limited: com.android.server.IdleMaintenanceService.action.UPDATE_IDLE_MAINTENANCE_STATE

com.android.internal.telephony.dataconnection.Data Connection.DC-1.action_retry

And can i use regex for com.google.android.gms.flp.expiration_alarmxx?

regards
[Android General] tamaraxxx:
The signal at home is good. Having full reception. Already changed radio from bolt1 to xxlt4.
[Android General] Rakuu:
That would help lol... Thanks that fixed it
[Android General] v7:
Not they are not safe to be limited!

You can use that regex.

___

v7

XDA Assist
[Android General] v7:
Can you try another radio?The issue seems to be of the radio.

___

v7

XDA Assist
[Android General] scissorscrush:
Nexus 4, 2.5 yr old
[Android General] Takinato:
Hey guys having a problem with power nap, whenever it's enabled after about 30 minutes of sleeping, all sms functions stop working. No matter what app sms will not send until I turn off power nap and then toggle airplane mode on and off again. Is there something I should have white listed? Textra is my sms app.

T mobile note 3 (n900t), 4.4.2 kitkat, stock based rom.
[Android General] bkkzak:
So true!! [MENTION=5867207]v7[/MENTION] is such a Superstar :good::good::good:
[Android General] v7:
I believe it's time to get a new battery pack!

___

v7

XDA Assist
[Android General] v7:
I'm not using Textra!Will need to find someone who has it!

___

v7

XDA Assist
[Android General] Mickdroid74:
View attachment BetterBatteryStats-2016-02-05_092001348.txt

sory but I dont update corectly! I'll post a new dump later!
[Android General] ProudRed:
Doze settings editor FCs on aosp build.
[Android General] flarestar123:
Try using nap time on aosp build
[Android General] ProudRed:
Problem with naptime is that you cannot save the settings after dirty flashing.
[Android General] v7:
Don't worry thread will be updated soon with some major changes!

___

v7

XDA Assist
[Android General] v7:
Limit

NlpWakeLock (Services Google) to 41400 seconds.

Yeah!Post a dump later :)

___

v7

XDA Assist
[Android General] v7:
I'm testing Aggressive Doze with the new Greenify 2.9 beta release!

And the great news is that,motion sensing can be completely disabled now :awesome:

This'll bring in huge changes!

Onto further testing.If everything goes well,I'll update the guide this weekend :good:

A big thanks to [MENTION=4376588]oasisfeng[/MENTION]

___

v7

XDA Assist
[Android General] Takinato:
Baseline from last night, will be doing all amplify settings today.

Figured out once I added ims framework to power nap, sms working as intended.
[Android General] v7:
Screen On (): 6 m 59 s 1.5%

Try to reduce the screen on time to <1min.Pull the dump immediately after you wakeup the device from sleep.

___

v7

XDA Assist
[Android General] ProudRed:
Confused as to if I should enable or disable the new aggressive doze of greenify when I am using Naptime and Powernap ?
[Android General] MBurns2:
Are you testing it with stock doze settings?

Thanks

Inviato dal mio A0001 utilizzando Tapatalk
[Android General] v7:
Remove Naptime and enable Greenify's agressive doze.I'm testing the same.

___

v7

XDA Assist
[Android General] v7:
Yes!

___

v7

XDA Assist
[Android General] m0han:
wait a while; the guide might get updated over the weekend. maybe there'll be something in it for everyone.
[Android General] rolarocka:
Same here, removed naptime and using stock doze settings with the new greenify beta. I think its doing extremely well.

A0001 - oneplus one
[Android General] ProudRed:
Unfortunately I am unable to whitelist any app. When I am clicking 'select apps to whitelist' Its taking me into battery optimisation screen. What am I doing wrong ?
[Android General] v7:
That's where you whitelist the apps.

1.->Choose to display all apps in the Battery optimization screen

2.->Select the app you want to whitelist

3.->Select 'Don't Optimize'

___

v7

XDA Assist
[Android General] hawkdown77:
Where i enable greenify agressive mode?
[Android General] ProudRed:
Thanks a ton. Trying out.
[Android General] v7:
Update Greenify to latest 2.9 beta 2.

Open Greenify->Settings->Aggressive Doze

___

v7

XDA Assist
[Android General] atrix4nag:
This list should be same as napp time whilte liste apps?
[Android General] hawkdown77:
You know the difference to this agressive mode and earlier version?
[Android General] v7:
NapTime whitelist?

___

v7

XDA Assist
[Android General] v7:
Aggressive Doze in latest Greenify beta can completely disable motion sensor and thus improving the doze effect.

___

v7

XDA Assist
[Android General] hawkdown77:
I dont have doze options here in settings....
[Android General] atrix4nag:
Sorry, I mean powernap

---------- Post added at 12:03 PM ---------- Previous post was at 12:02 PM ----------

Are you on 2.9 beta 2?
[Android General] v7:
You're on a MM ROM right?

___

v7

XDA Assist
[Android General] v7:
You had anything whitelisted while using Nap Time?

___

v7

XDA Assist
[Android General] Ciao600:
I'm trying latest greenify aggressive mode too and it seems to work very well. I think I'll stop to use any battery saver except this and powernap.

Can anyone explain me the difference between the below doze modes? What is the "real" doze time?

Thanks
[Android General] atrix4nag:
No, I don't have nap time on my phone, I have power Nam, and I have following whitelisted

Amplify

Android System

BBS

Doze editor

Gmail

Google play services

Google services framework

Greenify

Messenger

Phone

Whatsapp

Xposed installer.
[Android General] Takinato:
Haha I couldn't remember how to pull the log so I was looking for how to do it! I'll pull another one tonight
[Android General] dukat0s:
hey [MENTION=5867207]v7[/MENTION] i clean install for second time in 4 days now *( 6P nexus Purenexus latest february patched) and still something is consuming all my battery. i try everything greenify amplify nowakelock but without luck. can u please take a look at my stats,logcat dmesg as well i post you? i look my bbs gsam and wakelock detector stats but they seem fine to me :> i even try to use an xposed module for "MobileRadioActive Bug:" and still nothing.i got 4-5 h SOT its pretty good but i used to see 7-9 h sot in my 6p with this settings. i post a screenschot and text if u got time take a look plz.appreciate it !

edit: for some reason i can't upload the last bbs stats. i got a msg "Your file of 850.4 KB bytes exceeds the forum's limit of 512.0 KB for this filetype." i can upload it to mega if u want to see it too just let me know
[Android General] ProudRed:
wake:com.android.vending/com.google.android.finsky.receivers.Flush Logs Receiver$Flush Logs Service

And the one with dailyhygene.. These two wakelocks seems to be draining majority of my battery. Is it safe to limit them ? Both related to google play services.
[Android General] hawkdown77:
Im using 5.1.1 Xperience ROM aosp/cm based in motox 2013. I dont have agreesive mode in settings
[Android General] mannyalba:
Update is needed for Naptime app, there is no option to save your settings as a profile, unnistalled it, using doze editor now, it works like it should.
[Android General] v7:
Then,there's no need to whitelist apps in Battery Optimization

___

v7

XDA Assist
[Android General] v7:
Not safe to be limited :)

___

v7

XDA Assist
[Android General] v7:
Doze is for Marshmallow only.You won't find it in Lollipop ROMs.

___

v7

XDA Assist
[Android General] dukat0s:
Anyway ok. i wanna try to pull a dump tommorow but i dont understand why it need to be 6+ hours my phone at standby and not used :) anyway u know better dont look my s tats allready posted which is obvious Android os 1st at the list...i pull the dump and let u know tommorow.
[Android General] bebybee:
Sorry noob question. Ive dump file

But i dont know how to upload it to this thread

Any advice ?? Sorry
[Android General] v7:
Visit the thread from a browser and there you'll find an option to manage attachments or you can upload the dump to a file host and share the link here.

___

v7

XDA Assist
[Android General] senthilrameshjv:
If you have Google Drive app(or any other cloud service like Dropbox) in phone upload to that and give that link to [MENTION=5867207]v7[/MENTION] . Make sure to give right permissions so V7 can view it.

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

If you have Google Drive app(or any other cloud service like Dropbox) in phone upload to that and give that link to [MENTION=5867207]v7[/MENTION] . Make sure to give right permissions so V7 can view it.

---------- Post added at 06:56 AM ---------- Previous post was at 06:55 AM ----------

If you have Google Drive app(or any other cloud service like Dropbox) in phone upload to that and give that link to [MENTION=5867207]v7[/MENTION] . Make sure to give right permissions so V7 can view it.
[Android General] bebybee:
Any advice ?
[Android General] v7:
Screen On (): 2 h 38 m 33 s 15,4%

Read FAQ in post #6 and get me a dump.

___

v7

XDA Assist
[Android General] oOuzzielOo:
Hi could you tell me what theme is that your using? Sorry for the OT just had to aks.

Sent from my Nexus 6P
[Android General] bebybee:
Ups.. Sorry

Ill try it tonight and let it idle atleast 6hour
[Android General] v7:
This looks good.Please post a dump on WiFi.

___

v7

XDA Assist
[Android General] ProudRed:
Have shifted to AOSP based CAF Rom and the results are better than before. Had only 4% drop over 6 hours. Attaching the dump, if I can tune anything further have a look :)
[Android General] arunkafley:
Wifi+Mobile Data or just keep Wifi on and turn off Mobile data completely?
[Android General] v7:
WiFi only.

___

v7

XDA Assist
[Android General] v7:
Nothing to tweak!No issues :)

___

v7

XDA Assist
[Android General] xT29c:
I just found this thread, and applied all these tricks to my phone today (N.6P)

Should I wait a couple of days before posting my BBS log file?
[Android General] v7:
Yeah!Let it settle.Post a dump after a charge cycle or two :)

___

v7

XDA Assist
[Android General] flarestar123:
Nope. After applying it is your choice to post a bbs log in FAQ section.
[Android General] xT29c:
OK, thanks for the quick reply! When I was doing the amplify section, I wasn't able to find a handful of services wakelocks and alarms. Would that make any difference?
[Android General] v7:
If you installed Amplify recently,wait for a day or two.It'll take some time for alarms/wakelocks will to populate.

___

v7

XDA Assist
[Android General] Ciao600:
Nobody can help me?
[Android General] v7:
From my understanding,

Doze Idling Time is the 'real' dozing time

___

v7

XDA Assist
[Android General] PeterImmel:
Some feedback/recommendations would be nice:

BetterBatteryStats-2016-02-06_065056465.txt
[Android General] v7:
Limit

1.*net_scheduler* to 10800 seconds.

2.android.appwidget.action.APPWIDGET_UPDATE to 3600 seconds

3.com.google.android.gms/.checkin.EventLogService$Receiver to 93600 seconds

4.Alarms: 10, Intent: ALARM_WAKEUP101153->Add Regex in Amplify as mentioned in the OP.

___

v7

XDA Assist
[Android General] senthilrameshjv:
For those who are on fence to try this, this is a real battery saver, but everything comes with some impact. you can see if any of the below affects you and then can take necessary actions.

My setup is

Nexus 6p, with all of the wakelocks and alarms limited as said in OP, except services.

Running 6.0.1 Feb update patched Pure Nexus with Ex kernel. Greenify with aggressive doze enabled, and power nap with endurance mode always on and no whitelist.

Now i wanted to test if I am receiving push notifications correctly. so i went to pushbullet site in my computer and logged in there.

Now just as soon i turned off my screen, i gave a push. it didn't come to phone. neither after screen on. only after when i went to the app, i got the push.

now i wanted to check if its due to Doze, so whitelisted pushbullet in Powernap, in battery optimization and also removed aggressive doze.

Performed same test. Same result. Only after i opened the app, i got notifications.

So i was thinking its due to the fact that Google play services, i denied keep awake via appxposed.

so i granted the permission to it. Same push, same result.

Interesting fact is, my device is not able to 'be located' via Android device manager. One thing I can do is, clean flash my device and see if in stock settings I am able to receive the pushes and if ADM can locate my device.

Do anyone would like to give a similar test and give me the results. would like to know what prevents this?
[Android General] v7:
Some pushbullet related wakelocks are in the OP.Can you un-limit it and try?

___

v7

XDA Assist
[Android General] senthilrameshjv:
I just verified it and it looks like i've not limited any such APP specific wake locks. hence the ones related to Pushbullet are still not limited.

on other hand i m thinking it could be due to my wifi. I just turned off wifi and got all my whatsapp. may be its because screen was on or there was significant motion before that.

i'll repeat the previous tests now with data instead of wifi.

Edit: Also got notification now from ADM as well. May be wifi issue. Is there any wakelock limits done for wifi?
[Android General] v7:
No!Haven't touched WiFi!

AndroidSystem whitelisted in PowerNap?

___

v7

XDA Assist
[Android General] senthilrameshjv:
I dont think so.. will verify.

now, on data, without aggressive doze, i asked my sister to ping me in whatsapp. i didn't get notification instantly. But when i picked it up (in a way to enable ambient display), got the notification.

Will whitelist, android system, connect to wifi, enable aggressive mode and try the same again.
[Android General] v7:
If you want to get notifications while screen off, you have to whitelist the app in PowerNap!

___

v7

XDA Assist
[Android General] senthilrameshjv:
Sure, but i didn't see those in your screen shot. Should i whitelist, Google services framework and google play services as well? Additionally, i'll disable keep awake for G services and g play services.
[Android General] v7:
Not in the screenshot but was mentioned in the PowerNap section in OP.

Whitelist GooglePlayServices and GoogleServicesFramework too.

Disabling Keep Awake shouldn't cause issues!

___

v7

XDA Assist
[Android General] senthilrameshjv:
yeah, just saw that. Whitelisted Android System, G Play services, G Services FrmWrk, Whatsapp, Pushbullet, Greenify.
[Android General] rolarocka:
Are you getting notifications now? I'm on the same boat like you...

A0001 - oneplus one
[Android General] senthilrameshjv:
If i enable aggressive doze, i am not getting. But otherwise, i am getting notifications from the whitelisted apps (except Pushbullet)
[Android General] v7:
Try whitelisting those apps in Doze!See if the notifications come through!

Atm I'm setting up my dogo with CM13.Will test soon!

___

v7

XDA Assist
[Android General] jordirpz:
Please, its means that if i have apps in power nap whitelist, i dont need apps in settings/apps optimization options? Thank you
[Android General] v7:
No!Not like that.

He had never whitelisted any app in optimization and had no issues with notifications.

That's why I asked him not to whitelist apps in optimization with Agressive doze.

Please give me some time for testing!OP2 hasn't got a stable CM13.Still I'm trying to test it on my legacy devices.Will have to see which apps need to be whitelisted and have to test the shallow hibernation too.Bare with me a bit :(

___

v7

XDA Assist
[Android General] jordirpz:
@v7

Sorry, and thank you for you hard work
[Android General] v7:
No need to say sorry!I know you people will understand the situation.I love this community.:good: :)

___

v7

XDA Assist
[Android General] mannyalba:
Pretty decent I'll say, if you see anything that can help me even more pls let me know, thx.

Dump: https://drive.google.com/file/d/0B25GAzXyX_k2TkdmSU9sZjBpdjg/view?usp=docslist_api
[Android General] v7:
It's awesome!Nothing to tweak :good:

Enjoy your battery life :)

___

v7

XDA Assist
[Android General] smatak:
Wow, it's amazing :P I want it same :) What is your setup?
[Android General] mannyalba:
Running DU rom + ElementalX, if you follow V7 guide step by step you could maybe even end up with better stats than mine, amplify+greenify+doze editor+powernap.
[Android General] smatak:
Thank you, I use these apps too. But naptime app with agresive doze instead of doze setting app . I am running on MM for one week and I noticed battery drain. Today I finally found that android system is missing in PowerNap whitelist app. Now the phone goes to indling asap when I turn the screen off. I need to give it some time for test. Hopefully it will be ok. We'll see. :)
[Android General] Fir3lordZuk0:
Hi @v7,

Kindly check the logs and screens and let me know what can i do to reduce idle drain.

Currently using Greenify & Naptime. Wifi Scan is off.

NOTE - Battery is new.

Device - Xperia S

ROM - naosp 6.0.1

Thanks in advance.
[Android General] v7:
Limit

1.Alarms: 9, Intent: ALARM_WAKEUP176511 ->Add regex as mentioned in the OP.

2.com.google.android.gms/.checkin.EventLogService$Receiver to 93600 seconds.

3.com.google.android.gms.analytics.ANALYTICS_DISPATCH to 9999999 seconds.

This is not that great numbers on a new battery.You have the original OEM battery?

___

v7

XDA Assist
[Android General] senthilrameshjv:
@v7, do you have any solution for kernel wakelock as well or should I contact the kernel dev only.. I get these things more often. Memaccess and wlan_rx_wake.
[Android General] v7:
qpnp_fg_memaccess is some monitoring wakelock from the processor.It doesn't cause any drain.

wlan_rx is related to the WiFi modem/router.Some angler kernels provide an option to disable it.As long as it doesn't cause any drain you shouldn't worry about it :)

___

v7

XDA Assist
[Android General] Fir3lordZuk0:
It says original but i dnt think it is original :D :p:p

Thanks for the suggestions. i will try these :)
[Android General] senthilrameshjv:
How would I determine if it's causing drain? I'll test tonight's idle drain and check.. Will come back tomorrow with logs [emoji6]
[Android General] Fir3lordZuk0:
I dont see 2 & 3.
[Android General] v7:
They are alarms.Did you check the alarms section?

___

v7

XDA Assist
[Android General] Fir3lordZuk0:
Yes i checked.

In fact i dont find many Alarms, Wakelocks & Services which are mentioned in OP.
[Android General] v7:
Did you installed Amplify recently? Wait for a day or two.Alarms/wakelocks will pop up.

___

v7

XDA Assist
[Android General] AakashKaushal98:
Bro there are lots of kernel wakelocks like powermaagement ,exynos xxxx etc..and they have 100% of usage..can i fix them with amplify or anything else (sorry cant provide log bcz my phone is in charging mode).
[Android General] v7:
Get me a dump when you get time.

___

v7

XDA Assist
[Android General] AakashKaushal98:
I can give a dump but bro i cant leave my phone idle with wifi on for 7 hours..i mean my wifi connection is switched off at night....can i post a dump without wifi connection?
[Android General] v7:
WiFi or data connection is required!

___

v7

XDA Assist
[Android General] AakashKaushal98:
:( then i think i cant fix my problem.
[Android General] v7:
That's because most of the alarms/wakelocks are triggered during an active data connection.Try to get me a dump of atleast 4hrs idle time.

___

v7

XDA Assist
[Android General] AakashKaushal98:
kernel wakelocks are also related to internet too?
[Android General] v7:
Yes!It can be related to your modem/data connection/wifi connection and other factors.

___

v7

XDA Assist
[Android General] AakashKaushal98:
I also want to ask one thing...i am using greenify (latest version) and my problem is when i try to enable automated hibernation in accessibility, it dont i mean settings give fc unfortunately..i tried to reinstall greenify but the problem is not getting fixed?
[Android General] AakashKaushal98:
See this
[Android General] ClownShoes:
Oh dear! That's really disappointing :(
[Android General] v7:
There's nothing in the stats.Can't figure out what is the issue :(

Tapped from my furious dogo ;)
[Android General] ClownShoes:
No that's cool. I appreciate your help. I think I'm going to have to reflash and add everything back slowly until I find the culprit
[Android General] Portgas D. Ace:
Are you running a Custom ROM (Android Lollipop)? AFAIK there has been a bug with the "lift to wake" feature in most LG Custom ROMs. Maybe this is the culprit. You can check in your settings -> screen if the "lift to wake" option is enabled.
[Android General] ClownShoes:
Thanks Orville,

I am running a custom rom for my LG G3. It's Cloudys 2.3

I don't appear to have a 'lift to wake' option in my settings though. Any idea where I might find it?
[Android General] Portgas D. Ace:
Well, while running Carbon ROM or Resurrection Remix (Android 5.1.1) on my LG L90, this option could be found under Settings -> Screen -> "lift to wake"-checkbox. Maybe this option has been disabled in your ROM as it was buggy. Otherwise you could use the build-in battery stats (Settings -> Battery) to check what has been draining your battery since the last reboot/full charge. Some things are listed there which aren't listed in Better Battery Stats, so I always use both options to determine battery drainers.
[Android General] ClownShoes:
Good call. Thank you :)
[Android General] danigraham:
[MENTION=5867207]vaisakh7[/MENTION]

I have been using your guide for the passed two weeks, and really have seen a difference I am pretty Android savvy, but when it comes to services ad wakelocks, I am still learning. I have used BBS before so I kind of know better but I have been trying to do a log&dump to post and just have been so busy, that last night before bed I forgot to set my custom reference point (unplugged my phone yesterday morning around 10:30).. but it was idle last night from about 1am until about 8:20 this morning. If this isn't usable just let me know and I will try again later.

*EDIT*

For some reason I am getting "Upload Failed" when I try to upload my attachments via the computer, *SIGH* Guess it means I will just do another idle tonight and set my reference point! :cyclops: