yashsingh1/xdaforums huggingface dataset:
[Android General] tet-bundy:
Hi guys, just pulled an idle log with approx. 10h idle/11s screen on.

Phone was only awake (screen off) for about 9m which is already great i'd say. However there are several wakelocks all showing 51m27s. How does that work?

Also is it worth actually optimizing wakelocks etc with this amount of deep sleep? Also titanium backup performed a scheduled backup over night which is where i suppose a decent amount of drain/awake time to derive from. Additionally i was on mobile network (using intelli3g) with moderate reception over night.

I'm asking because i already went through all the mentioned limitations more than once and didn't get any improvement in idle drain, as it seemed to trigger kernel wakelocks which significantly increased. Never observed sth lower than 0,7%/h :/ i came to the conclusion, that i should not limit anything that doesn't actually causes drain for me even though it's listed in op.

I already greenified most apps i can and also use power nap. Also have minimum amount of gapps installed (even deleted several .apks from pico package) + restricted most permissions including keep awake etc

would be completely satisfied, if i'd get to or below 0,5%/h. Suggestions/thoughts welcome. Log attached [emoji14]

Thanks in advance!

http://cloud.tapatalk.com/s/57b9480c78e5b/BetterBatteryStats-2016-08-21_072143876.txt

Gesendet von meinem ONE E1003
[Android General] v7:
Limit com.google.android.gms/.checkin.EventLogServiceReceiver to 93600 seconds.

Don't worry about the *launch* and *alarm* wakelocks.They don't drain.

Mediocre signal=more drain!

__

v7

XDA Assist
[Android General] chris264:
Good morning, you can help me in the 2 screenshots? What are the Wakelocks responsible? And can I safely limit and if so with what time? thank you in advance

Sorry an image twice, but it can not remove my phone unfortunately.
[Android General] v7:
ContextManager is an important wakelock.Don't limit it.

*alarm* doesn't drain.Leave it untouched!

__

v7

XDA Assist
[Android General] chris264:
Thank you for the fast answer. So I can not do anything in the case and must accept the Wakelocks :(:eek:
[Android General] v7:
Ignore them!They don't drain brother :)

__

v7

XDA Assist
[Android General] chris264:
Thanks for the quick reply and sorry for the many questions. Here are some screenshots. Can you do something there yet? What would you recommend?
[Android General] v7:
Read the FAQ in post#6 and get me a dump!

__

v7

XDA Assist
[Android General] flubber1911:
Hey v7,

I know use Naptime and uninstalled PowerNap. There are some alarms and wakelocks, which I don´t like though.

Also WhatsApp seems to drain the battery a lot! How can I improve my settings?

Sorry, but I hope 4 and half hours of Idling is enough.

View attachment BetterBatteryStats-2016-08-21_094940297.txt
[Android General] v7:
The Amazon app is causing some drain.Greenify it.I don't find any other issues.

__

v7

XDA Assist
[Android General] flubber1911:
The amazon app is greenified already ... Also I´m wondering why are all of these apps running 6m 40s ??
[Android General] v7:
*alarm* and *launch* wakelocks don't drain.They are just numbers.

__

v7

XDA Assist
[Android General] flubber1911:
Ok. Can I restrict these tasks without problems?: com.google.android.googlequicksearchbox/com.google.android.apps.gsa.tasks.VelvetBackgroundTasksIntentService | com.google.android.googlequicksearchbox/com.google.android.apps.gsa.speech.grammar.GrammarCompilationService
[Android General] v7:
Might break the functionality of the app.

__

v7

XDA Assist
[Android General] marcial0505:
Hi,

First off, thanks for this thread. It's been very helpful to me and i learned a lot. That said, I could really use some of your insights on the battery performance of my trusty old Mako... Thanks ;)
[Android General] v7:
Limit com.google.android.gms/.checkin.EventLogServiceReceiver to 93600 seconds.

Rest is all good :)

__

v7

XDA Assist
[Android General] marcial0505:
Thanks very much. Will do. :)
[Android General] flubber1911:
Optimized everything possible.

Still getting - 0,8%/h ...

View attachment BetterBatteryStats-2016-08-22_102627525.txt
[Android General] v7:
alarmtimer (): 13 m 37 s

Do you have any alarm/reminder set?

__

v7

XDA Assist
[Android General] flubber1911:
Not to my knowledge ...
[Android General] v7:
Shouldn't be related to the guide.Disable the modules and see if the issue persists.

__

v7

XDA Assist
[Android General] daniel.mota:
Intelli3g xposed module.
[Android General] v7:
Try Intelli3G.
[Android General] Sam Nakamura:
Smart WiFi toggler does that too + many more like automatically toggle WiFi off when leaving home..
[Android General] chris264:
Good morning here is my log. Hope it is right. Many thanks for your effort.
[Android General] v7:
Alarms: 16, Intent: CONTEXT_MANAGER_ALARM_WAKEUP_225445

Add regex as stated in the OP.

Google App is draining a lot.If you don't use it,disable or hibernate it.

__

v7

XDA Assist
[Android General] :
The scary thing is when you see 20 of it pop up in amplify and you have to look at each one to make sure it's blocked.
[Android General] chris264:
This went very fast thanks. The Google app I use very happy. Can the limit? If so, what time and which WakeLock is it exactly? The regex settings I've taken.
[Android General] v7:
It's not safe to be limited.Leave it untouched.

__

v7

XDA Assist
[Android General] vergilbt:
May I provide an dump for getting info whether my settings are optimizable?

http://cloud.tapatalk.com/s/57bbf9a478e84/BetterBatteryStats-2016-08-23_062000787.txt

[MENTION=5867207]v7[/MENTION] thanks for your great thread![emoji106]
[Android General] v7:
Stats looks good.Nothing to tweak!

__

v7

XDA Assist
[Android General] vergilbt:
Thanks... All information from you and your thread.

[emoji106] [emoji106] [emoji106]
[Android General] C.Hatfield:
Disregard
[Android General] jakito:
Hello, so, I've followed your guide but for some reason (not today...odd...) I usually lose up to 10% during the night.

Anyway, I've got the log for you...please try to help me.

Thank you for the time and effort put int this

https://drive.google.com/file/d/0B038PY8eGo7GVHNyLUhjOS1aRmp6elpyd1JXSFFiS2EyVW1F/view

(I can't insert links neither attachments...sorry xD)
[Android General] Portgas D. Ace:
BetterBatteryStats version: 2.1.0.0 -> update BBS to the latest version (2.2.0.0 RC1, can be found in the BBS thread here on XDA) and post another idle log file, as "alarm" stats are incomplete

Some kernel wakelocks that might be resolved by flashing a custom kernel or following this guide.
[Android General] tejaskadaskar:
Good Evening.. Please help me with my battery drain.

Thanks a lot.
[Android General] v7:
Screen On (): 3 h 24 m 9 s 14.0%

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

__

v7

XDA Assist
[Android General] tejaskadaskar:
Sorry I may have mistaken but I attached my dump file with my post.. I hope its the dump file. I may be wrong. Please guide me. I am attaching it again.

Thank you.
[Android General] v7:
Read the FAQ

__

v7

XDA Assist
[Android General] NickosD:
https://www.dropbox.com/s/lfe2b1vttt68ix0/BetterBatteryStats-2016-08-23_110253528.txt?dl=0

It's not 6 hours cause someone woke me up, but I hope it won't be a big issue.
[Android General] Portgas D. Ace:
Level lost [%]: Bat.: 0%(100% to 100%) [0.0%/h] -> congratulations :good:

Alarms: 18, Intent: android.appwidget.action.APPWIDGET_UPDATE -> in case you don't rely on instant widget updates, you can limit this one to 3600, so widgets will update once per hour

Alarms: 21, Intent: com.android.internal.telephony.data-stall -> this one is part of the guide, as far as I remember, so limit it according to the guide
[Android General] gvelev:
Hi everyone!

can't post my log, because I did not make 10 posts to be able to post dropbox link:(
[Android General] Hadde:
Hello,

I have an issue with Sport trackers. Everytime i Start a app that needs gps in the Background, it only Works for five minutes. After five minutes gps is getting off.

The app i Run is in the whitelist in amplify, powernapp and greenify.

And i didn't blocked something with Location. Everything is allowed.

Do u have an idea?

Sorry for my Bad english

Greets
[Android General] v7:
Try to whitelist GooglePlayServices in PowerNap.

__

v7

XDA Assist
[Android General] dingdong3000:
How does these stat look @v7?

thanks in advance!

Ps. Have you tried HEBF Optimizer https://play.google.com/store/apps/details?id=com.androidvip.hebf

?

Heard good things bout it though not sure if it be good to test it out, what you reckon?
[Android General] tejaskadaskar:
Hi,Good Morning. Here is my dump file.

Thank you.
[Android General] thepomp:
Please check my dump file. Thanks
[Android General] v7:
Limit com.google.android.gms/.checkin.EventLogServiceReceiver to 93600 seconds.

Seems like the app you mentioned is similar to l-speed.I won't add it to the guide anyway.

__

v7

XDA Assist
[Android General] v7:
Limit com.google.android.gms/.checkin.EventLogServiceReceiver to 93600 seconds.

Add CONTEXT_MANAGER_ALARM_WAKEUP regex as stated in the OP.

Whatsapp backup and Email sync consumed some juice.Rest is all good.

__

v7

XDA Assist
[Android General] v7:
0.2%/hr is awesome.:highfive:

Kernel stats are empty.Logging might be disabled by in the Kernel.

__

v7

XDA Assist
[Android General] thepomp:
Okay. Thanks anyway
[Android General] thepomp:
After i use it an hour and i let my phone screen off,my phone keep awake almost 30 minutes and only 3 minutes on deep sleep. Could you please help me??
[Android General] thepomp:
And here is the dump
[Android General] v7:
Bat.: -17%(100% to 83%) [2.1%/h]

Stats look good and drain is normal.

Some kernel wakelock is keeping the device awake and BBS can't read them.But they aren't causing much issues.

__

v7

XDA Assist
[Android General] thepomp:
Yup. And i look at gsam battery monitor its due to kernel os. Any method to fix this?? Or the problem comes from my wifi router?
[Android General] v7:
Are you on stock ROM?

__

v7

XDA Assist
[Android General] thepomp:
Based on cm12.1 rom
[Android General] v7:
Check with the dev if Kernel logging is disabled.

__

v7

XDA Assist
[Android General] omkar17:
i have used all methods said in this thread....amplify,greenify,powernap.......sot got doubled but still my ANDROID OS shows 40% battery drain
[Android General] rajuabju:
v7, how do these stats look?

I have an HTC 10, running Viper10 ROM /w ElementalX Kernel.

I def. use location services so cant limit those items.

thx in advance!
[Android General] v7:
Limit Icing to 800 seconds.

Add CONTEXT_MANAGER_ALARM_WAKEUP regex as stated in the OP.

__

v7

XDA Assist
[Android General] rajuabju:
Done and done.

Btw, in the OP, under wakelock settings, you have Icing showing to be set to limit at 10800
[Android General] v7:
I had a GooglePlayServices freeze today.I'm testing the values.

Try 800 and report back.

__

v7

XDA Assist
[Android General] dvdsoft:
thanks
[Android General] pokedroid:
hello supreme mages of xda!

I'm hoping I can get a bit of help with my battery drain, as I'm seeing a 13% drop in less than a 5 hour span.

I know one culprit is wlan_rx_wake and based on my readings through this thread I will be looking in to ways to correct that, but there are a few others that I am having a hard time finding info on.

Thanks to anyone that can help out.
[Android General] Portgas D. Ace:
First of all, update BBS to the latest version (2.2.0.0 RC1, can be found in the BBS thread here on XDA) and post another idle log file afterwards as "alarm" stats are incomplete.

For the wlan_rx_wake wakelock, have a look at this thread.

Beside this, Bluetooth and Google Play Service seem to be the major drainers, but lets have a look at your new stats with complete "alarm" section.
[Android General] pokedroid:
I have updated BBS and will report back once I've takens some of the measures in the wlan thread you linked and have given bbs a chance to collect some meaningful data. It will hurt to leave my phone alone for a few hours during day hours but I think I'll survive lol.
[Android General] Portgas D. Ace:
Why not producing an idle log file over night while you sleep? ;)
[Android General] pokedroid:
I didn't want to wait that long haha. I'll just do it that way. That might give me time to try to learn everything in the wlan post you recommended. I don't understand any of it haha
[Android General] TNSMANI:
I have icing limited as per OP. No issues till now (fingers crossed).
[Android General] Sam Nakamura:
Same here [emoji4] limited 10800 and no problem whatsoever on resurrection remix (6.0.1)...
[Android General] tet-bundy:
Same here. Aicp 11

Gesendet von meinem ONE E1003
[Android General] v7:
Wasn't related to icing.Had accidentally disabled an important service.Icing can be limited to 10800 without issues

__

v7

XDA Assist
[Android General] :
Any clue what needs to be whitelisted to make the camera button still let the Xperia wake up to camera directlc from "napping"?

Gesendet von meinem GT-P5210 mit Tapatalk
[Android General] rajuabju:
I am having one issue so far that I'm noticing...

I use an app (which is really just a widget) called "ministocks"

Play store link: https://play.google.com/store/apps/details?id=nitezh.ministock&hl=en

I have it set to auto-update hourly between the hours of 8am and 4pm daily.

As of today, with the changes I made in Amplify, its no longer updating at all. I think, but cant be sure, something is blocking it with one of the alarm or wakelock settings?
[Android General] balachandar.1741:
Can you help me to fix the play service drain during idle time? Tried the fix that you have mentioned in your other post, but I don't think it helped much. Not able to post the log since I'm new on XDA. Thanks in advance.
[Android General] githyanki:
The easiest way to diagnose is to turn off every item connected to wifi except phone/router and see if wakelocks go away.

I would be willing to bet that it is a printer causing the noise.

Most of the steps on that list assume that you have eliminated other sources of the problem and are down to the router.
[Android General] pokedroid:
I wish it was that easy. I don't even own a printer :/ lol
[Android General] abhijeet715:
Hi, i know the sot here in my dp is like 7 mina but this thing happens really rarely that my battery sucks up a lot when in idle, and i think google play services is the culprit this time. Can you please check :)
[Android General] v7:
Can you please elaborate?

__

v7

XDA Assist
[Android General] v7:
Remove this alarm from the Amplify list

android.appwidget.action.APPWIDGET_UPDATE

__

v7

XDA Assist
[Android General] v7:
Use XDA App to post the dump.

__

v7

XDA Assist
[Android General] v7:
Which Gapps did you use?

Clean flash with Banks gapps and report back.

__

v7

XDA Assist
[Android General] abhijeet715:
I rarely use gapps, but yes i was using chrome yesterday. The google play services is the issue, it usually goes after a reboot. Rom was clean flashed on 23rd Aug itself. Had no battery issues since then, but at times this google **** comes up and a reboot usually fixes that but I wanted to know the cause behind it so i posted it here.rn battery is good i did a reboot :)

At times idle only drains like max 5% in 7 hours, i guess thats high, but at times the drain goes up to 10-15%, and i feel that it happens only when my wifi is on, as i feel that wifi scans keep taking place even when my phone is on doze (which i suppose it shouldnt happen on doze mode, i had read it somewhere)

Any idea on how to check whether wifi scans are taking place on doze mode ?
[Android General] mele80:
Nothing has to be whitelisted for that, should work just holding down camera button for a few seconds when screen is locked and switched off.
[Android General] v7:
Check if the WiFi Scanning is enabled in Location settings.

BBS will report the WiFi status.

__

v7

XDA Assist
[Android General] abhijeet715:
Yes it was enabled :D disabled it now, will charge full today night if i can and post a log with the least sot, thanks for the scanning thingy help :)
[Android General] adio201:
Do I have to install all the apps like it shows in op? I have Nexus 6 running rr rom
[Android General] mitchdickson:
You don't have to do any of it.
[Android General] pokedroid:
Hey there, curious if anyone would be able to take a look at my txt dump now, i can't believe the battery drain I got last night.

Txt dump: http://cloud.tapatalk.com/s/57bf0ead5c769/BetterBatteryStats-2016-08-25_060033191.txt

Additional screenies for more insight: https://imgur.com/a/HRRDr

Anyone that wants to take a crack at this, I'd appreciate it :)
[Android General] githyanki:
turn off wifi and bluetooth scanning (in location settings). Set wifi to be off while screen off, or only on while plugged in, in the wifi settings menu.
[Android General] pokedroid:
Holy cow, after wiping all, and starting over from scratch I totally forgot to turn these off!!!! I can't believe I missed that, thank you. I bet that will help a TON!

notice anything else odd, by any chance?
[Android General] githyanki:
Will have to get a new log after those changes, your wifi was keeping your phone awake a lot.

Also after a clean flash, make sure OK Google is off, unless you want it on. Several other settings in the Google area get turned back on so you may want to look through the to see if there's anything else.
[Android General] omkar17:
thanks to this thread, now my mobile phones battery is a lot better.... bt still i am struggling with "ANDROID OS" battery drain yesterday it consumed 40% of my battery.. so after that i conducted idle drain test.... i am uploading BBS dump file and screenshots.... please anyone help me with this drain problem...Thanx in advance...:)

P.S. i have also applied radio active fix if it helps.Also see in attachment that battery dropped from 100 to 96% when i unlocked the phone in the morning.:fingers-crossed:
[Android General] yudumcan:
What an awesome thread. I followed all the steps but never used amplify. If I leave all the settings in the app as is will it make any difference or should I make the changes?
[Android General] v7:
I don't find any issues in there.Stats looks good.

__

v7

XDA Assist
[Android General] v7:
Stock settings won't help much.You'll need the donation package to get good results.

__

v7

XDA Assist
[Android General] omkar17:
YES they are very good stats but at the end of the day the mighty ANDROID OS:eek: drain shows upto 40 % drain.. that is the only issue..rest is fine:fingers-crossed:
[Android General] v7:
Depends on your usage pattern and the apps.

__

v7

XDA Assist
[Android General] yudumcan:
Ok just got the donation package. So as it states on FAQ, do I need to wait few days for all that stuff co show up? cheers
[Android General] v7:
Yeah!Wait for a day :)

__

v7

XDA Assist
[Android General] abhijeet715:
Not exactly what is to be posted, but i hope that this can help :)
[Android General] v7:
Limit com.google.android.gms/.checkin.EventLogServiceReceiver to 93600 seconds.

10163 (Wifi) (com.smarterdroid.wififiletransferpro.WiFi File Transfer Pro): 705.0 MBytes 69.5% 10027 (Wifi) (com.android.vending.Google Play Store): 163.0 MBytes 16.1% 10192 (Wifi) (com.facebook.katana.Facebook): 32.0 MBytes 3.2% 10014 (Wifi) (Google Services): 31.0 MBytes 3.1%

Background data activity caused the drain ^^

__

v7

XDA Assist
[Android General] abhijeet715:
Thankyou, will check into it. I dont know how did wifi file transfer pro start running in the background, whereas its just like a local server to transfer files, which only starts when req.

One more question, can you tell me what does the above mentioned alarm do ? (com.google.android.gms/.checkin.EventLogServiceReceiver)

Seems the google play store vending took most of the juice, anything that can be done for that ?
[Android General] v7:
AFAIK,Event Log Service is something related to the system diagnosis.It helps in collecting info about the system level events.

It's the Play Store automatic updates that consumed the data.No need to bother about that.

__

v7

XDA Assist
[Android General] abhijeet715:
Thankyou very much :)
[Android General] omkar17:
what is the reason cant we eliminate it? because 40% is a big number
[Android General] v7:
Charge your device to 100%.Get me a dump when it reaches 30%.Let me see.

__

v7

XDA Assist
[Android General] benzxi:
Chrome Download stops

hi, i used greenify + amplify + power nap .. battery seems to be improved with my Note 5 but for some reason, everytime I download a file thru Chrome, download stops when screen turns off. I have whitelisted the app in Power Nap and removed Chrome from Doze in Greenify. Am I doing something wrong?
[Android General] omkar17:
thanks bro, will surely let u know!!!
[Android General] voroxda:
May be you should whitelist the Download-Manager too?
[Android General] pettigrew95:
Hey guys, hope everyone is doing well! I've attached my latest BBS dump. Anything noticeable or should be tweaked? Thanks a lot!
[Android General] v7:
Limit ConnectivityService (Android System): 4 s Count:23 0.0% to 10800 seconds.

Refer this [URL"http://xdaforums.com/google-nexus-5/help/getting-rid-wlanrxwake-wakelocks-t2519294"]guide[/URL] to fix the wlan_rx wakelock.

__

v7

XDA Assist
[Android General] pettigrew95:
Hmm interesting, I had ConnectivityService already at 10800, see attached. Also, for the wlan wakelock I have my phone connecting to my home router through a static IP...I guess that's not making much of a difference huh?
[Android General] v7:
There are still wlan wakelocks.Check that guide and see if it helps you.

__

v7

XDA Assist
[Android General] pettigrew95:
I've tried most of these but some I am not going to do because I don't want to modify my home network to just accommodate my phone and potentially interrupt other things connected to my home network.
[Android General] v7:
Try a different ROM and see if it helps you.

__

v7

XDA Assist
[Android General] pettigrew95:
Would a kernel help?
[Android General] v7:
Yeah, probably.

__

v7

XDA Assist
[Android General] red-Tequila:
Could someone explain that process/app for me?I Googled it and found nothing.

Enviado de meu Moto G (4) usando Tapatalk
[Android General] ainurrofiq:
Can you take a look at this v7. Thank you
[Android General] githyanki:
Whatever bam_dmux_wakelock is killed your battery. Perhaps it is related to an app.
[Android General] ainurrofiq:
Which app?
[Android General] v7:
bam_dmux_wakelock (): 40 m Cnt:(c/wc/ec)812/80/0 11.7%

This wakelock triggers during an active data connection.How's the cell signal at your place?

__

v7

XDA Assist
[Android General] grimloktt:
I'm not sure if the search function in this thread is not working or if this questions wasn't previously asked. Since I've enabled these settings, Pandora has problems playing until I turn the screen back on. I searched for Pandora and confirmed I didn't modify any settings related to it. I temporarily disabled Greenify and Amplify and then had zero issues playing Pandora. Any ideas, please? Thank you!
[Android General] v7:
Is the app greenified?

Do you use PowerNap?

__

v7

XDA Assist
[Android General] grimloktt:
Thank you for trying to help.

I looked in Greenify. Under Aggressive Doze, within White list, i just changed Pandora to "not optimized." Maybe that was it? I'll see next time I try Pandora.

No, I don't use PowerNap.
[Android General] v7:
Report back if that fixes the issue.

__

v7

XDA Assist
[Android General] ainurrofiq:
Yes. Im use setting prefer 4g, and my home is get poor connection for 4g. So what is the solution? Change my network to 3g ? Which here is stronger than 4g
[Android General] v7:
Use SmartNetwork to switch to 3G/2G while screen off.

__

v7

XDA Assist
[Android General] ainurrofiq:
Thanks you.
[Android General] abhijeet715:
Still much of a loss, i had indeed used the phone to reply a few messages and make a call, cant understand at times what makes the drain so high ? :confused: could you please help out :crying:
[Android General] v7:
Try a different Kernel/ROM.

__

v7

XDA Assist