yashsingh1/xdaforums huggingface dataset:
[Android General] gilliantpham:
I did follow the instruction, somehow, my batter drains faster than normal. Screen on just 3h14m. Normal is more than 4h a little bit. I dont know :(
[Android General] Razertje:
Follow post 6, you used your phone. You shouldn't. Provide a clean log :)
[Android General] JanNegron:
ohh ok ok!
[Android General] v7:
Post me a dump as mentioned in FAQ(post#6).

___

v7

XDA Assist
[Android General] senthilrameshjv:
Hi @v7, any way I can stop audio mix wake lock? It has kept my phone 2h 40 m awake out of the 3h50m total screen off awake time. My phone stood by only 13h because of this, instead of regular 20+ h..
[Android General] v7:
AudioMix wakelock controls your notification sounds.But 2h 40 min is an abnormal number.

Can't limit it.I guess it's a ROM issue.

___

v7

XDA Assist
[Android General] senthilrameshjv:
May be.. Just moved out of cataclysm to pure nexus. Will do a reboot.. I'm wondering if this could be because of any apps in background like games or music players.
[Android General] mrrocketdog:
audiomix = 2hr/5min. on a aosp based kk rom. no gapps. pretty normal for mine. just saying.

[tp_noparse]W2NlbnRlcl1baW1nXWH0dHBzOi8vZGwuZHJvcGJveHVzZXJjb25OZW50LmNvbS91LzlzNjl3OTl3L0ltYWdlcy9TaWduYXR1cmVzL3ZhcmlvdXMvcmRiLmdpZlsvaW1nXVsvY2VudGVyXQ==[/tp_noparse]
[Android General] v7:
5 min AudioMix wakelock in 2 hrs is normal :)

___

v7

XDA Assist
[Android General] alokt27:
Here are my ss for Smartnetwork - mobile networks...

Automatic network switching still not working

**Edit I also have 2 apps added on my whitelist 1. Adm and download manager
[Android General] vignesh1998:
What are alarms?
[Android General] v7:
With your setup,network won't change if you have Wifi connected.

___

v7

XDA Assist
[Android General] alokt27:
I rarely use WiFi .. Also I have whitelisted download manager
[Android General] v7:
See if the Download Manager app is running in background.

___

v7

XDA Assist
[Android General] alokt27:
Download manager is adm .. Hibernated
[Android General] v7:
Try removing the app from the whitelist and see if the network switches.

___

v7

XDA Assist
[Android General] v7:
Wakeups (alarms) is a pattern to be used when an application should to something after a certain period of time.

___

v7

XDA Assist
[Android General] alokt27:
Got it working .. After a reinstall of app and a reboot :)
[Android General] vignesh1998:
Shoulds we limit these, I am going to post dump file tomorrow.
[Android General] Ph0z3:
[MENTION=5867207]v7[/MENTION] here are a few values i use that differ from yours:

ALARMS:

- com.android.internal.telephony.data-stall = 86000 (i dont talk / make calls that much)

- android.content.syncmanager.SYNC_ALARM = 43200 (i prefer manually sync)

- com.google.android.intent.action.SEND_IDLE = 43200

- com.google.android.location.reporting.ACTION_UPDAT E_WORLD = 86400

Wake Locks:

- WakefulIntentService = 900

- RILJ = 900

- NetworkStats = 900

- WeatherUpdateService = 7200 (i have all my widgets @ 2 hours anyways)

- NfcService:mRoutingWakeLock = 84000 (i do not use NFC or Bluetooth)

- AsyncService = 14400 (i prefer to refresh/sync G+ on my own)

Here are a few more, if applicable...

Package Name: Push Bullet

Full Name: BaseIntentService

Allow every 7200 seconds (every 2 hours) [can safely go to 9600, but can cause sync issues]

Package Name = SlideIt Keyboard

Full Name = ServiceUpdate

Allow every 9600 seconds

Package Name = PushBullet

Full Name = GcmService

Allow every 9600 seconds

-------------------------------------------------------

I am still working on looking up services & alarms, so that more services can be safely blocked, without breaking things... will report back when i know more.
[Android General] acestars:
Here ia my bbs dump after updated bbs to 2200b5.

Thanks.
[Android General] v7:
No need to limit them.

___

v7

XDA Assist
[Android General] v7:
BetterBatteryStats version: 2.1.0.0

BBS is still 2.1.Update it and post me a dump.

Limit

1.NlpCollectorWakeLock to 41400 seconds.

2.NlpWakeLock to 41400 seconds.

3.Analytics WakeLock (Google Services) to 9999999 seconds.

___

v7

XDA Assist
[Android General] cfsr4:
I have already greenify, yet the problem remains.

the only thing that makes stop choke is clear the recent apps.

if you stay too long without cleaning the recent , lock time to unlock the screen and even to answer calls

It will be what happens this because I have many apps?
[Android General] acestars:
Oops sorry wrong file, here is the right file.

Thanks for your patience.
[Android General] miltonwkw:
Update BBS to 2.2.0B5. Here is the new dump file. Thanks so much! :D
[Android General] senthilrameshjv:
Hi @v7, I made another test now. Since audio mix was draining my battery at my work place and also g play services, I wanted to see how the idle drain at my home with only data but no wifi. I've smart network enabled which means it would have changed to 2g mode. Here is the log. I didn't charge 100% but I just set it as custom reference.

https://drive.google.com/file/d/0B1YoUVS0hVkEVm1WVVBHX3g2Qlk/view?usp=docslist_api
[Android General] v7:
Try a clean flash of the ROM.That might help.

You can use SD Maid to clean the junk files.

___

v7

XDA Assist
[Android General] v7:
Limit

1.ConnectivityService (Android System) to 10800 seconds.

2.NlpWakeLock (Google Services) to 41400 seconds.

Have you enabled 'Alarm Using API' in BBS advanced settings?

___

v7

XDA Assist
[Android General] v7:
Limit

1.com.android.internal.telephony.data-stall to 800 seconds.

2.ALARM_WAKEUP_ACTIVITY_DETECTION to 41400 seconds.

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

0.1%/hr drain is really good.Enjoy your battery life :)

___

v7

XDA Assist
[Android General] v7:
This looks good.AudioMix count is fine too.No need to worry.

___

v7

XDA Assist
[Android General] jockovonred:
6-8 hours. Get % loss in BBS, divide % loss by hours.

This is your baseline. Both with power off and in airplane mode. It will tell the condition of battery without app or network usage.
[Android General] vignesh1998:
Here my bbs dump file. 100% to 80% in 6 hours, theres a bit improvement. Is there more that I can do.
[Android General] acestars:
Alarm using API still disabled, should i enable it? Is NlpWakeLock interferes google maps and gps apps?

Sent from Xiaomi Redmi Note 2 with MIUI 7.0.12
[Android General] v7:
AlarmClock (com.android.deskclock.Clock): 1 h 35 m 55 s Count:4 23.7%

Clock kept the device awake for 1hr 35 min.Clear the Clock app data and post me another dump.

___

v7

XDA Assist
[Android General] v7:
No need to enable it.

Limiting them shouldn't break Maps.

___

v7

XDA Assist
[Android General] acestars:
Ok thanks, will try your advices and upload the latest bbs dump later.

How about GpsLocationProvider wakelock? Should i limit it?

Sent from Xiaomi Redmi Note 2 with MIUI 7.0.12
[Android General] vignesh1998:
Alarm was ringing for 1hr 35 min, and it was on silent. Is there any other problem? I can post another dump file tomorrow. Is there more that I should limit?
[Android General] v7:
No other issues.

___

v7

XDA Assist
[Android General] aashgaur:
So i charged the phone to 100% and then switched off my phone for about 6-7 hours.

When i restarted it the battery was on 99% and it dropped to 98% just after.

What do i get out of this ?
[Android General] senthilrameshjv:
Yes the audio mix joke is on me. I've set my usual ringtone (clip from an mp3 song) as my notification sound instead of my ringtone. So for every notification may be it was playing for longer time and since my volume was low, I didn't hear it at all..

Anyways thanks. [MENTION=5867207]v7[/MENTION] for verifying the logs and Confirming.
[Android General] slst:
Hi bro @v7......... need your help...... previously i followed your guide but faced music pause bug.... try to whitelist(and disabling the optimize option in app settings) the music n its related mods but i was facing the problem..... so i clean install rom n etc....... everything is fine..... this time i only tweaked doze n its giving me music pause bug......... no workarounds for this??? thanks in advance
[Android General] v7:
Whitelisting the app in Optimize option doesn't help?

I need some MM users to confirm this. [MENTION=5656100]tnsmani[/MENTION] [MENTION=4334467]senthilrameshjv[/MENTION]

___

v7

XDA Assist
[Android General] senthilrameshjv:
I use poweramp for music and I have never faced any music pause or shutter at all in my Nexus 6p with regular(stock), tweaked (doze editor) or aggressive doze (greenify). Didn't white list any apps..
[Android General] v7:
Thanks for the report!

[MENTION=5089257]slst[/MENTION] Are you facing the issue with stock settings?Did you try another media player?

___

v7

XDA Assist
[Android General] metrize:
Any ideas?
[Android General] v7:
radio-interface (): 22 m 26 s Cnt:(c/wc/ec)1306/12/0 2.6%

lli_pm_wlock (): 18 m 10 s Cnt:(c/wc/ec)1464/50/0 2.1%

Do you have poor signal at your place??

___

v7

XDA Assist
[Android General] metrize:
Yep I do, 1 bar/0 bar usually. Is this the problem?
[Android General] v7:
Poor signal is the main cause of the drain here.

Also..did you limit the stuffs mentioned in the Amplify section of OP?There are lot of alarma and wakelocks in your dump which is mentioned to be limited.

___

v7

XDA Assist
[Android General] slst:
thank you [MENTION=5867207]v7[/MENTION] i fixed it.........(really doze brought so much headache to me :p ) i m using Viper|Atmos mod so i disabled the optimization for viper4android n dolby atmos n music player n it fixed the music pause bug........ n i have disabled the optimization for power nap as well is it necessary or not??? n which apps should i disable the battery optimization for??? (like greenify, naptime.....)..... and can you update the OP for marshmallow users mentioning this thanks
[Android General] v7:
I'm still on Lollipop.I need a MM device for testing :)

___

v7

XDA Assist
[Android General] v7:
No issues here.Nothing to tweak.

___

v7

XDA Assist
[Android General] vignesh1998:
Can I get a better battery than this?
[Android General] v7:
The battery is nearly dead.I can't do much about this.Consider replacing the cell :)

___

v7

XDA Assist
[Android General] vignesh1998:
Well then thanks, there is much improvement but not as much as when it was a brand new phone :)
[Android General] goldbeard:
How do I fix the wifi battery drain ? I have greenified all my apps but the overnight battery drain is abnormal with only wifi on. If I turn the wifi off, the battery drain is almost nill overnight...I dont think its any app thats been running when the wifi is on...the wifi in itself is causing the battery drain i guess...any suggestions?

P.S. I'm on cm13 with Amplify + Greenify + Power Nap
[Android General] v7:
Read FAQ in post #6 and get me a dump :)

___

v7

XDA Assist
[Android General] TNSMANI:
Sorry for the late reply, but I don't listen to music on my phone. So no idea.
[Android General] v7:
Nvm,fixed it :)

___

v7

XDA Assist
[Android General] TNSMANI:
In addition to what v7 said, check whether WiFi is shown as depleting battery in batterystats in Settings>battery. See whether WiFi scanning is off in Settings>location>scanning. Also check whether 'scanning always available/keep WiFi on during sleep' is off in Settings>WiFi>Advanced.

For me WiFi came under control only by using LeanDroid. You can checkout the app in Play Store.
[Android General] noobSU:
[MENTION=5867207]v7[/MENTION] 99.7% deep sleep in 7 hrs with data off wifi off sync off. 4318-4275 voltage lost. 0% battery drain. Good?
[Android General] v7:
That's great stats :)

:good:

___

v7

XDA Assist
[Android General] v7:
Limit

1.*job*/com.facebook.orca/com.facebook.bugreporter.scheduler.LollipopService (com.facebook.orca.Messenger): 10 m 47 s Count:10 1.6% to 9999999 seconds.

10173 (Wifi) (com.creativetrends.folio.app.Folio): 2.0 MBytes 54.2%

Folio app consumed some data and juice.

wlan_rx_wake (): 21 m 15 s Cnt:(c/wc/ec)1618/74/1618 3.1%

Router issue?

Post me another dump after limiting the mentioned wakelock!

___

v7

XDA Assist
[Android General] 3ddfknmontana:
I have never seen a thread that the creator answers likr every question that is given to him... I'm like literally ashamed to ask you a question... Good job man. So devoted. @v7
[Android General] Dendis:
Should I greenify apps like folio (folio is a Facebook chrome wrapper (it's better than official app, because it sucks a lot)).

And about router, idk what's wrong could be with it. I use static ip address instead of DHCP and it's good overall. Hmm.

Limited that wakelock.

Thanks!
[Android General] v7:
Greenify folio and see if you get notifications.

Usually the wlan_wx wakelock is fixed when you use Static IP.Anyway we'll see in in next dump :)

___

v7

XDA Assist
[Android General] noobSU:
Thanks. That's a dump of these stats. If you check further for more savings? ?

https://docs.google.com/uc?id=0B0Al5ZRoGzLeSkNZMjRnQ3lBYW8&export=download
[Android General] v7:
Limit com.google.android.location.reporting.ACTION_UPDATE_WORLD to 41400 seconds.

Rest is all good :)

___

v7

XDA Assist
[Android General] wokdogol:
mate, how do you make nav bar button color same as ur status bar color?
[Android General] Dendis:
Xposed module called flat style coloured bars ?
[Android General] Ph0z3:
Hey [MENTION=5867207]v7[/MENTION] here is a few more I've edited / added..

Please add to OP.
[Android General] acestars:
Do i need more tweaks?

Thanks.
[Android General] v7:
Limit fingerprint_scanner_local to 3600 seconds and report back if it breaks Google+

__

v7

XDA Assist
[Android General] acestars:
Done. I never use G+. [emoji1]

Sent from Xiaomi Redmi Note 2 with MIUI 7.0.12
[Android General] v7:
FYI,fingerprint_scanner_local is a G+ wakelock :)

Crazy google stuffs :D

___

v7

XDA Assist
[Android General] acestars:
Wow, Google makes too much wakelocks [emoji1] and xiaomi follows google step [emoji24]

Sent from Xiaomi Redmi Note 2 with MIUI 7.0.12
[Android General] brossovitch:
I am on my 3rd full charge since discovering this thread..

I used almost everything in the OP except I don't have any Facebook apps and I didn't deactivate the location stuff. There's a few others I may not have limited because I use them often.

I also don't have the PowerNap app.

I noticed that I get slightly worse battery life after limiting all the wakelocks in the OP.

And deactivating the GCoreFlp in Amplify causes a periodic forceclose of Google services and Chrome. But here's my dump.

!Pleh
[Android General] v7:
Screen On (): 58 m 45 s 12.1%

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

___

v7

XDA Assist
[Android General] brossovitch:
Yea, I'm dumb. Sorry about that. Will report back tomorrow.

Would it be okay of it was more than a 6hr time?

Say, if I let it sit idle while I sleep tonight?
[Android General] shark3112:
Thats mine. Can i tweak anyone?

https://mega.nz/#!uJozmZAJ!Eqdn02j6ygVIh8RDklhPvnRPGogcCnjmDC7C2m66M0w
[Android General] v7:
Anything more than 6hrs is fine :)

___

v7

XDA Assist
[Android General] v7:
Can you upload to another mirror?

MEGA is blocked by my ISP!

___

v7

XDA Assist
[Android General] shark3112:
Here.

https://drive.google.com/folder/d/0ByvmqH314wOoaHAwTThINmpvaUU/edit
[Android General] v7:
Limit

1.*job*/com.facebook.katana/com.facebook.bugreporter.scheduler.LollipopService (com.facebook.katana.Facebook): 12 s Count:11 0,0% to 9999999 seconds.

2.*job*/com.facebook.katana/com.facebook.analytics2.logger.LollipopUploadService (com.facebook.katana.Facebook): 9 s Count:20 0,0% to 9999999 seconds

3.ConnectivityService to 10800 seconds.

4.Alarms: 19, Intent: ALARM_WAKEUP_LOCATOR

to 41400 seconds

5.Alarms: 3, Intent: ALARM_WAKEUP_ACTIVE_COLLECTOR to 41400 seconds.

6.Alarms: 2, Intent: ALARM_WAKEUP_BURST_COLLECTOR to 41400 seconds.

___

v7

XDA Assist
[Android General] shark3112:
Thanks
[Android General] Dendis:
Round number two, what should I change now?
[Android General] v7:
Looks good!Nothing to tweak :)

0.3%/hr is really good :thumbup:

___

v7

XDA Assist
[Android General] olivercervera:
Man, this wakelock is killing me.

I also switched from a full stock rom (just rooted) to XtraSmooth, same story, IPA_WS is draining my battery.

What dump do you mean? I want to get it as well.

I have also disabled Mobile Broadcasts app, still getting drain - there is something else that is causing the issue.
[Android General] Dendis:
Ok, thanks! What do you think really, is greenify worth using? What are the circumstances that when you should use it and when not? If you wake up your phone a lot, is it worth then? A bit of explanation would be great. Thanks!
[Android General] Portgas D. Ace:
There is a dedicated Greenify thread here on XDA. Check it for more information.

And yes, it is worth using it.
[Android General] flarestar123:
Stats last night. Needs some enlightenment for better battery life. Some of the features of MIUI are running even though I don't use em like built in battery saver. I also notice that google play services is enabling its keep awake service every time I reboot even though I disabled it via appops that's why I wonder if I need to add appops in powernap whitelist. Can I also limit fingerprint_scanner_local in amplify cause my device doesn't have a fingerprint scanner in it.
[Android General] Portgas D. Ace:
Screen On (): 7 m 43 s 1.5%

Try to reduce the screen on time to less than a minute. Otherwise results may be corrupted.

Alarms are under control, some kernel related issues, for example

NETLINK (): 3 m 28 s Cnt:(c/wc/ec)4836/441/0 0.7%

@v7, any thoughts from your side?
[Android General] v7:
Yeah!Greenify is worth using!

It can handle the background apps well.There are a lot of battery killers running in background.Greenify helps to tame them.Greenify doesn't kill them but it performs some kind of hibernation so that the app functionality is preserved.While Amplify and PowerNap helps is fine tuning the idle drain,Greenify gives a boost to your SOT when used properly.

___

v7

XDA Assist
[Android General] v7:
[MENTION=5403196]flarestar123[/MENTION] Reduce the SOT and post another dump.

[MENTION=5901790]orville87[/MENTION] Yeah bud,the kernel wakelocks are from the WiFi connection and the Xiaomi firmware.Xiaomi framework is crap!

No other issues I could notice.

___

v7

XDA Assist
[Android General] Mandark-coyg:
[MENTION=5867207]v7[/MENTION] hey ! I've been reading all of the posts in the thread for the past 4days... You are doing an exceptional job by helping us out !

I'm a new user here... Have found lots of solutions regarding my device which has been neglected by the manufacturer regarding updates.

I'm using a Micromax Canvas Knight A350 MT6592.

I recently upgraded my ROM to CM 12.1 V2.2 and finally have Android L on my phone with a merged storage. (Thanks to Mr AK :) )

My phone has a pathetic battery barely 2hours SOT, have to charge it 3-4 times a day! so i've been reading all the posts here looking for some solution and I downloaded BBS and wakelock detector last night and made a dump file. Would you please help me with this?

P.s: I am unable to attach the dump file and screenshots via desktop view too.
[Android General] v7:
Upload it to any filehost and post the link here.

___

v7

XDA Assist
[Android General] Mandark-coyg:
I'm unable to post external links since I'm a junior member (I just realized the restrictions). I will follow the guide given step by step to reach 10 posts and get back to you soon ! :)
[Android General] TNSMANI:
You can type the link but not paste it.
[Android General] Mandark-coyg:
https://drive.google.com/folder/d/0B2uZSFX_jzVaZDBfTnlUTHFmOUE/edit

I'd like to mention I tried to charge till a 100%, but it took 30mins to reach 98% from 95% and halted at 98% for a very long time without any increase whatsoever.

And I've installed 'project SKYNET Genesys'.
[Android General] v7:
Like [MENTION=5656100]tnsmani[/MENTION] said.

For example,replace the '.com' in the link with 'dotcom' :D ;)
[Android General] v7:
Seems like a wrongly calibrated battery.Calibrate it once!

Also did you follow the Amplify instructions in the OP?They are lot of alarms in the stats which are suggested in the OP.

___

v7

XDA Assist
[Android General] Mandark-coyg:
I will do that tonight then and come up with a fresh dump file in the morning (pun not intended) ?

Btw Should I remove the mod I have installed before I install xposed ?
[Android General] v7:
Had a quick look at the mod.Seems like it won't cause trouble for Xposed.

___

v7

XDA Assist
[Android General] cobras3:
[MENTION=5867207]v7[/MENTION] is it possible to share the TB Backup (data) file of Amplify(where all alarms, wakelock and Services are limited) in the thread? Then users can restore it with TB and we don't need to type and search every wakelock, alarm etc. Yes I know that I can do this, but there are many different roms and there are another wakelocks and alarms. It's just an idea. I really appreciate your work and your fast responding.

I don't know which keyboard you use, but u need an extra button with following content:

"Read FAQ in post #6 and post a dump."

:D
[Android General] Dendis:
[MENTION=5867207]v7[/MENTION] Stamina mode or power nap?
[Android General] v7:
PowerNap

___

v7

XDA Assist
[Android General] v7:
Is manually setting up Amplify that tedious?

Also some people prefer to keep some stuffs un-limited like sync,location or prefer smaller intervals for them.

I really believe the current setup is fine :)

___

v7

XDA Assist
[Android General] mrrocketdog:
aaaaannnnddd .... unless we all have the same phone with same rom/kernel and exact same apps we're not going to have same wakekocks , alarms , etc. i.e., my phone doesn't have a gapps pkg on it , v7 isn't concerened with location (if i'm not mistaken). anyway , thats the idea.

[tp_noparse]W2NlbnRlcl1baW1nXWH0dHBzOi8vZGwuZHJvcGJveHVzZXJjb25OZW50LmNvbS91LzlzNjl3OTl3L0ltYWdlcy9TaWduYXR1cmVzL3ZhcmlvdXMvcmRiLmdpZlsvaW1nXVsvY2VudGVyXQ==[/tp_noparse]
[Android General] ravionly431:
Hi V7,

Please see the dump and suggest me if anything else can be done to improve even more.

I have plugged in charger for around 25 min at the end.

https://docs.google.com/document/d/...r-vgF7ZhCiQeB4F245qqW9k/edit?usp=docslist_api

Let me know if you need the dump again without charging again at the end. I plugged in because it was at 10% battery level.

Regards,

Ravi
[Android General] olivercervera:
This is a dump I have done the first time I've seen this wakelock (13th Jan). I know, it's not following the full charge and other requirements, but I don't think is really helpful: all it does say is:

================

Kernel Wakelocks !!! wakeup_sources !!!

================

IPA_WS (): 15 m 1 s Cnt:(c/wc/ec)0/0/0 100.0%

If we knew what is causing IPA_WS I would disable the service, but unfortunately is not being shown. I have disabled Mobile Broadcasts app, so it's not caused by this app as others say.

A full charge dump that follows your requirements would say exactly the same thing. If you want I can still get it for you, but it won't show anything else.
[Android General] v7:
That's the idea.I said 'Location' as an example ;)

___

v7

XDA Assist
[Android General] v7:
Screen ON->1 hr 33 min

Read FAQ in post #6 and get me a dump :)

___

v7

XDA Assist
[Android General] v7:
Can't find any info on the wakelock.This has been reported by a few 5X users.As of now there's no fix :(

Is this issue reported to Google?

___

v7

XDA Assist
[Android General] olivercervera:
I know, no info about it unfornutately, you were my last chance! If you do a search a bunch of people has reported the issue in XDA.

I would like to report it to Google, but as you might now, they are really dodgy when it comes to handling AOSP tickets. I bet they will find the excuse "you have modified / rooted the device, this is not supported, bye". On the other side, without Root and BetterBatteryStats I won't event know what is keeping my device awake.

Moreover I don't know how to replicate the issue, it just appears every 24/48 hrs.

What do you suggest? I don't think Google will ever consider a report done by a guy who attached a report from a rooted app, by a rooted phone :confused: