yashsingh1/xdaforums huggingface dataset:
[Android General] Portgas D. Ace:
When you have used your phone during the "idle" period, it is no real idle period. This guide is to determine what drains your battery when you are not using it. Using your phone (screen on time) will lead to stats which are not useful.
[Android General] v7:
No reference point Please :)

Charge to 100%.Leave the phone idle and pull a dump.I need to know what sucks your battery while idle.

Tapped from my furious dogo ;)
[Android General] onlytanmoy:
[MENTION=5867207]vaisakh7[/MENTION]>> hi mate, I have now installed MyAndroidTools. In the guide, you said-

Under Broadcast Recievers-Actions you can prevent apps from starting automatically at boot.

I've disabled the following apps

Whatsapp

XDA App

Youtube

How exactly to do that? Under Broadcast Recievers-Actions, should I click on "Boot Completed" and then uncheck Whatsapp, Youtube etc? Please confirm.
[Android General] duowing:
I went ahead and unchecked these from Google Play Services and haven't noticed any issues. I also want to say that oddly enough unchecking these with MyAndroidTools seems to have taken away the Google Play Services has stopped message upon reboot. I haven't really tried doing anything with location.

EDIT: Never mind that. It didn't get rid of the Google Play Service has stopped message. It must have been a one time fluke.
[Android General] danigraham:
I thought when using BBS to collect stats you needed to "set custom reference point" (or it could be unplugged to current) then leave idle for as long as 6 hours. That's how I've always done it in the BBS thread.
[Android General] MC FLMJ1G:
Thanks for this list.

I use Titanium to freeze some of these and others not on the list.

Greenify and Amplify is more than enough for me. I did increase the numbers on Amplify as stated here. I am tempted to increase some of the others I have as well.
[Android General] :
I can't find any of the following alarms.
[Android General] kanno_miho:
same here , not sure why .
[Android General] v7:
You don't use Location Services right? If so you won't find these alarms.

Tapped from my furious dogo ;)
[Android General] v7:
Re-enable ads.jam.NegotiationService.It'll probably fix the crash on reboot.

Tapped from my furious dogo ;)
[Android General] v7:
Re-enable ads.jam.NegotiationService.The Crash does no harm.If it's annoying for you,re-enable it.

Tapped from my furious dogo ;)
[Android General] v7:
You don't need to enable accessibility settings for Greenify if you're rooted.

Accessibility service is for enabling Automatic Hibernation in non-root mode.

___

v7

XDA Assist
[Android General] AakashKaushal98:
Bt bro when i open greenify, it shows this message..(see the screenshot below)..
[Android General] v7:
See if you're running boost mode!

Do you have some kind of RAM boosters/Task killers?

___

v7

XDA Assist
[Android General] AakashKaushal98:
Yes bro..it is enabled

No i dont use anything else..even i disabled samsung's crap smart manager..
[Android General] v7:
Do you use task killers/ram boosters?

___

v7

XDA Assist
[Android General] AakashKaushal98:
No i dont use anything else.
[Android General] v7:
Do you use *Lucky Patcher* or any apps of that kind?

___

v7

XDA Assist
[Android General] AakashKaushal98:
Nope i dont use it..
[Android General] v7:
Try to reinstall Greenify!If that doesn't fix the issue please report to [MENTION=4376588]oasisfeng[/MENTION].

See in SuperSU if Greenify is given root access.

___

v7

XDA Assist
[Android General] AakashKaushal98:
I already reinstalled many times..even clean installed my rom but the error still the error occurs..
[Android General] v7:
Greenify whitelisted in PowerNap?

___

v7

XDA Assist
[Android General] Fir3lordZuk0:
Yes I installed it recently..I will post logs again after couple of days
[Android General] AakashKaushal98:
Yes..even i also want to say that b4...
[Android General] v7:
Report this in the Greenify section with the details!

___

v7

XDA Assist
[Android General] AakashKaushal98:
Okay will try to report their...
[Android General] 12gage:
Thank you for putting together this great guide, I'm going to start implementing all of these changes. One quick question I had regarding Location, I keep location off as well, but have some Tasker rules set up to turn location on for 30 secs or so when certain apps need it (or stay on with Google Maps). Will Amplifying the way you suggestion still allow this to happen, or will it break location from being used all together?
[Android General] v7:
Do not disable the location services in Amplify.Rest of them shouldn't affect location access.

___

v7

XDA Assist
[Android General] AakashKaushal98:
I reported there...but one thing i want to ask that...greenify is always running in background and consumes atleast 30mb of ram even its alarms are damn high (i never edited greenify alarm)..but the Greenify always show the error at start..
[Android General] v7:
Greenify runs for a cause.It tames almost all the battery killers.

What do you choose?Running a small service in background/having all battery killers in the memory?

Wait till you get an answer there!!

___

v7

XDA Assist
[Android General] Toutatis_:
Since the Power Nap thread is closed and my request to join the Google+ community has never been approved, I thought I would ask this here. Not sure if I'm allowed to though, I apologize in advance if I'm not.

Could someone please share Power Nap 0.7a apk? I cannot find it anywhere on the Internet, I tried using several research engines, several keywords...

I'm using 0.7 but the main reason why I want to get 0.7a is that my SELinux is set to enforcing. Therefore, I cannot see any statistics in Power Nap 0.7. This "issue" has been fixed on 0.7a and as statistics are not displayed, I'm not even sure Power nap works properly on my device. Indeed, I uninstalled it two days ago and I can't find any major difference as to idle drain (which fluctuates between 0.1% and 0.8% per hour as far as I'm concerned). Of course it might be placebo effect, I have no idea.

Thanks in advance and as I said, I apologize if my request is against the rules.
[Android General] draggehn:
EDIT: link removed in case somebody finds warez.
[Android General] Toutatis_:
:rolleyes:

No offense dude but did you even read what I wrote?

Posting a "Let me Google that for you" link without even including the proper keywords related to what I'm actually looking for (you used 0.7 instead of 0.7a) not only implies that I'm a complete idiot but obviously does not help at all.
[Android General] MBurns2:
Do you use doze settings from first page?
[Android General] draggehn:
Play Store version is 0.7. Maybe 0.7a was incorporated into 0.7: changelog says "removed Ultra Endurance Mode" which does not show in my version. I could upload this apk if you'd like.
[Android General] mannyalba:
Yes.
[Android General] ledzep223:
Twrp v 300 is out
[Android General] smatak:
I facing battery drain when phone is in pocket. When I leave it on the table, everything is perfect.

I am using greenify, power nap, amplify, doze setting is like on the 1st page. I tried to monitor it again before moment. 15min unpluged (deep sleep 7 min, awake screen off 8min ).
[Android General] MBurns2:
Me too, but i see some android system wakelocks (related to motion).

Why android keep using motion sensor even if i have latest greenify? :)
[Android General] mrrocketdog:
at the very bottom of that page is a link for 0.7a. which led me to DLs of 0.7a.

or did i misunderstand ¿

"err on the side of kindness"
[Android General] mannyalba:
Quote:

2.9 beta 2 - Fixed the crash in settings on Android 4.x & 5.x introduced in beta 1.

2.9 beta 1 - Improved Aggressive Doze:

* Prevent Aggressive Doze from being interrupted by significant motion. (only tested on Nexus 5X, not sure whether it works on other devices)

So as you can see it's not completely proved, beta....Here's the link to that thread, http://xdaforums.com/apps/greenify/beta-greenify-2-9-beta-1-feb-5-2016-t3308200
[Android General] Toutatis_:
Changelog for 0.7a is as follows:

Feel free to upload your apk then, I'll try it :) thank you.

Well, I guess we don't get the same results on Google then. The last two results of the first page I get are definitely not for 0.7a but for 0.7.

Any chance you upload the 0.7a apk here? would be much appreciated.
[Android General] mannyalba:
Agressive Doze does take a toll on SOT, if you happen to notice less SOT just disable agressive doze.
[Android General] Toutatis_:
Could you please elaborate? why would it impact SOT since doze (with or w/ aggressive mode by the way) is supposed to work only when the screen is off?
[Android General] mannyalba:
This is the drawback to setting motion sensing timeouts to 0, as this basically does. With that value set so low/non-existent, the phone goes into a constant sensing loop while awake, looking for motion at the cost of more battery consumption. It can't be completely deactivated - not yet. So, my habit has been enable aggressive doze while at work (phone is on my desk most the day), then disable it once I'm on the move. You'll get much better battery savings with it disabled and moving rather than having it enabled and moving. A lot of this was covered pretty well in the doze settings editor XDA thread - worth reading a little if you're interested in how doze works, what can and can't be done.

https://m.reddit.com/r/Nexus6P/comments/44arsb/we_can_now_enable_aggressive_doze_in_greenify/

So it's basically up to you guys as to when or how use agressive doze, I won't use it for now or maybe only at bed time.
[Android General] Dendis:
Is it important to whitelist those googleplayservices and googleservicesframework in power nap?
[Android General] v7:
Cn you post a short time dump?

___

v7

XDA Assist
[Android General] v7:
No!This is totally wrong in the case of Aggressive Doze.

The dev has completely disabled the motion sensing(this doesn't mean that it's set to 0).So even with movement,the device will keep dozing.No more motion sensing is happening.The device will keep dozing unless you turn on the screen.

___

v7

XDA Assist
[Android General] v7:
Yes!If you need sync,google apps functionality and notifications from apps.

___

v7

XDA Assist
[Android General] :
I can't speak for all apps but from my testing whitelisting Android System and Google Account Manager is enough for GCM to come through.

This way I get all notifications from apps that rely on GCM and also have Power Nap block all other wakelocks from Google Play Services (no need for complicated settings in Amplify).
[Android General] senthilrameshjv:
@v7, atrocious 11% drain last night.

https://drive.google.com/file/d/0B1YoUVS0hVkET04xdTc5QWgxZFU/view?usp=docslist_api

Greenify was showing it was dozing all the time except a short duration where it woke up for idle_pending.. But my battery stats show otherwise.
[Android General] v7:
10114 (Wifi) (com.whatsapp.WhatsApp): 62.0 MBytes 95.0%

Massive data usage from Whatsapp.

Limit

1.ALARM_WAKEUP_ACTIVITY_DETECTION to 41400 seconds.

2.ALARM_WAKEUP_LOCATOR to 41400 seconds.

___

v7

XDA Assist
[Android General] senthilrameshjv:
Ok may be due to the fact that I white listed whatsapp yesterday for some testing..

I removed the limits on these alarms due to the fact Fit app isn't tracking at all.. Should I unlimit something else?

Edit. But even in case of whatsapp also, I have not set anything to download even with wifi.. Let me check if any other sync happening.
[Android General] v7:
Fit app works with these un-limited?

___

v7

XDA Assist
[Android General] senthilrameshjv:
Only unlimited last night. Will try today and let u know.. Btw, I have also put fit under white list in battery optimization and power nap. So at least one of these should be effective.
[Android General] flarestar123:
+1 try to post dump later
[Android General] arunkafley:
Last night phone did not go into doze at all. I had to freeze Power nap and then only it went into AD. Greenify was whitelisted in Power Nap. Somehow everytime I reboot my phone I have to repeat the cycle. Unfreeze PowerNap->Let it idle for 2-3 minutes->Freeze PowerNap. And my phone was dozing even while screen was on.

View attachment 3637012

View attachment 3637013
[Android General] dukat0s:
Seems like after 3rd clean install in a row this guide make my 6P last forever !;) thanks for all your efort !! [MENTION=5867207]v7[/MENTION] !!btw i unistall fb& messenger and i seen huge diffrence in perfomance too..

33% left and im allready in 9h sot !
[Android General] dukat0s:
Here is the graph 95% of time was on wifi
[Android General] v7:
The device actually goes into Agressive Doze.I'm not sure why,but BBS doesn't report it to be in doze.I've checked now with the shell commands and can confirm that the device goes into Aggressive Doze.

___

v7

XDA Assist
[Android General] senthilrameshjv:
Bro.. What exactly do you do to get this much sot.. Can you tell the usage.? And if you have location, Google now, location history turned on? I mean ive never reached even 6 h sot.
[Android General] dukat0s:
yes dude. check my post here

http://xdaforums.com/showpost.php?p=65192977&postcount=1716
[Android General] arunkafley:
Maybe since CM13 does not actually support doze maybe the BBS and the CM 13 reports might be clashing about doze
[Android General] v7:
Can you share your PowerNap whitelist?

___

v7

XDA Assist
[Android General] dalisoft:
Hi friends and v7.

My phone (Note3 LTE-A Snapdragon) after 100% (full charged) drops to 95% even no-use. After 95% my phone uses 1-1.5% per 4-5hour. Is have way to correct my phone battery after 100% and Is this normal (good) 1.5% per 5hour? Thanks.
[Android General] v7:
Read FAQ in post #6 and get me a dump.Let me check!

___

v7

XDA Assist
[Android General] arunkafley:
Power Nap Whitelist
[Android General] v7:
Are you running the official CM13 ?

___

v7

XDA Assist
[Android General] smatak:
Hi @v7,

here it is https://dl.dropboxusercontent.com/u/42719441/BetterBatteryStats-2016-02-07_102756653.txt

It is better now, I set doze values from 1st post and turned off agresive doze from naptime app. i have it enabled only in greenify 2.9b2. I hope, that you'll find something for better battery saving :) ty
[Android General] v7:
Looks fine.No need to use the doze editor values now.Greenify Agressive Doze will handle it.Now get me a regular idle dump(6hrs+).

___

v7

XDA Assist
[Android General] smatak:
Nice, thank you. :) Really ? So can I restore stock values and uninstal naptime app? I will send dump tomorrow, I got up before 2 hours ;)
[Android General] v7:
Yeah!I'm still testing it,but for now you join me for testing :D

Restore stock settings,uninstall NapTime and post a dump tomorrow :D

___

v7

XDA Assist
[Android General] smatak:
OK, I'm in :D
[Android General] dalisoft:
I am using GSam Battery Monitor Pro, how to dump log?
[Android General] v7:
You need BetterBatteryStats for logging.

___

v7

XDA Assist
[Android General] wonsky21:
Here's ma latest dumpfile. Any help?
[Android General] v7:
FastDormancyWakeupServer (System Android): 36 m 7 s Count:351 6,4%

Disable Fast Dormancy.

___

v7

XDA Assist
[Android General] wonsky21:
Ok, right. Made a clean flash yesterday, and completely forgot about it :) Thanks
[Android General] arunkafley:
Yeah the latest nightly.
[Android General] v7:
Quoted from CM13 thread's OP

You have to confirm with him that doze is implemented and is working.

___

v7

XDA Assist
[Android General] v7:
✭Thread Updated✭

Changelog in post #7

▼ReadMe-Click Here▼

PS:As you all know,I'm still using a 5.1 based ROM as my daily driver.So now I need your help to list out the apps that need to be whitelisted in Doze.Few apps like Twitter,Telegram are running fine coz they use priority GCM messages to wake up the device which is allowed in doze.If you have any issues with notification/functionality of any app,please report it to me in the thread :) Also make sure you have those apps whitelisted in Power Nap before reporting!

___

v7

XDA Assist
[Android General] Takinato:
Baseline before amplify settings
[Android General] v7:
Limit

1.Alarms: 10, Intent: {com.google.android.gms/com.google.android.gms.checkin.EventLogService$Receiver} to 93600 seconds.

2.ALARM_WAKEUP20117413->Add regex as mentioned in the OP.

3.android.app.backup.intent.RUN to 93600 seconds.

Now post a dump on WiFi!

___

v7

XDA Assist
[Android General] TraCerTz:
Anything to tweak? :D
[Android General] v7:
Nothing really :D :D

Enjoy your battery life bud ^_^

___

v7

XDA Assist
[Android General] Aakash Kaushal:
Bro i reported the greenify problem in that thread..but nobody repied yet ,it seems like those official threads are not active..can u send me the link of active greenify thread?
[Android General] v7:
I saw that you've posted in the right section.Wait for someone to to reply.

___

v7

XDA Assist
[Android General] Aakash Kaushal:
Bro i discuss this issue with other users of my rom...and they are only facing fc during accessibility (as i said earlier) but automatc hibernation is working perfectly for them..
[Android General] v7:
Either you have some task killers or cleaners that block Greenify or you have some patchers installed.

Do you use any kind of junk cleaners/antivirus?

___

v7

XDA Assist
[Android General] Aakash Kaushal:
I am using greenify ,powernap, appops,autostarts,amplify ..nothing else except these.. (whitelisted greenify in each app)
[Android General] v7:
Try to clean flash the ROM and install Greenify alone.See if the issue is solved.If you still have the issue,ROM is the culprit.

___

v7

XDA Assist
[Android General] netinetinet:
When agressive doze in greenify enabled, push notificiations works?
[Android General] rolarocka:
Is google framework not needed to be whitelisted in powernap? Is it missing in OP?

A0001 - oneplus one
[Android General] v7:
It should,unless the app is incompatible with doze.Most of the messengers and social media apps have adapted to the feature.Doze allows priority GCM messages to come through while sleeping.

If you face issues with any app,please report here!

___

v7

XDA Assist
[Android General] v7:
Updated! :)

___

v7

XDA Assist
[Android General] mdjunaid007:
Hi v7,

I'm using cyanogen OS 12.1 but not able to see most of the Alarms & Wakelock limits in Amplify which are described in the post.

Thanks.
[Android General] jordirpz:
@v7

Is necessary not optimize androidsystem,Google services framework and account manager in settings/apps?

Thank you
[Android General] cobras3:
Could you pls explain why we should whitelist google stuff in power nap? What is with other launcher for example touchwiz?
[Android General] cfsr4:
Can I disable these alarms if I use GPS ?

_________________________________________________________________

Can I leave these options in attached imgs ?
[Android General] mannyalba:
If you have them whitelisted in PowerNap is not necessary to do it in settings...

---------- Post added at 09:30 PM ---------- Previous post was at 09:28 PM ----------

You don't disable alarms, you limit them, v7 limited location stuff because he stated he does not use gps, if you use it you'll need it working real time.
[Android General] v7:
No need.Since doze is inbuilt,it knows to handle them.

___

v7

XDA Assist
[Android General] v7:
A lot of apps we use depends on PlayServices.From my testing,I could notice thst some apps required PlayServices in whitelist to function properly during sleep.

___

v7

XDA Assist
[Android General] v7:
You can limit those alarms.

Camera is not needed,as you can't use it while screen off.

___

v7

XDA Assist
[Android General] queerquirks:
Just followed this guide 24hours ago. Did a charge to 100, left it idle for about 8 hours, dropped 2%, a step up from my usual 4-6%. However there are still other alarms which could be further optimized?

Please advise me base on my logs, attached are my BBS dumpfiles.

Also, I have been seeing a few instances of Google Play services stopped working error messages which I have never seen before. It would pop up randomly when I am using my phone, happened 3 times over the course of yesterday.
[Android General] mrrocketdog:
[MENTION=3206624]queerquirks[/MENTION] , maybe you forgot something :what:

"err on the side of kindness"
[Android General] v7:
Did you disable the 'Keep Awake' permission of PlayServices in AppOps?

Also get me an idle dump(Refer post#6)

___

v7

XDA Assist
[Android General] queerquirks:
Nice quick reply right there!

Apologies I was not detailed enough, I followed only the Greenify (without AD), Amplify and Doze settings recommendations. Did not use or install AppOps.

I actually did a reboot upon reaching 100 and went off to sleep, not sure how much alarms/wakelocks it will show?

Attached my dumpfile in my first post and here. :o

View attachment BetterBatteryStats-2016-02-08_101302753.txt
[Android General] queerquirks:
Hi, my location keeps switching on by itself even after I manually toggle off. It will just turn back on after a awhile?
[Android General] smatak:
Here it is :)

https://dl.dropboxusercontent.com/u/42719441/BetterBatteryStats-2016-02-08_044055378.txt
[Android General] v7:
Update BBS to 2.2.0B5 and post a dump.

Restore stock settings for doze and use Aggressive Doze of Greenify.

About Google Play crashes,post your Amplify screenshots.

___

v7

XDA Assist
[Android General] v7:
Shouldn't be related to the guide.Did you disable any location services?

___

v7

XDA Assist
[Android General] v7:
Wow!That's fantastic!

Do you have notification issues with any app?

___

v7

XDA Assist
[Android General] Fragin 11:
[MENTION=5867207]v7[/MENTION] Here's mine. Anything to tweak?

https://onedrive.live.com/redir?resid=5B0E9E15EBA6F0A5!574&authkey=!ALPylt7LoZbg9SA&ithint=file,txt
[Android General] ravionly431:
My mako Battery Stats

Hi Sir,

Please take a look at my better battery stats result.

Please let me know if any further tweaking is required?

Attached is the file.

One more concern here:

I am unable to install any apk file downloaded from any source.

Although I have selected the option in security that I can install application from insured sources. APKs gets cancel button allow me to cancel but install button is always grayed out. Please help me.
[Android General] donvito62:
Disable your screen dimming app
[Android General] v7:
Update BBS to 2.2.0B5 and post a dump on WiFi.

___

v7

XDA Assist
[Android General] v7:
Screen On (): 1 h 9 m 22 s 7.1%

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

Clean flash your ROM once Make.sure you have enough space on the data partition.

___

v7

XDA Assist
[Android General] Dendis:
What about this? :))
[Android General] v7:
wlan_rx_wake (): 8 m 9 s Cnt:(c/wc/ec)765/11/765 1.2%

Far from router?Can you assign static IP and post me a dump?

___

v7

XDA Assist
[Android General] welder73:
Hi [MENTION=5867207]v7[/MENTION] ?,

I'm using the latest Greenify with agressive doze+Amplify.I restored Amplify with TB from the previous rom,I think that everything is ok but you are the expert...

Here's my dump
[Android General] smatak:
I have whitelisted only viber and messages and the notifications coming very well. :)
[Android General] v7:
Yeah!This looks good :)

___

v7

XDA Assist
[Android General] Mandark-coyg:
Hey ! I've finally charged it to a 100% applied the limits, and got a dump. Have a look :)

https://drive.google.com/folder/d/0B2uZSFX_jzVaVDBzOWExaTFOcGc/edit
[Android General] v7:
10070 (Wifi) (com.whatsapp.WhatsApp): 2.0 MBytes 70.4%

Some data and juice consumed by whatsapp.

How old is the battery?

___

v7

XDA Assist
[Android General] v7:
Can you tell me what IMs you use?

___

v7

XDA Assist
[Android General] Dendis:
It's with static ip and near my router
[Android General] Takinato:
WiFi dump
[Android General] smatak:
Hi,

only Viber https://play.google.com/store/apps/details?id=com.viber.voip&hl=cs and sms.

Whatsapp is greenified. I open it aproximately 2 times per week.

No hangouts, facebook, twitter, instagram and so on...