yashsingh1/xdaforums huggingface dataset:
[Android General] danecr7:
Yes I did limit some wakelocks/alarms from apps not mentionned in OP that use (and it was slightly better than before blocking them) but I will reset those settings first and only go for stuffs blocked in the OP, note that since that dump file was generated I uninstalled facebook, twitter, instagram, linkedin and my email app (bluemail) and I'm actually using Hermit Lite app to browse those websites but the SetDeviceIdle is still a major issue with kernel wakelocks (PowerManagerService.Display and PowerManagerService.WakeLocks) but I assume that nothing can be done for kernel wakelocks though.

Anyway, it's actually 2PM in my country so I will post here tomorrow a new BBS idle dump file. Thanks a lot for your support :).

EDIT:

After resetting all amplify limitation settings I've set them as per OP nothing more, nothing less. Waiting for BBS dump file tonight.
[Android General] silverkin:
Okay, I am here after overnight drain...
[Android General] v7:
This is on LTE?

How's the cell signal at your place?
[Android General] silverkin:
Yeah, LTE.

90% of the time 4/4, if not 3/4.
[Android General] v7:
The drain is abnormal.There is no big wakelocks.

Can you get me a dump on Aeroplane mode?2-3 hours are enough.
[Android General] silverkin:
Will do this night for better scale [emoji14]

Wysłane z mojego A0001 przy użyciu Tapatalka
[Android General] danecr7:
[MENTION=5867207]v7[/MENTION] here you go with the overnight idle dump file.

I've just limited what has been mentionned in OP, some wakelock and alarm does not exist on my phone though.

Thanks for your help again.
[Android General] v7:
Still that wakelock drains a lot.

setDeviceIdleMode (Système Android): 1 h 7 m 28 s Count:3029 16,7%

I suggest you to clean install the ROM.I'm running 3.2.8+EX without any trouble.
[Android General] danecr7:
OH OK I will downgrade to 3.2.8 but for EX I had issues using snapchat but I will try it again after clean install and see if those issues still happen. I will report back after that.

Thanks.
[Android General] silverkin:
Okay done this before the night.

http://cloud.tapatalk.com/s/583eff45e6b8e/BetterBatteryStats-2016-11-30_172836491.txt

Wysłane z mojego A0001 przy użyciu Tapatalka
[Android General] danecr7:
Hello [MENTION=5867207]v7[/MENTION] ,

Here we go again, I've followed your recommendations, by clean flashing OxygenOS 3.2.8+ ElementalX Kernel with amplify Greenify and powernap set as per OP.

Find attached my idle BBS dump file, but the SetDeviceIdleMode still occurs, I found this on that wakelock too maybe it will be helpful.

Thanks.
[Android General] v7:
Looks good.

So radio is the culprit.Have you tried a different modem?
[Android General] v7:
This is strange.

Doze is causing the drain.Do you have Aggressive doze enabled in Greenify?
[Android General] silverkin:
Yeah I have aggressive on

WysÅ‚ane z mojego A0001 przy uÅ¼yciu Tapatalka
[Android General] danecr7:
No, it's actually disabled.
[Android General] klemen241:
here is a stupid question, i whitelisted my radio alarm app in all three modules, but alarm still wont go off
[Android General] v7:
Can you disable aggressive doze and Doze on the go in Greenify and get me a dump?

We have to track down the culprit.
[Android General] danecr7:
Here are screenshots of wakelocks alarms and services I did not touch.
[Android General] Mr.R™:
Ignore, accidental post, God dam Tapatalk
[Android General] hrswhdn:
Hi v7

Thanks for this post.

But there are many services name that not same but close with services name on your post.

I try waiting 2-3 days but i still not see spesific name, seems the developer change their app services name

Do i apply or not?
[Android General] dwade44:
Guys can you help me ?

how to set it?
[Android General] v7:
*alarm* and *launch* wakelocks doesn't drain.Leave them untouched.
[Android General] silverkin:
Tried without aggressive doze, and same thing. Google Play services still draining battery :(. Tried cache and data cleaning, no effects.

Wysłane z mojego A0001 przy użyciu Tapatalka
[Android General] DB126:
Silly question - has device been rebooted lately? Often cures spontaneous (unexplained) Google Play Services drains.
[Android General] silverkin:
Yes I did...

Now testing if it's gonna drain when I turned off the automatic backup thing. I hope it won't [emoji14]

WysÅ‚ane z mojego A0001 przy uÅ¼yciu Tapatalka
[Android General] uberano26:
So i read and applied as much as i could from the guide, which im very thankful for. So aside from the ones mentioned i have a few more wakelocks and im not sure these are safe to limit so if someone could suggest which ones to limit and for how long id appreciate it.

Also im thinking these maybe related but from the past few days my device is draining much more during standby. When i use the device its all fine and i get the usual SOTs i generally get but its gets drained more during standby, the reason for which im unable to figure out. Maybe these wakelocks are causing it?

Also im sure some of you might say these screens look perfectly normal and i might be paranoid but the thing is i use to get about 3-4 days worth from a single charge with the same usage but currently im getting like 2 or less than 2 days.
[Android General] v7:
Read the FAQ in post #6 and post an idle dump.
[Android General] danecr7:
Hello [MENTION=5867207]v7[/MENTION] I finally got things to work (see screenshot of battery consumption), did not make a idle dump but you can see that I barely lost 2% overnight.

What I did was just disabling Deep Hibernation in greenify in addition to aggressive doze.

Thanks again a lot.
[Android General] v7:
Oh..I never recommended turning it ON.It's still WIP and breaks GCM :)
[Android General] danecr7:
From now on, I will act like they do not even exist. :laugh:
[Android General] silverkin:
Does anybody know why do I have bluetooth showing on graphs when I have it turned off, same with bluetooth location thing?

And it's not showing that I have Wi-Fi on, when I had it turned on for 95% time...

WysÅ‚ane z mojego A0001 przy uÅ¼yciu Tapatalka
[Android General] patci32:
Exactly the same problem here!
[Android General] uberano26:
The idle dump, but i dont think this accurately represents my current issue.
[Android General] v7:
0.2%/hr drain is awesome!

Limit ConnectivityService (Android System): 3 m 9 s Count:8 0.9% to 10800 seconds.
[Android General] uberano26:
Thats the thing, the standby drain tends to get progressively worse the more i use the device.

Okay i will limit that. Would any other graph or stat help in shedding light on this particular issue?
[Android General] v7:
Get me a dump when the battery reaches around 20%.
[Android General] danecr7:
[MENTION=5867207]v7[/MENTION] what about this alarm ?

com.android.server.wifimanager.action.start_pno
[Android General] DB126:
In my experience an occasional flush of Play Services caches followed by a reboot addresses this type of creeping parasitic drain. As for tools BBS will reliably identify the culprits. That said, GSam, WLD and Amplify sometimes present utilization details in a manner that proves helpful. Not advocating using all concurrently as the tools themselves consume resources.
[Android General] patci32:
I followed the guide but I have several issues.

First, I can't find a lot of alarms and wakeblocks that are mentioned. Second, I don't see a lot of improvement. My Sot is OK but in idle the battery drain is significant. I'm on a Xiaomi mi5s. Any idea about what I can do?
[Android General] v7:
If you installed Amplify recently,wait for a day or two.It takes sometime for the stats to populate.

Read the FAQ in post #6 and get me a dump.
[Android General] v7:
As I said,read the FAQ in post #6 and post a dump so that we can help you :)
[Android General] Batistuta7:
Hy guys,

I have a s5mini with stock rooted 5.1 lollipop.

I install xposed ,amplify and powernap. Amplify works great ,but powernap seems dont work . There is no statics in app , in xposed log there is just one line "power nap stats saved successfully" . Any other xposed modul works fine . How do i know if it works.? I dont whitlist music player and i can listen the music when the phone lock because of that i think too its not working .
[Android General] githyanki:
Please update bbs and get a dump for over 6 hours idle.

Also, please just post the text file, not the dump itself as that takes up too much space. If you can't post it here, use pasrebin or something and post a link.
[Android General] patci32:
Here is the log, I used the precise described method , could you please check if something can be improved?

Thanks
[Android General] v7:
Looks great.No issues.

Anyway, update BBS to 2.2.0B6 from the XDA thread :)
[Android General] Bewildered Wolf:
Can't particularly find this version bro. The lastest version I see on the thread in bbs 2.2.0.0 rc3 ?
[Android General] v7:
Oops!Sorry,I was busy with something when I replied.2.2.0RC3 is the right version :)
[Android General] uberano26:
The battery stats at 20%
[Android General] v7:
Wifi Running (): 24 m 57 s 6,9%

Is WIFI "Keep WiFI on during sleep" set to Never?

How old is the cell?
[Android General] v7:
This looks fine to me.

Alarm stats are missing.Update BBS to 2.2.0RC3 from the XDA thread.

Is ConnectivityService limited to 10800 seconds?
[Android General] uberano26:
Okay.

Yes it is limited.

Would you believe me if i said i was getting better standby time and much much more SOT before? I have a few screen shots.

Think i might try factory reset and see if that changes anything.
[Android General] patci32:
Hi,

I'd like to update better battery stats to xda version but first, I need to uninstall the previous version. Since it's installed as a system app, I am not sure how to do this. Do you know the procedure?
[Android General] Portgas D. Ace:
Can't you uninstall it as every other user app?

You should also check the BBS thread for help, I am pretty sure that someone else also had this question before.
[Android General] patci32:
Actually you need to flash a zip to uninstall it if it has been installed as a system app. Did this. Thanks.
[Android General] AlwaysOnCall:
If you installed out of the Play store then there should be an option within the app to remove it. I just installed off play yesterday and there is an option in 'settings' > 'advanced' > 'system app' where you can remove it as a system app with one button press. Do not forget to reboot after.
[Android General] Bewildered Wolf:
I'm getting instant notifications from Instagram . I want to delay it. Which wakelock or alarm I need to block ? And by how much time ?
[Android General] Portgas D. Ace:
Check BBS for Instagram-related alarms, most likely its the most active one.

By how much depends on your needs. If you want notifications once per hour, go for 3600.
[Android General] jlb1959.01:
these are my dumps this morning,after 4days of trying to figure the different alarms,wakelocks, many of the posted alarms/wakelocks haven't shown up on my phone..I'm on Jasmin 9.1(vs985)..thanks for any help,...
[Android General] Bewildered Wolf:
No alarms related to Insta in BBS
[Android General] Ramabi77:
I only use greenify + and it's working, 5 hours doze battery not decreased at all
[Android General] patci32:
Hello,

I looked at the most frequent wakeblocks and I found qfp-service. Any idea of what this is about? It's followed by *alarm* and *launch* and *vibrator*. Should I limit some of these?

Thanks
[Android General] vogiasf:
Hi guys,

I use this regex

.{1,}facebook.{1,}

to limit all facebook related alarms to 41400

I dont know if it actually saves battery but is seems a good idea

Will report if I have any problems :D
[Android General] ProudRed:
This smb135x_wake seems to be running wild and I am facing terrible battery drain. Help.
[Android General] Bewildered Wolf:
For the first time in my life , I'm getting miscellaneous battery drain and that is more than the other battery drains.

What could have been wrong ?
[Android General] :
Yes!! I finally caught my phone on cheating me.

Device - MI3(cancro)

Rom - MIUI global beta 8

Rooted with HEBF+Xposed+Greenify+PowerNap+ForceDoze installed.

On the outside, there appears to be no battery drain. But my phone did not sleep a wink. It was doing something while I was asleep. I want to know who my dirty phone was cheating me with. Kindly help guys. :D
[Android General] githyanki:
CallerInfoCache (Phone): 2 h 10 m 19 s Count:14 95.9%

Your phone app kept your phone awake? Strange.

Shows no battery lost during that time though.
[Android General] jlb1959.01:
good morning,this is my dump after sitting last night,,not thru finding all the alarms and wakelocks(4days now).. my device is vs985, on Jasmin 9.1,.,, thanks,can use any help as I truely don't quite understand how to make adjustments to the settings..sorry for my ignorance.
[Android General] schaggo:
No.

Block services: prevent source of potential wakelocks and alarms in the first place.

Block wakelocks: prevent device being kept awake to do (unwanted? unneeded?) stuff instead of going to sleep.

Block alarms: prevent device from being woken up from sleep to do, check, sync stuff.

Data connectivity is untouched when following this guide. Doesn't matter, as it's not about connectivity here but sleep, or rather the lack thereof.
[Android General] v7:
[MENTION=682549]Phelicks[/MENTION] Is Fit whitelisted in Power Nap?

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=5794110]onlytanmoy[/MENTION] BootManager can only handle the startup items.It cannot disable services.

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=4852315]milojoseph[/MENTION] Disable Google App if you don't use it.Limit ALARM_WAKEUP_LOCATOR to 40000 seconds.

Why do you use this "BoostersPlus Battery Saver Pro"?.Using apps that claim to boost RAM and performance is not recommended.Using Greenify is enough to save RAM and improve performance.

Tapped from my furious dogo ;)
[Android General] milojoseph:
It's not on amplifier.

Sent from my SM-G900T powered by Phoenix rom and ktoonsez kernel

Lollipop ?
[Android General] v7:
Search for "com.google.android.gms.nlp.ALARM_WAKEUP_LOCATOR" in Amplify and LIMIT it.

Tapped from my furious dogo ;)
[Android General] onlytanmoy:
Clear as a bell now...thanks a lot bro.
[Android General] v7:
[MENTION=6131391]Emmago[/MENTION] Never touch a thing.This is the best for you.Cheers :)

Tapped from my furious dogo ;)
[Android General] closee91:
Can you limit this?

phonewindowmanager.mpowerkeywakelock

Sent from my LG D851 running Blisspop ROM

If I helped you out, hit thanks!!! :D
[Android General] closee91:
And what's this? :o

Sent from my LG D851 running Blisspop ROM

If I helped you out, hit thanks!!! :D
[Android General] v7:
No.It seems to be related to the Hardware key.
[Android General] v7:
[MENTION=5268098]closee91[/MENTION] *alarm* wakelocks appears on all LP roms.No need to worry about them.Leave it as it is.
[Android General] daniel2744:
So i just flashed lollipop on my Z3 and i'm getting it setup with this guide. I have a few questions i'm not seeing some alarms for example these were the ones from amplify i was not seeing

com.facebook.push.mqtt.keepalive.KeepaliveManager. ACTION_INEXACT_ALARM.com.facebook.katana

com.facebook.common.executors.WakingExecutorServic e.ACTION.ALARM.com.facebook.katana

Alarms[LOCATION](Allow every 40000 seconds)

ALARM_WAKEUP_LOCATOR(com.google.android.gms.nlp.AL ARM_WAKEUP_LOCATOR)

ALARM_WAKEUP_CACHE_UPDATER

ALARM_WAKEUP_BURST_COLLECTOR(com.google.android.gm s.nlp.ALARM_WAKEUP_BURST_COLLECTOR)

com.google.android.gms.location.fused.GPS_ALARM_BA LANCED_ACCURACY

ALARM_WAKEUP_ACTIVE_COLLECTOR

ALARM_WAKEUP_PASSIVE_COLLECTOR

ALARM_WAKEUP_BURST_COLLECTION_TRIGGER

Alarm(Allow every 84000 seconds)

android.app.backup.intent.RUN

com.google.android.gms/.checkin.EventLogService$Receiver

com.google.android.gms/.checkinCheckinService%Receiver

Services(Block/Deny)

com.google.android.gms/com.google.android.location.internal.AnalyticsSamp lerService

com.google.android.gms/com.google.android.location.internal.AnalyticsSamp lerService

com.google.android.gms/common.analytics.CoreAnalyticsIntentService

and I also keep getting google play services crash when i reboot the phone but i remember you saying in the thread that this is normal.
[Android General] closee91:
If you don't see those alarms then you don't have them. You don't have to worry about them :)

Sent from my LG D851 running Blisspop ROM

If I helped you out, hit thanks!!! :D
[Android General] v7:
[MENTION=2562010]daniel2744[/MENTION] If you don't use Location Services, you won't find those alarms.They are mostly triggered while using "High Accuracy" Location.

The facebook alarms pop up when you use Messenger for some time.

The services you've mentioned are related to Location and Google Services.If you have already disabled "AnalyticsService" of GooglePlayServices in MyAndroidTools,you won't find com.google.android.gms/common.analytics.CoreAnalyticsIntentService in Amplify.

Tapped from my furious dogo ;)
[Android General] jhuff83:
[MENTION=5867207]vaisakh7[/MENTION] is it safe to limit download manager?
[Android General] v7:
[MENTION=2657618]jhuff83[/MENTION] Do you have "Auto Download of attachments" selected in Gmail?

Limiting/Greenifying Download Manager is not recommended.

Tapped from my furious dogo ;)
[Android General] jhuff83:
Yes, auto download is enabled over wifi. Should I disable?
[Android General] v7:
[MENTION=2657618]jhuff83[/MENTION] It's upto you.If you want your attachments to be downloaded automatically,keep it.Else,disable the feature.

Tapped from my furious dogo ;)
[Android General] Emmago:
I have not even touched anything on amplify.. Google play services keeps running.. Need to limit those wakelocks and alarms
[Android General] TNSMANI:
Read the OP. Use the phone as usual for atleast a day. Then open Amplify and then select Wakelocks. Use the search function in it to search for one of the wakelocks recommended in the OP for limiting and if found, limit it. Continue till you exhaust all the items listed in the OP.

Likewise, choose Alarms and then Services and limit them as per OP. Also use the regex function in Alarms. You will not find all the wakelocks, alarms etc mentioned in the OP. What you find will depend on your device, ROM, apps installed, usage pattern etc. Don't worry about it. Limit what you find.

It is really simple but tedious for the first time. Once you have set it up correctly, take a backup of Amplify in TitaniumBackup so that if need be, you can simply restore the settings.
[Android General] jlb1959.01:
thank you..could someone look at my stats etc and see how I stand. appreciate greatly .
[Android General] Caddos:
Hi dude, can you help me?

http://cloud.tapatalk.com/s/58499a447d77f/BetterBatteryStats-2016-12-08_070945126.txt

Enviado desde mi SM-J700M mediante Tapatalk
[Android General] :
I know, right? It's so strange. I tried clearing cache/dalvik and even clearing data on the phone app. But nothing seems to work. All of the following bbs dumps seems to show the same callerinfo wake lock. I cannot see this on amplify. So I can't limit it.

What am I to do now? The phone doesn't sleep at all. But during that time, the phone is on the lowest possible frequency and slowly loses 1%/hour. Sometimes it's more.
[Android General] githyanki:
Try a different rom? Use Google dialer and remove stock dialer? (or vice-versa)
[Android General] :
I really wanted to try out MIUI 8 for all its hype and so - changing the ROM is not really an option for me. But I will try your Google dialer suggestion and report back here.

Update -

I was unable to do that. Trying to remove stock dialer caused my phone to report no IMEI status. I guess it's because I am using MIUI ROM. I did notice an interesting thing. My sensors are being used constantly during idle. Is this of any significance?

Further update -

The problem got solved. I was running a beta rom and it seems there was a bug in it. I flashed the stable edition and I don't get that wake lock anymore. Thanks guys! \(^_^)/
[Android General] TNSMANI:
Though your WiFi was on and connected all the time, your mobile data was also used for some time. Check your router and try restarting it to see whether the issue is sorted out.

Do you have a screenshot of the battery page and battery history page for the corresponding period of this dump?

There was also a background download of about 1MB by Google Play Services.

Proximity sensor was on all the time used by 'lge knock-on'. Are you using any settings that affect the proximity sensor?
[Android General] jlb1959.01:
haa,no idea what that sensor is or how to adjust or turn it off,and yes the router had shut off in the process,(we lost power)..maybe you could guide me as far as the sensor issue,I am running Jasmin 9.1,, with skydragon 5.0.4 kernel,and rood warriors debloated ,so its a stock based ROM without 3/4 of the bloat,no Verizon apps except messenger,and limited LG apps..I do have this mornings dump..if that's any help.hmm that sensor issue is bothering me,,also what ever RILJ does ,its very high but I didn't want to mess with that setting..your help is GREATLY appreciated..
[Android General] patci32:
Could someone please answer to my previous post?
[Android General] DB126:
- no (1st question)

- no (2nd question)

A simple thread search would have yielded answers to both questions perhaps explaining the lack of responses.
[Android General] githyanki:
The proximity sensor is used by things like lift to wake, ambient displays, tap to wake.... Things like that. If you can disable any method of waking your phone other than the hardware button, then test and see if it is resolved.
[Android General] jlb1959.01:
OK much appreciated,things tend to get on my nerves,,I've run greenify for years,and been on Jasmin 9.1 for ever,just in the past year did I attempt these theory's..a slow process,and I greatly appreciate the help on this post..off the top I can't think of anything besides nova launcher double tap to sleep??. Jasmin is basicly stock 5.1, so kind of list. but tonite I will go thru all the settings.
[Android General] uberano26:
So i think i might have fixed the stand by drain issue i was having before.

Seems my phone does not like battery monitoring or saving apps all that much. Who knew?

It could also be one of the other apps i had installed but atleast this is a good start.
[Android General] Funk Wizard:
[MENTION=5867207]v7[/MENTION] Many thanks for your work.

I've been following this to get better backup

Could you tell me about the attached screenshots, the device in use is OP3T and the first SS shows the wakelocks safe to delay and the second shows the wakelocks related to job that I had a doubt on.

looking forward to you advise
[Android General] v7:
No need to limit any of them.(The safe to limit wakelocks listed doesn't drain much).

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

BTW,which app do you use to tune the status bar?
[Android General] Funk Wizard:
Thanks for a prompt reply. I shall use BBS and see how it goes. Already getting good backup so can't ask for more.

I use Xposed and subtratum for Status and Nav bar

Sent from Funk Tuned 3T
[Android General] danecr7:
[MENTION=5867207]v7[/MENTION] what do you think of this (my lockscreen) the fingerprint did not work and I could not enter the password but just reboot the device. I've whitelisted all the recommended apps in PowerNap.
[Android General] v7:
Disable PowerNap and report back if the issue is gone.
[Android General] Gawd:
So I read and followed all the steps mentioned in the OP. Today was the first day of the testing, so I left the phone on standby with LTE on. Strangely enough the battery dropped to 77% in 3 hours with no usage. I've read all the posts by [MENTION=5867207]v7[/MENTION] , and I know the "format" of reporting logs. But here I'm attaching log of those ~3 hours. Would be attaching the full 6h log later.

I'm using Privacy guard and not App-Ops. Also, I'm also using the MRA bug fix module, and Amplify, Greenify, PowerNap (with the settings suggested). Hope you look into it. Thank-you.
[Android General] v7:
1.96 GHz (): 2 h 4 m 21 s 59.0%

There's nothing in the userspace causing the trouble.I suggest you to clean flash the ROM with latest gapps and report back.