yashsingh1/xdaforums huggingface dataset:
[Android General] .Heisenberg.:
Bluetooth is turned on because connected to the Miband, as regards the playstore I was not downloading anything, do not know why remained active ... :confused:

And for wakelocks of whatsapp and clock, is there anything I can do?
[Android General] Gizmundo:
[MENTION=5401012]Celestial Fury[/MENTION]

thanks, I'll try to run another test with no widgets and I try to freeze apps which I find out that they run in the background with their services and don't really need them. I'll report back If I found improvement.
[Android General] lazer155:
My phone is losing nearly 2% per hour after blocking everything except sync related items in the OP.
[Android General] closee91:
What does android.intent.action.MCS_heartbeat do? Can it be limited?
[Android General] Celestial Fury:
Meaning Amplify is causing more drain? The phone's been awake for an hour. I see mostly kernel wakelocks: smdcntl0 and others. Kernel battery draining wakelocks is a question your ROM/kernel dev will have to answer.

Regulates heartbeat for push notifications. Sure but it can affect push notifications. You can try and see if the delay (if much) is acceptable to you.
[Android General] lazer155:
Yes it seems like it is draining faster with amplify. Attached is the initial test that I did with no blocking. I was trying to see what the baseline drain was so I would know if things got worse or better.
[Android General] Celestial Fury:
One dump has kernel wakelocks running wild. Another doesn't. Whether Amplify or any app is installed or not is unrelated. The only thing that's related is your kernel/ROM.
[Android General] t4n017:
deleted
[Android General] cosminnn:
I think my OPO touched Nirvana for a few hours last night :)

Bat.: 0%(100% to 100%) [0.0%/h]

Voltage lost [mV]: (4312-4276) [5.1%/h]

Exodus 24.08 nightly+AK.300 kernel+ StyloV11 Synapse Profile + Amplify (hunting down Alarms for the last 3 days, except Sync alarms).

Other change (I'm not sure is related yet) is moving my router's channel bandwidth to 20 MHz from 20/40 MHz and switching to a less crowded channel 11.
[Android General] clickjack:
Best stats ever!!

Damn Caps! You the man!!

The first test noted a 1% drain in 7 hours

The second (airplane) noted a 3% drain in 7 hours

The third (idle) test dropped to 5% in 9 hours 46 min

Those are the best stats I have had in a very very long time.

Psst: Is there anyway I can squeeze out a little more? :p :D

PS: I owe you a beer!!
[Android General] cosminnn:
Your stats look great too. 0,5%/h is not bad. Maybe new AK.303 kernel will help you squeeze more. You could use a Synapse profile.

Also if you feel adventurous enough try the new official COS 12.1-YOG4PAS1NO.

But most important you should keep up with the guide lines of this thread.
[Android General] clickjack:
No man. App installation and then registering each one is a big pain. Even with TB. Not shifting to CM 12.1 anytime soon. Besides, my current ROM is great. No issues whatsoever. Am using Kernel Adiutor for tweaks as Synapse gives a terrible headache at times. So I stay away from it.

Ps: Did I break any guidelines? Or which rule did I break?!
[Android General] deepu458:
Hi [MENTION=5401012]Celestial Fury[/MENTION], thx for this great article. After enabling these settings on my OPO 5.1.1 ROM, My battery backup got improved.

But just couple of small issues,

1)say once or twice im getting the Google PLay Services force closer error. I dont know whats going wrong, so do you know what could be the related setting that causes the GPS FC. I just followed this OP and other than that i had no more extra Amplify settings.

2)The second one was a question in regards to the Location Alarms & Wakelock settings u mentioned in teh OP. So if i enable those settings do the location service break? as i want to have Location service On i need that. So do u sugest me to go with the settings or just forget about those location settings?
[Android General] Celestial Fury:
Always a joy seeing [0.0%/h]. :good:

:good: Wakelocks & alarms are already low. Check near the end of Post #3 (now updated) on what screenshots are needed.

[MENTION=6409421]deepu458[/MENTION]

First, can you edit your Post #1274 and remove your quote of the post? It's too long.
[Android General] :
Hey guys,

When I block the OP mentioned wakelocks and alarms, my automatic call recorder is getting screwed up. It starts skipping audio and records only every 10min or so. I have double checked this with Amplify disabled and found that the automatic call recorder worked fine then. I have used multiple call recorders and found the result to be the same. Is there a certain wakelock or alarm from the OP that I shouldn't disable in order to get the functionality of my call recorder back?

BTW, my idle drain has reduced to 1% for every 6 hours by using blocking these nasty things.

Thank you :)
[Android General] jhuff83:
Is it pretty much safe to say anything with the word analytics and Facebook are safe to deny within services? There is one in mine that says com.facebook.katana/com.facebook.analytics2.logger.lollipopuloadservice Will I have a problem limiting this?
[Android General] axxel6307:
Thank you Celestial. It's good to see op still supporting his thread also. I want to try this. Is it ok to begin this per your instructions on page 1 without reading all 128 pages of the thread?

Is post #3, the battery baselines, only for troubleshooting a device with "abnormal battery % and shutdown"? Can I follow posts 1 and 2, and then just run my usual overnight bbs?

Thanks!
[Android General] axxel6307:
I've attached my BBS from my last run. I'm wondering how much of this is kernel wakes, since you said that nothing can be done about those. What you think of my stats, before proceeding with anything else?
[Android General] Celestial Fury:
Reset stats in Amplify.

Make a call and use the automatic call recorder.

Open Amplify and see what are the wakelocks/alarms/services triggered.

As far as I can tell, all analytics can be limited/denied but as always make sure you have a backup waiting in recovery.

Yes, you could just start limiting but the better way is to do it slowly and only limit what is shown as draining for your phone (while referring to Post #2). I'll move the abnormal battery link to the bottom so it won't confuse.

These are in Post #2

Alarms: 11, Intent: com.google.android.intent.action.MCS_HEARTBEAT

Alarms: 9, Intent: com.google.android.gms/.checkin.EventLogService$Receiver

Alarms: 5, Intent: com.google.android.gms.gcm.ACTION_CHECK_QUEUE

Alarms: 4, Intent: com.google.android.intent.action.SEND_IDLE

Alarms: 16, Intent: android.appwidget.action.APPWIDGET_UPDATE

Alarms: 4, Intent: android.app.backup.intent.RUN

Alarms: 3, Intent: android.content.syncmanager.SYNC_ALARM

Alarms: 5, Intent: com.android.providers.calendar.intent.CalendarProvider2

Not in the guide but active

Alarms: 6, Intent: com.android.exchange/.MailboxAlarmReceiver

Alarms: 9, Intent: com.android.exchange/.EmailSyncAlarmReceiver

Once Alarms & Wakelocks are low, see the end of Post #3 on what other screenshots to attach.

EDIT:
[MENTION=6409421]deepu458[/MENTION]

Google Play Services FC - do you have AppOps or Servicely or Greenify or etc. affecting it?

Location Services - Google Now will not be able to get your 'parking location'. Other than that, GPS apps and Maps will work fine when you use them.
[Android General] axxel6307:
Thks. Before i begin, is there anything wrong with finding those alarms and services myself and shutting them off? I have that system tuner pro app and iv actually used it to turn off gtalk services. Wondering if i can do the same for these alarms i have?
[Android General] axxel6307:
I'm new to xposed and amplify. Which xposed version are you using? There is the 2.7 experimental that says high bug. I have a gs5 g900t 5.1.1 if that makes a difference. Which one should I get?

Is there anything special about amplify or is it pretty easy to figure out?
[Android General] Celestial Fury:
Services can be shut off but alarms & wakelocks can't. With System Tuner any changes won't be undone if you uninstall the app if I'm not mistaken but Amplify is an Xposed module so any changes will be reverted once uninstalled or disactivated in Xposed.

If you have Lolipop and you're talking about 2.7 Experimental that means you haven't installed Xposed because 2.7 Xperimental and below is only available for Kitkat and below. Xposed for Lolipop needs to be installed from recovery.

There are also several variants of Xposed.

See the Dangerous and Not Recommended sections in Post #2 to see what can go wrong when you start limiting and denying stuff.
[Android General] jhuff83:
[MENTION=5401012]Celestial Fury[/MENTION], getting a lot of google play services force closes. I don't have the ads.jam disabled either. Any clue?
[Android General] Portgas D. Ace:
[MENTION=5401012]Celestial Fury[/MENTION]: are you aware of this issue? I was suffering from my mobile radio being kept awaken all day and the Xposed module from the above linked XDA News thread seems to fix the issue, bringing back my <0.3% per hour battery drain I achieved on KitKat.
[Android General] Bluffer94:
Hey guys,

after applying all recommended adjustments in amplify, i am not able to use the android device manager properly.

It cant find/call/lock my phone neither right on my phone, nor on my PC.

Is this a drawback I got to live with or is it maybe just caused by one setting, that i can revert, even if it result in a slight more battery drain?

Thanks for all the hard work, with this exeption, everythings workin magnificent!

Every answer, advice or hint is highly appreciated.
[Android General] Portgas D. Ace:
I don't know which service/alarm is related to your issue, but I would suggest to disable Amplify, reboot and check whether the issue still persists. If yes, then it is clearly not related to Amplify. If the issue is solved after disabling Amplify, go ahead and unlimit/enable all the stuff you have done within Amplify and activate Amplify again. Reboot your device and start the whole procedure of limiting/disabling alarms/wakelocks/services one by one. After you have limited/disabled an item, check if the issue is present again. This will take some time but it is the only possible way to find the culprit by yourself.

It might be easier if you start to limit/disable all services for Whatsapp/Facebook and so on which are clearly not related to Google/Android System as those should not be the culprits in my opinion. Start with them and limit/disable them all and check if this 3rd party related stuff isn't causing the issue.
[Android General] Bluffer94:
Thank you sir for your quick response.

I already did the test with the deactivating, it is definitely a problem caused by amplify.

Your suggested way to solve this issue sounds like a massive amount of work and time. I might gonna go for it, when I'm able to step out of my lake of laziness.

Hopefully somebody else will show up by the time, who found already a solution or an easier way. ?

Gesendet von meinem A0001 mit Tapatalk
[Android General] Portgas D. Ace:
Well, another idea would be to start by unlimiting all alarms and check if the issue persists. If so, go ahead, unlimit all wakelocks and check again. afterwards try to enable all services if the issue still persists. This way you might first start to find the related category (wakelock - alarm - service) the culprit is related to. Then limit/disable the categories which seem not to be related to the issue and start checking each item from the suspicious category. This way you can save yourself a huge amount of time by going through all items one by one.
[Android General] axxel6307:
Ok. You are right, I haven't installed it yet. Is there a reason why you referring me to post #2? Is my phone more difficult to work with or something?

---------- Post added at 03:46 PM ---------- Previous post was at 02:53 PM ----------

Well according to that link xposed isn't available for 5.1.1 touchwhiz. Unless I'm wrong, I guess I cannot attempt to stop these alarms with xposed/amplify. I'm sorry for so many posts, but I find the xposed information really vague. There isn't one single, one stop place to determine if xposed is available for your device and also a guide on how to install it. Frustrating.
[Android General] :
[MENTION=5401012]Celestial Fury[/MENTION]

I found out the wake lock causing the issue with auto call record.

It is "audio in". Although the amplify description of it only says that it is used in identification of Google hotword something. By disabling this particular wake lock, I was able to auto record calls without any issues.

Thank you guys :)

2+2 = Omeleto Frumage
[Android General] Celestial Fury:
[MENTION=2657618]jhuff83[/MENTION]

Post #3 last line in red.

[MENTION=5901790]orville87[/MENTION]

I saw it. Do you still have a dump with that mobile radio bug?

[MENTION=6851482]axxel6307[/MENTION]

See the Dangerous and Not Recommended sections in Post #2 to see what can go wrong when you start limiting and denying stuff. This sentence isn't self-explanatory?

The Xposed link and pic I gave you IS the one stop place to determine if xposed is available for your device and also a guide on how to install it which you have apparently used to determine that Xposed isn't available for 5.1.1 Touchwhiz.

[MENTION=5152565]Bluffer94[/MENTION] [MENTION=5451494]ninjanmizuki[/MENTION]

Post #3 How to find problems with limited alarms/wakelocks
[Android General] b0neyard:
Having trouble getting rid of "checkin handoff" and "event log handoff" wakelocks. Don't see any way of limiting them. Any ideas?
[Android General] Celestial Fury:
Do you have AppOps or Servicely or Greenify or etc. managing Play Services?

Those are partial wakelocks. So, just limit them.
[Android General] jhuff83:
I have appops now. I disabled keep awake with that one. I just started from scratch and so far no Google services closed. Hope it stays that way.
[Android General] Celestial Fury:
Post #2

ALARM_WAKEUP(#####) - Google Play Services will just create another (number) Fix here.

See the link for Fix here. It explains.
[Android General] MrBrady:
I get quite a few Google Play Services FC during the day as well. Not using AppOps or Greenify for Play Services.

I've noticed it tends to happen when I stop moving and wake the device for the first time. For example when I get to work in the morning.
[Android General] Portgas D. Ace:
Sure. Here you go.

Note that this dump has been taken right after charger has been unplugged. Normally, when leaving my phone idle while battery is lower than 100%, it will show a drain of approximately 1% per hour (I always set a custom reference before going to bed to ensure a proper log result). Unfortunately, I do not have such a dump file available right now.

Another thing you may come across: the number of Tasker alarms is quite high, but even if I disable Tasker, the battery drain will be around 1% per hour. The top-consumer according to my in-built battery stats is Android OS, which tells me that this is related to the mabile radio bug due to the fact that my mobile radio is kept awaken all the time.

View attachment BetterBatteryStats-2015-08-26_052406691.txt
[Android General] jhuff83:
Ok, thanks. I now noticed that when I say "Ok Google" I get the play services has stopped. Happened twice.
[Android General] chape199:
Hey guys, i have problems with Android System, it has an alarm with the wifi and its running all time as well as a wakelock called *alarm*

Does anyone know why are running?

Enviado desde mi MX4 mediante Tapatalk
[Android General] b0neyard:
I would love to but unfortunately neither one is listed under wakelocks in Amplify. Searched for both. I have Greenify, but not using it to manage play services.
[Android General] lazer155:
Has anyone seen this alarm before:

com.google.android.googlequicksearchbox/com.google.android.velvet.VelvetBackgroundTaskslmpl$service

There is something similiar to it listed in the services that can be blocked area of the OP but this is an alarm. It's the google app which seems to automatically start itself on boot. It doesn't appear in the xposed module bootmanager though. It seems related to the quicksearch box/widget but I don't have that on my homescreen so I'm not sure why there is still an alarm related to it appearing. I also don't use google now or have the voice command 'ok google' enabled. I read it may be google now related.

I also don't seem to have any ALARM_WAKEUP(#####) from google play services. Does it just not happen on all devices?
[Android General] jhuff83:
Now all of a sudden it seems like Google smart lock is not working properly.
[Android General] b0neyard:
I figured it out...it was not Greenify or AppOps...it was DisableService! I had several services turned off that apparently made the wakelocks "invisible" to Amplify! Not only that my phone goes into "deep sleep" as it should instead being "awake" most of the time. You put my on the right track. Thanks [MENTION=5401012]Celestial Fury[/MENTION]
[Android General] Cooldato:
hello guys, i have a question :) Limiting all of those Alarms ( seeing list on 1st post by OP ), do they somehow affect notifications? like...do notifications get delayed? ( Email, FB, Sync, etc )
[Android General] sachin.soman:
My wakelocks have increased after following this guide , My idle battery drain was 1.6 now it's increased to 2.0. I have followed the guide exactly. Can anyone look into into my attached logs and let me know what's wrong here.

Thanks

Sachin
[Android General] b0neyard:
Does anyone know if it is safe to limit the "... /appwidget/update" alarm? Seems to be causing quite a bit of alarms.
[Android General] clickjack:
Alarms are totally fine as long as they don't cause battery drain. There has to be a call to action right, else how will anything work?!
[Android General] Celestial Fury:
If you're SURE you don't have an app interfering with Play Services then go into Play Services application setting and see if there's an option to clear cache. Otherwise, go into recovery and clear dalvik cache and/or cache.

*alarm* (Android-System): 1 h 39 m 36 s

Is this it? Even though you have No Data Connection (): 41 m 59 s meaning you HAD data connection for more than 5 hours? (Because your total ON time is Since 6 h 39 m 37 s)

Post #3 Test Idle Battery Drain No. 6 Last 3 sentences.

It should be a Google Now alarm not the OK Google alarm specifically. You can try limiting it and report. ALARM_WAKEUP(#####) depends on Play Services version. It occurs in KitKat as well as Lollipop. If you don't have it then it's best not to let it hear you say it...

Disable Amplify. If it still happens then it's not Amplify related. If it does happen then it MAY be something you limited.

Post #2. Look for the red cloud icon and its description.

Post #3 IF Alarms & Wakelocks are already low...

It's listed in Post #2.
[Android General] lazer155:
I'll try blocking that googlesearch alarm and report back. In post #3, you mention betterbatterystats history. Where is that in the app? There is the create log file option for the data it collects and the circular or bar graphs that it shows but I'm not sure where "history details" or "battery usage" (by battery usage, you don't just mean the value that it shows for the current battery percentage next to percent drain per hour, do you) are located.

My drain per hour varies is typically 0.3% but I think that is due to me not blocking any of the items in the OP with a cloud next to them. I wanted to keep getting push notifications from gmail on time. I've tried to block some of those wakelocks/alarms before and gmail does get delayed.

IF Alarms & Wakelocks are already low, then attach screenshots of:

Settings - Power management

Battery usage (to see app usage)

History details (to see mobile network signal and coverage and others)

BetterBatteryStats

Graphs (to see more detailed wakelock graph)

History (to check for skipping and abnormal drain)

WiFi Connection Manager

Spectrum (to check for ovelapping with other WiFi networks)
[Android General] Portgas D. Ace:
Well, it might be. The fact is that my WiFi tends to disconnect after several hours of stable connection, but doesn't turn itself off or reconnects itself automatically. This seems strange, should be related to my ROM as on my former KitKat ROM this problem never occured. I even re-flashed my KitKat ROm to check whether it is related to my WiFi itself, but the issue was gone.

Yesterday I have been on a job-related training in an area without mobile data connection, so I enabled airplane mode the entire day. Checking my phone in the evening, I was stunned to find a battery drain of 8%, or 1% per hour... so it seems I have to do another baseline test with airplane mode enabled.
[Android General] jhuff83:
[MENTION=5401012]Celestial Fury[/MENTION] do you know anything about the com.android.systemui.doze.notification_pulse alarm?
[Android General] :
I lost 1.7% per hour last night. It's kinda funny that I only lost .08 per hour on the Android 6.0 preview with no battery saving measure. Please help me look at the dump. I found nothing unusual.

Shamusent
[Android General] netinetinet:
I lost 2% per night (6-7 hours).. Thank you.. For this thread..
[Android General] Celestial Fury:
Post #3 updated for clarity.

Mobile radio fix is

not

a fix for Lolipop drain but

error

in mobile radio active reporting.

Save Battery w/ Ambient Display (Amplify)

I found nothing and it was . . . unusual.
[Android General] nachomagic:
Hi mates, *net_scheduler* is draining my battery. I see that is safe to limit it but I would like what is this use for.

Does anybody know it? Google result don't clarify anything.

Thanks in advance
[Android General] :
Lol. Sorry, I forgot to attached the text dump. Anyway.. I think, Greenify wakes my devices a lot. It fired 31 alarms in my 7-hour sleeping. I'm gonna observe it again for another night.

Shamusent
[Android General] decebal12345:
Hi nachomagic.

You can find something here: https://docs.google.com/spreadsheet...1K8_R3NBloP4Q1FgpIU/edit?pli=1#gid=2072742181
[Android General] nachomagic:
Thanks mate

By the way, do you know what TBA in the doc means?
[Android General] kopitalk:
TBA = To Be Advised
[Android General] jhuff83:
To be announced.
[Android General] nachomagic:
Thanks mates

I'm checking the wakelogs and I have two very success, checking handoff and bluedroid_timer.

I haven't find any info, just people asking.

Does anybody know what are these wakelocks?

Thanks in advance
[Android General] autokiller677:
Great Work!
[Android General] Rated R:
How can i add a system app as google play services to hit list in servicely?
[Android General] carmalius:
I started receiving Google Play Services force close at random times, especially around a moment when I'm opening Google Maps or Google Play, sometimes it appears by its own.

I'm not using Servicely, just limiting Alarms and Wakelocks according to the first post.

After receiving forceclose, a new alarm is created: ALARM_WAKEUP%%% (I'm not limiting such alarms), as I can see at Amplify.

What can it be? How can I found the cause of the problem?
[Android General] Celestial Fury:
Checkin Handoff - partial wakelock. Part of Google Services. Search for Handoff. It should have a similar function.

bluedroid_timer - should be a 3rd party app. Click on it in Amplify and it'll show you the app name.

Are you saying you don't know how to use the basic function of Servicely?

Post #3

How to find problems with limited alarms/wakelocks

No. 4
[Android General] Rated R:
Lol, no. I can only block apps installed on data partititon or disable individual services for apps installed in both partitions.
[Android General] nachomagic:
Bluedroid_timer is realted to a packname called UID, seem a system app, isn't it?

Regarding to partial wakelock, should be them limited even if you don't know what is this used for? I mean, it could be make unstable the system or something like that, isn'it?

I'm not asking in the case of handoff (ios sharing app) I'm asking in general, when you don't knownothing about the wakelock.

Thanks mate and sorry for my questions