yashsingh1/xdaforums huggingface dataset:
[Android General] truelove_shinn:
After comparison, the wakelocks and alarms I limited and which are also listed in your guide are as follows:

4 Wakelocks

*net_scheduler*

NlpWakelock

NlpCollectorWakeLock

ConnectivityService

8 Alarms

com.android.internal.telephony.data-stall

android.app.backup.intent.RUN

com.google.android.intent.action.SEND_IDLE

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

ALARM_WAKEUP_ACTIVITY_DETECTION

ALARM_WAKEUP_LOCATOR

ndroid.net.ConnectivityService.action.PKT_CNT_SAM PLE_INTERVAL_ELAPSED

com.google.android.gms.common.receiver.LOG_CORE_AN ALYTICS

That doesn't seem a lot in common between my long list and [MENTION=5401012]Celestial Fury[/MENTION] 's, though... making it difficult for me to figure out which one(s) lead(s) to "Google Play Services has stopped" random crashes... Does anyone have some idea, please?
[Android General] Celestial Fury:
[MENTION=5501322]truelove_shinn[/MENTION]

I see the problem. You've limited a WHOLE BUNCH OF STUFF that isn't in the guide. Stop limiting them.
[Android General] Dendis:
Which of these alarms can be reduced WITHOUT LOSING PUSH NOTIFICATIONS (instant) or i have to leave as it is - 1day 12hrs and 800alarms only from messenger ;))?
[Android General] NickosD:
Nevermind.

Sent from my bacon!!!!!
[Android General] jide1:
i've made a screenshot and a text dumpfile of BBS after 7 hrs , but i'm a newbie with less than 10 post and cannot add attachments (or maybe i just cant find it) the images are here dropbox.com/sh/po6qqr40w0f2nak/AAA61ybmhx6tUOJ5gAjEuRpXa?dl=0 and the BBS file dl.dropboxusercontent.com/u/22379517/BetterBatteryStats-2015-11-23_023643455.txt

please check them out and recommend what to do because i'm not sure the battery drain is normal .
[Android General] Crisialfa:
[MENTION=5401012]Celestial Fury[/MENTION] I did the battery test. How can I improve It?
[Android General] Celestial Fury:
Post #3

How to find problems with limited alarms/wakelocks

No. 1.

I can only highlight the draining wakelocks/alarms. What you do with them is up to you:

Alarms: 46, Intent: com.kavsdk.ACTION_ALARM_HEALTHCARE

Alarms: 29, Intent: com.facebook.rti.mqtt.keepalive.KeepaliveManager.ACTION_INEXACT_ALARM.MqttLite.com.facebook.katana

Alarms: 15, Intent: com.asus.alarm.ALARM_CONTROL

You've also used the phone for 6 m 22 s. Dumps should be gotten in less than a minute for better accuracy.

radio-interface (): 7 m 28 s Related?

Alarms: 23, Intent: com.google.android.intent.action.GCM_RECONNECT

Alarms: 42, Intent: com.google.android.intent.action.MCS_HEARTBEAT
[Android General] jide1:
Thank you, i uninstalled Kaspersky internet security which was firing the wakelock\alarm " Intent: com.kavsdk.ACTION_ALARM_HEALTHCARE" and limited the facebook alarm to 43200s , i did another test and here is the BBS text dumpfile :

https://dl.dropboxusercontent.com/u/22379517/BetterBatteryStats-2015-11-23_140228555.txt. I intend to install my antivirus app. again , but i'm not sure for how many seconds i shoud limit the alarm , also, is it safe to limit the wakelock\alarm "Intent: com.asus.alarm.ALARM_CONTROL" ? if safe ,for how many seconds should i limit it ? you advice is highly appreciated .

P.s I also have screenshots here www.dropbox.com/sh/mr2h1osi3n55aa0/AACUuwuEZPPkOP9a537t2PUHa?dl=0
[Android General] Crisialfa:
I have already installed the xposed module for fix this radio problem. So It didn't fix?

Is GCM_RECONNECT related to wifi connection? Because I use wifi every day.

What is MCS_HEARTBEAT?

Thanks
[Android General] truelove_shinn:
I'm sure you have a valid point. But after undoing the limits that weren't in your guide, I got all these wakelocks marked as "Safe to limit", and some of which reached hundreds of counts. What are they related to? Are they truely "safe to limit"?
[Android General] kdayyy:
Those are definitely safe to limit. Same exact wake locks are on my phone also

Sent from a Raider using Tapatalk
[Android General] kuti5344:
Hello guys,

I did press to reset button to reset device stats (on the home menu) but after that I lost my limited alarms and wakelocks. Now I cannot even see the full list that I was able to limit before. Half or maybe more of them are missing.

Any ideas?
[Android General] Celestial Fury:
Screenshots are not needed as the dump is better and complete. Only give screenshots for whatever the dump does not show. I can't tell you if they can be limited or for how long since I don't use it but I can tell you that I use 360 Security and it doesn't have any draining alarms/wakelocks.

Alarms: 15, Intent: com.asus.alarm.ALARM_CONTROL

I don't know what this app does so you have to see if you really need it. There are also some WiFi connection issues. When was the last time your WiFi router/modem was restarted?

GCM_RECONNECT & MCS_HEARTBEAT are related to getting push notifications and keeping your connection alive. Limiting them may cause delays. There is a cloud icon in the guide to indicate this. But as you can see, they tend to drain a lot.

Safe to limit doesn't mean you have to limit. Wakelocks & alarms are NEEDED for proper functioning. If you limit so many things don't be surprised when your phone doesn't work properly. Post #3

Test Idle Battery Drain

No. 6

That just clears the statistics and doesn't change anything you've limited or not. The alarms/wakelocks will only show when they trigger.
[Android General] kuti5344:
Well, I know what it does :D but apparently it caused something that is not supposedly happen.

After resetting the counter, I lost all the alarm and wakelock limits (on the side menu). Limited a bunch of alarms and wakelocks but now they are gone (did not reset the default BTW)

The second problem is half of the available alarms/wakelocks are gone. They are coming back 1 by 1 in time. After the reset there was nothing left to limit, now at least I have a few of them
[Android General] Celestial Fury:
Google Now - How to Refresh manually

So Google removed the swipe down to refresh - talk about crippling your own app.

Refresh manually by:

Left swipe

Send feedback (but

DON'T SEND

)

Back

(May be neccessary to) Do the steps TWICE.
[Android General] PePeMoke:
[MENTION=5401012]Celestial Fury[/MENTION]

seems pretty nice!

Is there a guide like this for cm based ROMs too?

I am on optimized cm12 by Antares and JDC Team.
[Android General] Celestial Fury:
Which is what is supposed to happen. They will show up one at a time WHEN they trigger (again).

CM is still android. Most of the alarms/wakelocks should be similar.
[Android General] PePeMoke:
[MENTION=5401012]Celestial Fury[/MENTION]

thanks for the tips! ;)

found some more wakelocks (which are even considered safe in amplify):

Icing 7200 secs

Wakeful StateMachine: GeofencerStateMachine 7200 secs

SyncLoopWakeLock 7200 secs

NfcService:mRoutingWakeLock 7200 secs

NetworkStats 720 secs....NO typo :)

StartingAlertService 720 (might affect calendar notifications too)

CdmaInboundSmsHandler (I am testing it at 740 secs)
[Android General] jide1:
I've limited the "Alarms: 15, Intent: com.asus.alarm.ALARM_CONTROL" thing for 43200s ,also i reinstalled Kaspersky and limited the related alarm "Intent: com.kavsdk.ACTION_ALARM_HEALTHCARE" also by 43200s , rebooted and everything seems Ok meanwhile ,as for the WiFi connection issue ,can you expanciate a little bit on that ? although i'd not rebooted my WiFi router for about a month ,so i did so now and i'm going to test again and see what happens , i'll post the dumpfile again if you don't mind .Thanks .
[Android General] PePeMoke:
Battery drain while screen off almost gone but..

[MENTION=5401012]Celestial Fury[/MENTION]

Left my phone laying around for some hours now and the drain is really low in idle.

But now I've used it again and the drain is immense!

What can I do about that?

Added: dumpfile from today

Note:In the dumpfile I can see "SELinux Policy: Permissive" ; do I need to change that?

And it says that BetterBatteryStats module is not enabled in Xposed.

But I see no option to enable it?..
[Android General] jide1:
[MENTION=5401012]Celestial Fury[/MENTION]

did another test ,although i mistakenly switched on the screen a little bit ealier, above 6 hrs (not sure if the results would have been different after 7hrs) ,what i noticed is that the alarms fired by "Android" is now less after i limited "Intent: com.asus.alarm.ALARM_CONTROL" but still under "Android" is this alarm called "Intent: android.net.wifi.DHCP_RENEW" i wonder what it is , maybe its got something to do with the WiFi issue you mentioned ealier ? some alarms\wakelocks were fired by Facebook and Kaspersky because i forgot to limit them ,but i've taken care of that now , anyway i attached the BBS dumpfile if you care to have look .
[Android General] Hawtpants:
Hi there friends! Is the wakelock "pkg_move_lock" safe to limit? It has gone wild and registers atm over 1500 wakelocks and 48 time allowed. Any thoughts? Google yeld no results XD
[Android General] startreksuite:
Hi everyone! I have recently rooted my phone, installed greenify, amplify, xposed installer framework, and purify. I am overwhelmed with amplify, because I am unsure exactly where to start. I noticed better battery stats was used, and was curious if there is a freeware app that would be comparable to test this out. I am using a Samsung Galaxy S III mini, and am curious if anyone has any settings that have worked for them, or at least lead me in the right direction. I did read celestial furys post, and settings, but don't see similar settings as his.

Thanks in advance.
[Android General] jide1:
I also have it with a huge amount of wakelocks ,in fact i think every Android device has it(unless its only on Asus devices) ,but no information anywhere about it , so one day i decided to limit it and after that my device went into endless reboots ,in my case i had a few seconds to remove limitations in Amplify before it went for another reboot (guess i was just lucky) but otherwise ,you'll need to disable xposed at boot ,so DO NOT limit !
[Android General] Celestial Fury:
'Safe' in Amplify just means that your phone won't crash or reboot by itself.

It was because of android.net.wifi.DHCP_RENEW that was draining.

Having a modem/router that hasn't been restarted in over a month might cause it to drain.

shell_algorithm - It's not that draining but I've never seen this. Your phone's encrypted, I suppose?

Alarms: 7, Intent: android.net.wifi.DHCP_RENEW Still occurs, so maybe network signal issue? How strong a WiFi signal is your phone getting? You might now want to see Post #3 IF Alarms & Wakelocks are already low.

[MENTION=6633801]PePeMoke[/MENTION]

As it's no longer an idle dump it can't be used for this purpose.

SELinux Policy: Permissive Security-wise it should not be set to Permissive but rather Enforcing.

BetterBatteryStats module is not enabled in Xposed Might be related to this Xposed module.

Greenify, Servicely, Powernap. The alarms/wakelocks/services in the guide should be general for Android. If you don't see anything similar then you must be using an IPhone.
[Android General] jide1:
I dont have any issue at all with the WiFi signal the phone recieves , its strong enough , recieves throughout the whole house and even outside my building, i wonder what that alarm does , maybe i should limit and see what happens ? (hope the phone does'nt go into reboots :D ), and NO, my phone is not encrypted .
[Android General] Hawtpants:
Have you guys successfully limited google's automatic sync wakelock? I limited a bunch that I didnt use, like fitness, plus and calendar. Do you guys think I will have problems?
[Android General] atrix4nag:
I have done everything said in OP, and today I did 'Establish Baseline (battery ONLY drain)' In 7 hours I lost 0%. Tomorrow I will test the 2nd base line.
[Android General] Hawtpants:
Still waiting for the good soul that will help me on the subject of pkg_move_lock having insane amounts of wakelocks...
[Android General] PePeMoke:
Thanks for the help first of all!

SELinux is now enforcing and bbs is enabled in xposed (what does it exactly mean/are there any new features I can use with xposed when it is enabled? Did not figure it out yet)

"As it's no longer an idle dump it can't be used for this purpose. "

What do you mean by that?

I'm experiencing much better battery life in Idle after blocking wakelocks/alarms but when I am

using my phone with screen on I've got bad drain (no gaming/cpu demanding ; just daily use).

Can I send you a logfile of bbs and you might take a look what could be improved?
[Android General] The_GMAN:
I limited pkg_move_lock to 800 secs and everythings fine, no bootloops. For starters you can set it to 480 and see what happens.
[Android General] jide1:
well , i dunno ! did it once ,device went for reboots , but most important - what does "pkg_move_lock" do ?
[Android General] Hawtpants:
Yeah, I have no idea what pkg_move_lock does so Im not willing to take the chance.. Right now it is displaying over 2k wakelocks lol but BetterBatteryStats doesn't show it at all.
[Android General] Celestial Fury:
No need to use a spanner to change your car radio station.

Android - Setting - Accounts - Google - Sync: Tick / Untick

Just remember that the guide is just a guide and you should be limiting according to what's actually draining on your phone in idle mode.

Attach an idle BBS dump first.

I might have misquoted another dump. These aren't the screenshots that I'm looking for. There should be four and in idle mode. BBS log cat is not asked for in the guide - it doesn't show drain.
[Android General] PePeMoke:
Ok. got it.

Will make another post in the end of the day with the requested screenshots. I appreciate your support!
[Android General] akv22:
Can someone help with my battery drainage?
[Android General] TNSMANI:
No, not with these screen shots. Read the OP and post the required screen shots and an idle dump.
[Android General] akv22:
I can't find where it tells me what to attach?
[Android General] atrix4nag:
This is my idle dump with airplane mode;), but due to a clean ROM install I haven't limited all the alarams and wake locks from OP. I will complete them today.

I lost 2% in 6.5 hrs. Can I take it as baseline or should I do one more?
[Android General] atrix4nag:
How to do that.. Like after seeing my idle dump, i should start limiting 2 hours, 12 hours and 24 hours, without breaking functionality i needed?

Also I am feeling that I am receiving whats app notifications delayed? is it because of some alarm i limited? or is it due to new doze feature?

I haven't limited these 2, which may cause notifications (as per OP)

-android.content.syncmanager.SYNC_ALARM

-com.google.android.intent.action.GCM_RECONNECT

can you suggest me steps how you came up with these guide, so that, I can change this guide as per my usage.

TIA.
[Android General] nitishp7890:
This setting won't affect performance of the device right??
[Android General] startreksuite:
[/QUOTE]

Greenify, Servicely, Powernap. The alarms/wakelocks/services in the guide should be general for Android. If you don't see anything similar then you must be using an IPhone.[/QUOTE]

well, since I am using an android phone, I guess I'm just thick headed, and not getting exactly how to adjust the setting of the alarms/wakelocks/services. I realize I have to pay for the pro version, which I am not opposed to. I just want to make sure it's completely set before I buy it. I did see some of the settings in my phone, but I have seen a few more, and not sure if I should adjust them. They are in the unknown section, so a little scary. I looked into the other apps you mentioned, servicely and powernap. Is this the correct version of powernap? There's a couple out there. Is it the version by leah foreman?

Also, would it be helpful if I posted some pictures of my wakelocks/alarms/services? Maybe the unknown w/a/s may be something someone recognizes.

Thanks again
[Android General] PePeMoke:
Here you go..

[MENTION=5401012]Celestial Fury[/MENTION]

Not quite sure about the history screenshot (s-dots vertical) because I use it in german and I did not found screenshots of "history" on google..

let me know if you need sth else!
[Android General] startreksuite:
Not that I have read all this, but I had all of the cm products, and I read somewhere they data mine and slow down your phone. I removed them from my family's phones and without rooting their devices are running faster with less drain.
[Android General] TNSMANI:
Post #3.

---------- Post added at 02:31 PM ---------- Previous post was at 02:12 PM ----------

[MENTION=6088300]startreksuite[/MENTION]

This is PowerNap: http://xdaforums.com/xposed/modules/mod-power-nap-xposed-sony-s-stamina-t3077520

Unless you buy Amplify, you can not set up the limits for most of the alarms/wakelocks.

It will be sufficient to limit the alarms/wakelocks and block the services that are recommended in the OP. That itself will improve your battery consumption tremendously. Any unknowns can be tackled after this, if possible. If not, you would have already achieved much better battery consumption.
[Android General] Wilmerin:
What is *overflow* (Servicios de Google): 4 h 54 m Count:151 99,0%?

Hello, please check the dump file.

Overflow is running 99% of the idle time.

Thanks
[Android General] Ph0z3:
[MENTION=5401012]Celestial Fury[/MENTION] Thank you for this post & your hard work!

.. I already had most of these in already from a post by @v7, but there were a few on here that were not listed on his post.

hopefully the new additions will help! I really wish i knew more about the alarms, because there are quite a few of them that very active!

also, i listed your thread over on xPosed @ Google+ CLICK HERE
[Android General] Afrina islam:
ariful123456789000@gmail.com
[Android General] Celestial Fury:
If you can't get [0.0%/h] in airplane mode than you sure can't get it in normal idle mode. That's the purpose of baseline.

BBS doesn't seem to get detailed alarms in MM.

com.facebook.katana (): Wakeups: 35 (5.4 / h)

FB draining in airplane mode when no connection is available. FB wins.

ch.bitspin.timely (): Wakeups: 14 (1.9 / h)?

Get a 3rd party alarm clock that doesn't drain if you must use one.

The guide is based on when something drains I limit it at 2H because from experience 1H still drains. If 2H doesn't cut it than I move on to 12H or 24H. The reason being I can live with a 2H delay and if I can't then it probably shouldn't be limited in the first place. 12H and 24H breaks it up to half a day and a day evenly so that covers everything for a day.

Whatever has the red cloud icon can delay push notifications as well as limiting the alarms/wakelocks of the app in question.
[Android General] Celestial Fury:
Performance is very general. So, a general answer is it depends.

Attach the idle BBS text dumpfile first as it's complete.
[Android General] Celestial Fury:
Well, the screenshots (everything actually) also need to be in idle mode as we want to find out what's draining in idle mode. If you've used the phone then there's no way to tell what's acting up when it shouldn't be. You got all of the screenshots except that the android battery usage had two different screenshots.
[Android General] Celestial Fury:
1 GHz (): 10 m 45 s

10106 (Wifi) (com.sonyericsson.dlna.Dispositivos): 12.0 MByte

Sony Xperia P - DLNA

You have your phone connected to some consumer device and it's probably causing the Overflow. At 12.0 MByte, this device isn't idle but active so you have a normal active drain for as long as you're connected to whatever it is.
[Android General] shantam3108:
Hi what's keeping my device when the screen is off.?
[Android General] Celestial Fury:
Post #3

If you need help

You've already used your phone.

Attach the dumpfile and not the screenshots.
[Android General] öneböy:
We'll play how it works.
[Android General] leAndroid91:
Celestial Fury, first of all thanks for this awesome tutorial!

I already was able to lower my battery drain to 0,5%/h.

Now i'm looking for additional optimizations and would appreciate some help.

Please find the attached BBS dump and screenshots of Amplify and battery.

Can you identify futher potential so safe battery drain?

I wasn't able to find anything specific for the wakelocks mentioned in safe to limit wakelocks.

Does someone know what those wakelocks are for?

And what about the *alarm* and *launch* wakelocks?

Thanks for your help!
[Android General] Celestial Fury:
No such thing as silly questions. I don't use FB push notifications so I don't know if limiting them stops push notifications - do they? One is Analytics and the other is VideoAds and by right they shouldn't affect push notifications. You can experiment - nothing is permanent. You can always stop limiting them. If they do then that's just sneaky on FB's part.
[Android General] aksaunders:
I had about 1% drain per hour but would love if it were lower. Here is the info you need of you wouldn't mind taking a look.
[Android General] Celestial Fury:
Not at all.

What's this ImapFolderPusher? It has multiple wakelocks with each taking several minutes and the minutes add up to keeping the phone awake for a long time. I'd say find another app to replace it if really needed.

Under alarms, you can limit GCM_RECONNECT. I still get push notifications instantly but your mileage may vary. Also, EventLogService$Receiver. This alarm fsck.k9.service.BootReceiver, K-9 Mail? Limit it (may affect push notifications) or find a less hyperactive email client. Stock gmail app works fine for me. Also, am.sunrise.android.calendar..action.REMINDER_SENTINEL, your Sunrise Calendar is hyperactive. Same solution. Also limit android.net.ConnectivityService.action.PKT_CNT_SAM PLE_INTERVAL_ELAPSED. Length of limit in Post #2. If it's not listed, I don't have it so you'll have to experiment.
[Android General] aukhan:
[MENTION=5401012]Celestial Fury[/MENTION]

I am coming back to this thread before I send my Note 4 for Service center to replace the mother board.

Now talking about the status I saw the 2nd post you require BBS screenshots

I've Just installed the ROM> Kernel

Now I need you assistance what is killing my battery during Idle Mode Connected to Wifi/4G and in 5Hours I see a drain of about 20% I just receive Whats app message.

Now If you could guide me on what Screenshots you would need I could produce them to you.

Awaiting for your response, I need my device to be in Deep Sleep.

I also noticed that my battery doprs suddenly from 10% to 8% without showing 9% i replaced an original battery to make sure its not a battery Issue.

Till date Only day I got 5H SOT on my device with 0% drain during Idle status.

Looking forward for your response.
[Android General] Celestial Fury:
[MENTION=5132493]aukhan[/MENTION]

I'll be glad to. The screenshots needed are in Post #3.
[Android General] aukhan:
[MENTION=5401012]Celestial Fury[/MENTION] I was hoping for a positive response and you did make my day, I am charging my device completely now and installing the Apps i would regularly use once done I shall send across these screenshots to you so you could look up and see what the issue is, I've tried all the possible ways and my knowledge , Just for the heads up My App usage shows always 70%> not quite sure why this happens.
[Android General] aksaunders:
Email is the issue

Thanks for the reply. I am pretty sure the ImaoFolderPusher has something to do with K9 email because it is the only email app on my phone. I had replaced the Gmail app with K9 because it had stopped working properly after the last update. I just updated Google Play Services and defrosted Gmail in TiBu. K9 is now frozen and so far, i haven't had problems with Gmail so I will check back in a couple days with new info.
[Android General] dawgdoc:
Look closely at WhatsApp. I've been setting bad reports about battery and background data usage since last update.
[Android General] dawgdoc:
My mistake, it was Snapchat, not WhatsApp, where people are reporting battery and data use issues.
[Android General] aukhan:
Please take a look at the screenshots.

https://www.dropbox.com/s/1jgaxqa8wj5uu87/BetterBatteryStats-2015-02-11_083452108.txt?dl=0

The above Link has the text file.