yashsingh1/xdaforums huggingface dataset:
[Android General] closee91:
That's what I thought. I limited it to only 240 so we'll see if it messes with anything. If I notice I'll just un limit it :D

-Sent from my LG D851 running Candy5

If I helped out, hit thanks! :D
[Android General] Looki75:
[MENTION=5867207]vaisakh7[/MENTION] and [MENTION=5268098]closee91[/MENTION]

FYI I limited it to 12h and no issue I could notice at all...
[Android General] sdr4511:
I try again...

https://www.dropbox.com/s/8sl1hu0iikvtjva/BetterBatteryStats-2015-06-28_100630719.txt?dl=0
[Android General] v7:
[MENTION=4165110]sdr4511[/MENTION] Read the FAQ in post #5 before posting dumps.

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=2468642]Looki75[/MENTION] Added to OP :)

Tapped from my furious dogo ;)
[Android General] jsmcmahon89:
[MENTION=5867207]vaisakh7[/MENTION] can you take a look at what caused this massive battery drain last night.
[Android General] v7:
[MENTION=4179457]jsmcmahon89[/MENTION] Where's the dump?:confused:

Tapped from my furious dogo ;)
[Android General] jsmcmahon89:
Sorry about that!
[Android General] damiann69:
Hi. What do you think about Deep Sleep Battery Saver?
[Android General] v7:
[MENTION=4179457]jsmcmahon89[/MENTION] The drain is from ItsOn.Can you set a custom ref now in BBS and see if the app keeps the phone awake?

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=4252919]damiann69[/MENTION] Shouldn't be needed along with the Setup in the OP.

Edit:I haven't tried the app myself!

Tapped from my furious dogo ;)
[Android General] closee91:
Can you limit com.android.google.gms.analytics.analytics_dispatch I know its not in the guide. Jw, thanks!

-Sent from my LG D851 running Candy5

If I helped out, hit thanks! :D
[Android General] v7:
[MENTION=5268098]closee91[/MENTION] AnalyticsService of GooglePlayServices is already disabled in MyAndroidTools.

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=4250471]RohinZaraki[/MENTION] Glad to know mate :)

Tapped from my furious dogo ;)
[Android General] closee91:
What does the "icing.indexworkerservice" service do? , can I disable it?
[Android General] v7:
[MENTION=5268098]closee91[/MENTION] That needn't be blocked as we already have Icing limited.

Tapped from my furious dogo ;)
[Android General] closee91:
What does that *icing* do? Just curious
[Android General] singh54:
Check this out and Thanks for the wonderful work...

First of all thanks for this wonderful work dude...

Just followed your guide and everything seems good.... My phone almost lasts a full day with data on and continuous use of battery draining apps like FB, whatsapp etc....

Although the battery is great... but everynight during the deepsleep or idle period my battery losts 7 to 8%... Is it normal or not, i dont know...

Any way i had attached my battery stats here.... (took this dump as per your instruction)

Take a look on this and tell..... :cowboy::cowboy::cowboy::cowboy:
[Android General] topbasework:
Thanks for yr rply..will do
[Android General] lepa71:
[MENTION=5867207]vaisakh7[/MENTION]

Could you look at my BBS dump? Thanks
[Android General] v7:
Post an idle dump.You've used the phone for one hour.Leave your phone for few hours after charging it and post the dump here.
[Android General] brooker88:
After applying something to amplify my google play no longer works. Any idea how to fix it without resetting amplify?
[Android General] rajone9:
after setting my phone like suggested in this thread, volume buttons to skip tracks with screen off not working. any solution?
[Android General] v7:
You might have limited a wrong wakelock/alarm.Can you re enable all the wakelocks/alarm other than the ones included in this thread?

Test and report :)

Tapped from my furious dogo ;)
[Android General] v7:
Do you use GravityBox or any other apps to enable the skip function?

If so,try to add that app to the Power Nap whitelist :thumbup:

EDIT:Tried just now with GravityBox without adding it to whitelist.Skipping tracks works perfectly.

Tapped from my furious dogo ;)
[Android General] zxyzgt:
I respect your efforts, it is excellent. However, I do have several questions:

1. AFAIK, both Amplify and Powernap control wakelocks, Alarm and services. Which one do you think is better? Since they do the same work, Do you think one of them is redundant? I know Amplify allows wakelocks/alarms based on a schedule using a blacklist, while Power Nap stops the wakelock/service/alarm from waking up the phone at all and uses a whitelist. What would happen if Amplify allows a wakelock (say android.content. syncmanager. SYNC_ALARM, Allowed every 7200 seconds) running according to the schedule, and Power Nap tries to block it since it is not in the whitelist? I had a test, and found power nap has higher priority than amplify. So what is the point for all the settings in Amplify blacklist?

2. The reason why greenify is used is because "you need to get push notifications". But you could get push notifications as long as you put the apps in powernap whitelist (and you did that in powernap part). So why would we use greenify if it is not used globally but for only push notification purpose?

3. Greenify is very aggressive and causes lots wakelocks and alarms. I thinks that is why you put com.oasisfeng.greenify.CLEAN_NOW in Amplify blacklist. However, Greenify wont work automatically after screen-off. So how can we solve the conflict if we still want to keep greenify in the list?

thanks.
[Android General] v7:
1.I've been experimenting on the Amplify-Power Nap Combo for the last couple of days and found something interesting.I'll be updating the OP soon.That'll answer your question :)

2.Greenify and Power Nap are totally different stuff.It is true that Greenify hibernates the apps while screen off but I believe that it can hibernate the apps while using the phone as well(Screen ON).So that definitely makes a difference.It hibernates the unused apps while using the phone,thus blocks the apps from consuming battery in background.PUSH Notifications is not the only factor why we use Greenify.I think this explains your question.

3.Your assumption is wrong.Greenify does work while screen off.The service you mentioned is the one that runs in background and performs the auto-hibernation while screen is off.Limiting the wakelocks to 7200 seconds makes the service run every 7200 seconds.It prevents Greenify checking the background apps and hibernating it every now and then,ensuring that the alarm doesn't wakeup the device frequently.

Tapped from my furious dogo ;)
[Android General] lepa71:
Phone has been idling all day pretty much.
[Android General] zxyzgt:
Thanks for your reply.

1. For Amplify-Power Nap Combo, looking forward to the interesting update.

2. It is said in your OP: "Greenify only the apps you need to get push notifications". So following your guide, those without push notifications wouldn't be hibernated by greenify but should be blocked by Amplify/powernap. Since Amplify/powernap stops apps (no need for push notifications) from waking up the phone at all, they definitely should work for every apps, then why would we need greenify in the combo? If PUSH Notifications is not the only factor for Greenify, why don't we put every apps hibernated?

3. For greenify, I know how it works and I keep using it for a long time until Amplify/powernap came out. Greenify and Task killer kill the apps, but Greenify also disable the receiver in the greenified apps. This way the apps won't be able to start again stealthily. I am not saying greenify is not good. Actually it works perfectly, at the cost that you need relaunch greenified apps every time at the beginning. Don't know how much juice it wastes. And I think that is the android design what it is: start apps from where you leave to save battery. Lots apps in the background wouldn't consume battery unless they abuse wakelock/service/alarms (BBS even doesn't report them). Greenify kills the process and checks their activity every minutes, which induces lots of alarms (you can tell from BBS). If Amplify greenify's service, it is much better. But it won't grenify the selected apps (at least not 5 min at default).

BTW, the amplify blacklist setting in @Celestial Fury's post is already updated. Please update this one, if amplify is still kept in the comb :p
[Android General] v7:
1. Thread update on the way :)

2.Thanks for reminding me about the quote.I accept my mistake in quoting "Greenify only the apps that need PUSH to work".(I've been using Servicely to block the other apps).I updated the guide replacing Power Nap with Servicely but forgot to edit the quote.Will do right now.:thumbup:

3.First of all Greenify is not a task killer.It hibernates the app.Explaining the term "Hibernation"might need an individual post.So you can find the excellent explanation from [MENTION=5141926]lioux[/MENTION] HERE.

Tapped from my furious dogo ;)
[Android General] milojoseph:
I need people to post battery ? pictures other than Mr 7. Mine drain fast and too lazy and forget to take logs...

Sent from my SM-G900T powered by Alliance Rom and ktoonsez kernel
[Android General] v7:
Can you make it clear?

If you need me to look into your issue,atleast post a BBS dump or sOme screenshots in BBS.

Tapped from my furious dogo ;)
[Android General] rajone9:
I've found the solution!! I put my music app between power nap exclusions. logical and easy :laugh:
[Android General] Diaze:
is there any chance to get sms delay notification? i want to try this guide but i dont want to get delay on sms...i dont care about fb or fb messenger..just the sms app.. i want to get the notifications on time

can you guys tell me please?
[Android General] v7:
No issues with SMS app.You'll get notified as soon as the message arrives :)

Tapped from my furious dogo ;)
[Android General] v7:
Limit com.android.gms.lockbox to 43000 seconds.

Lockbox is much like an anti-theft feature.It access location and telephony.There shouldn't be any issues in limiting the alarm.

Another wakeup is from Exchange Services.I assume you have auto-sync for Email.Try limiting android.content. Syncmanager.SYNC_ALARM to 42300 seconds.If it is mandatory for you to auto-sync Email,keep it else try manual sync.

wlan_rx wakelock is related to the kernel and hardware.There's nothing much to do from my side.

Try and Report :)

Tapped from my furious dogo ;)
[Android General] jhuff83:
Lockbox is not affiliated with the Smart Lock feature is it?
[Android General] v7:
No,it monitors account changes and acts like a anti-theft feature.

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=5268098]closee91[/MENTION] Icing is a GooglePlayServices Wakelock and is reported to be safe for limiting.

No detailed information about the Wakelock is available.

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=5321282]singh54[/MENTION] How old is your cell?

From the Stats,everything seems fine.FYI there's no need to run DS Battery Saver together with my setup.That is just overkill.

Tapped from my furious dogo ;)
[Android General] Looki75:
I would say more: DS battery saver saves battery by limiting the phone functions (phone is disconnected from the network and connects time to time).

While this guide doesn't limit the phone functions.

So the choice is pretty quickly made...
[Android General] v7:
[MENTION=2468642]Looki75[/MENTION] Did you check his dump?He already have Intelli3G running on his device.I don't see a point in running both of them.

Tapped from my furious dogo ;)
[Android General] Looki75:
Completely right! [emoji106]
[Android General] singh54:
1 and half years old....

So, I don't have to use both the intelli 3g and ds saver together....right?

But have a doubt?

Intelli 3g doesn't disable the data or WiFi...it only switches the 2g/3g and power saving/fast modes only...

But ds saver disable/enable the data when the screen is off/on... That's why I'm using the it...

Whats the main use of intelli 3g??

Sent 4m My S4 Mini Duos with S5 "S.T.E" Rom by "Ploiki"
[Android General] v7:
[MENTION=5321282]singh54[/MENTION] If you're trying to use both the apps to save battery,it is overkilling.

You can use either Intelli3G or DS Battery Saver.

DS Battery Saver should be more effective as it turns off data rather than switching it.With the Setup in the OP,you should get best out of your phone.

Since your battery is old,I believe this is the best idle drain you can get from this setup.

Tapped from my furious dogo ;)
[Android General] marbertshere:
Can you recommend a good kernel setting for battery life? I have my governor set to Smartmax and my IO Scheduler set to FIOPS right now.
[Android General] v7:
[MENTION=5736922]marbertshere[/MENTION] What Kernel do you have?

What all Governors and Schedulers are available to you?

Is UV available?

Get me a link to your Kernel.
[Android General] fazi78:
Hi.

I did so many things from this tread and now my google play store wouldn't start.

Can you tell me what is responsible for Play Store?
[Android General] v7:
[MENTION=2499750]fazi78[/MENTION] What exactly is the error?

Does it crash?

Tapped from my furious dogo ;)
[Android General] fazi78:
No crash just can't connect and sometimes "Server error".

I cleared cashe and switched off Amplify, Power Nap, Intelli3G and BootManager.

Now I can log in but Server error comes on the start and then I can go.

hmmmm

weird :)
[Android General] v7:
[MENTION=2499750]fazi78[/MENTION] Nothing to do with the guide I believe.Can you try a different GAPPS package?

Tapped from my furious dogo ;)
[Android General] fazi78:
Will you please recommend any gapps for nightly cm12.1 for note4?

And another weird thing is red frame around some apps but not related to developer options.

I think I will do reinstall .
[Android General] v7:
[MENTION=2499750]fazi78[/MENTION] Delta GAPPS

Tapped from my furious dogo ;)
[Android General] fazi78:
yeah I have them exactly and they were worked perfectly before :)

I think I messed up something else as I can't log in to google plus app and some problems with fit app. this should be something with phone setup maybe?

and when I go to Hangouts I have unknown issue with google play service :(
[Android General] v7:
[MENTION=2499750]fazi78[/MENTION] Edit:Whitelist GooglePlayServices and GoogleServicesFramework in Power Nap and see if it works.

Tapped from my furious dogo ;)
[Android General] yaymalaga:
[MENTION=5867207]vaisakh7[/MENTION] I don't really understand how to check what causes battery drain in betterbatterystats. Can I give you the log of the app to take a look?
[Android General] v7:
[MENTION=4423994]yaymalaga[/MENTION] Read the FAQ in post #5 and post the dump.

Tapped from my furious dogo ;)
[Android General] yaymalaga:
Okey will do, thanks
[Android General] v7:
OP Updated(29-06-2015)

Removed MyAndroidTools(Service Blocking will be handled by Amplify)

Removed AdAway(To keep the thread clearly On-Topic)

Apps Auto-Start will be handled by AppOpsXposed

FAQ Updated.
[Android General] Looki75:
Thanks

I would suggest to use [MENTION=4501300]defim[/MENTION] 's module "Boot Manager" to handle the Auto Start.

Also another module from the same dev is very handy: “Stop Receiver” to prevent apps to start on particular events.

+ lightning wall to control internet access individually for each app - could be useful to save battery as well...

[MENTION=4501300]defim[/MENTION] has a whole collection of very very very handy modules. A bit off-topic here to talk about his other modules but I love them all!

What I like with XPosed modules is that in one click+reboot you disable the module and you are quickly back to a fully stock behavior of your ROM…

>>>So good move with switching from MyAndroidTools to Amplify on the services stuff!

Cheers!
[Android General] v7:
[MENTION=2468642]Looki75[/MENTION] I've used BootManager and ReceiverStop during my old days when AppOpsXposed wasn't known to me.

BootManager functions can be handled by AppOpsXposed.I'll do a bit more research on Receivers and will think about adding it to the OP.

Thanks for the reminding me about those modules :)

Tapped from my furious dogo ;)
[Android General] ovizii:
I thought myandroid tools handled the receiver part too? But I see is been removed from the guide and I might be wrong about it...
[Android General] white_3n:
Thank you for your guide. It's kinda good to me. I bought a poor battery from a jerk in my country so it's always worse than the original one. Now the battery life is more better than before. (^-^")

---------- Post added at 01:39 PM ---------- Previous post was at 01:35 PM ----------

Sorry I'm just new here so may I ask? This is the latest guide so I should follow this one? Because I already installed almost all apps in the page 1. [emoji16] If their function can be replace to each other I better uninstall some app huh?
[Android General] Portgas D. Ace:
Leave your setup as it is. I personally recommend MyAndroidTools, as it is capable of doing much more than just disabling services/receiver, but in the end it is up to you how you disable services/receiver, either by using Amplify or by using MyAndroidTools.
[Android General] closee91:
Are any wakelocks/alarms in amplify capable of turning off data by themselves? (When screen is off) Has anyone had this problem?
[Android General] v7:
Yes.MyAndroidTools blocked the BOOT_RECEIVERS that are now handled by AppOpsXposed.

I'm planning to block Receivers of GooglePlayServices.Let me do some more research on the receivers part.If I find it effective,I'll definitely update the OP.

Tapped from my furious dogo ;)
[Android General] v7:
No.Maybe the ones you limited later is causing the issue.

Tapped from my furious dogo ;)
[Android General] closee91:
I'm dumb. I had dialer app ticked in servicely, that was doing it :p
[Android General] nithin1992:
Using Moto X 2014 with Android 5.1, so don't have AppOps, haven't installed xposed as well as there isn't a perfect release yet for 5.1. Using Greenify and MyAndroidTools as of now. Getting pretty terrible standby though, could someone kindly check and suggest what I need to do? Have attached text dump from BBS
[Android General] v7:
[MENTION=4647411]nithin1992[/MENTION] Plenty of alarms from Location Services.Keep the Location to "Device Only" or turn it off when you don't use it.

Nothing much can be done without Xposed.Read FAQ in post #5 and post me an idle dump later.

Tapped from my furious dogo ;)
[Android General] J4M1L_4HMED:
Can you take a look at this dump. My Idle drain seems high.
[Android General] samuelaviv:
Hey,

There's this new Xposed module Smart network - http://xdaforums.com/xposed/modules/mod-t2908637

which seems Great, I was wondering though if you see any place/use for it in your battery saving setup/guide?

Thanks.
[Android General] v7:
[MENTION=5443472]J4M1L_4HMED[/MENTION] The idle drain is not good,athough you've used the device for a afew minutes.

Post me a dump for atleast 3 hours in Aeroplane Mode.I suspect a signal issue.

Tapped from my furious dogo ;)
[Android General] herrincd:
First of all to OP thank you very much for this guide. I used to have a hard time making it through the day without recharging my phone. Now I have no issues whatsoever getting a full day of use from my battery. That being said, I took a log as per your instructions and I was curious if there was anything that I could do to further improve my battery life. (without breaking google play or location services)
[Android General] v7:
[MENTION=6751754]herrincd[/MENTION] Limit android.appwidget.action.APPWIDGET_UPDATE to 7200 seconds.(this will cause delay in widget update)

Tapped from my furious dogo ;)
[Android General] nithin1992:
Thanks, I've set it to device only. Installed xposed and configured appopsxposed accordingly. Have only the free version of amplify so only changed nlpwakelock parameters in amplify. Rest is the same, here's the idle battery drain dump. Take a look and let me know please.
[Android General] Portgas D. Ace:
Limit android.content.syncmanager.SYNC_ALARM, com.google.android.gms/.checkin.EventLogService$Receiver and android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED as stated in the OP. Without paid version of Amplify there is no further improvement possible.
[Android General] v7:
[MENTION=4647411]nithin1992[/MENTION] Free Version of Amplify won't make much difference in your battery life.

Tapped from my furious dogo ;)
[Android General] sdr4511:
This is my last chance... ??

https://www.dropbox.com/s/343s0n2u8jmgn4b/BetterBatteryStats-2015-07-01_080131771.txt?dl=0
[Android General] v7:
[MENTION=4165110]sdr4511[/MENTION] 0.5%/hr is not bad.The wakelocks stats are not proper though.From the dump,there's nothing to tweak.

Tapped from my furious dogo ;)
[Android General] v7:
I'm looking into it.

Thank You :)

Tapped from my furious dogo ;)
[Android General] ovizii:
Can you say something about this?

- I am limiting the Event Log Handoff and opening Amplify => Wakelocks => Event Log Handoff => wakelock time allowed 8 minutes, wakelocktime blocked 7 minutes wakelocks acquired 394 wakelocks blocked 6 - so not sure how BBS arrives at the stats I just posted

- I don't use the ProximitySensor at all, any way to completely disable them?
[Android General] Portgas D. Ace:
There is an Xposed module available for that, it is called Disable Proximity.
[Android General] v7:
[MENTION=3634831]ovizii[/MENTION] Can you post me the entire dump?

Disabling proximity might cause issues.You would make touches on the screen with the face while in call.

The screen will be ON during calls which will have negative impact on the battery life.

Tapped from my furious dogo ;)
[Android General] ovizii:
Ah, I see, I meant I have disabled all "smart functionality" on my xperia z3c that relates to proximity, I didn't think about the built-in one i.e. when calling turning off screen etc.

Attached the full dump.
[Android General] GjorgiDxc:
Can ypu check the dump file, and tell me what should i block further?
[Android General] Portgas D. Ace:
This dump file is quite useless, as you have charged your phone during your "idle" period according to the stats.
[Android General] v7:
Read FAQ in post #5 about posting dumps.

Tapped from my furious dogo ;)
[Android General] ovizii:
I know that but all I was asking was why times differ between BBS and Amplify regarding the event log handoff wakelock. You then asked for the complete dump, and there you have it. I never said it's a complete idle dump.

If I give you an idle dump you won't see it, it only seems to happen randomly.

I just got a warning from BBS that my phone was 100% awake during screen off and listed that same wakelock add the culprit. Screen off time was about 30 minutes

What now?
[Android General] GjorgiDxc:
i thought that would be a problem, nvm i'll post another one tomorrow
[Android General] venky716:
Was having the same issue yesterday, reset amplify and reboot.

Now I only have those amplified which have no side effects and the wakelock doesn't seem to keep the phone awake.
[Android General] v7:
Use MyAndroidTools and disable the following receivers.

Checkin.EventLogService$Receiver

CheckinService$TriggerReceiver

CheckinService$Receiver

CheckinService$SecretCodeReceiver

Tapped from my furious dogo ;)
[Android General] ram4ufriends:
Anything else I can modify?
[Android General] Portgas D. Ace:
You could try to limit com.whatsapp.alarm.CLIENT_PING_TIMEOUT and com.whatsapp.messaging.MessageService.CLIENT_PINGER_ACTION with Amplify and disable com.facebook.analytics.service.a.ACTION_ALARM with MyAndroidTools. If you use an alternative calendar app (no stock calendar) you could also limit com.android.providers.calendar.intent.CalendarProvider2.
[Android General] v7:
Are you running 3G?You're getting some msm_hsic_host kernel wakelocks.Can you try another Kernel?

Tapped from my furious dogo ;)
[Android General] closee91:
I just noticed. The geofencerstatemachine alarm isn't an alarm. Its a wake lock in amplify :) but its listed as alarm in guide
[Android General] ram4ufriends:
I have the wifi on all the time. Also any good kernel you know of for T-Mobile Note 4m
[Android General] vocalists:
can somebody check my phon'e stats pls. i lost 8% with the battery full charged. thanks