yashsingh1/xdaforums huggingface dataset:
[Android General] Celestial Fury:
[MENTION=6782998]HH6[/MENTION]

Sometimes if apps are have recently been opened and are not cleared, they tend to stay active for a while longer - usually messaging apps. And it's better not to limit messaging apps more than necessary as by design they need to have instant push notifications. If you don't clear, then just check if they show up during idle. If not then no need to clear.
[Android General] HH6:
Thanks for clearing that up for me Fury.
[Android General] HH6:
I've noted that that under global stats in Amplify there is way more blocked alarms compared to fired.

In my personal stats it's the other way around.. How come?

Also when it comes to the wakelocks my stats are "worse" compared to global stats, same for wakelocks time.

Any idea or explanation?

Much appreciated, and as always - cheers for keeping this thread alive!

o/
[Android General] Celestial Fury:
[MENTION=6782998]HH6[/MENTION]

It just means that people block more alarms than you do or they have blocked alarms that trigger more often than you do. As for wakelocks, they're acquired more than they're blocked just like yours because if alarms don't trigger then their corresponding wakelocks won't occur.
[Android General] Gianlu92:
This guide is great, I am trying my best to reach a resoneable idle battery drain! However, in my case, using AppOps and Servicely to get rid of those annoying Google Play Services wakelocks as in OP completely messed up all the other wakelocks. As an example, I had limited ALARM_WAKEUP_ACTIVITY_DETECTION and ALARM_WAKEUP_LOCATOR, but, as you can see, they woke up my phone many times during the night, causing a terrible drain. I have disabled AppOps and Servicely now, will test again tonight to see if it happens again.
[Android General] Celestial Fury:
[MENTION=6591570]Gianlu92[/MENTION]

That's funny. It didn't happen to me. Are you on stock ROM? KitKat? Lolipop? A BBS text dump would give more info. If location alarms were limited at 86400 secs there is no way they would trigger more than once a day. This would mean they weren't really limited in Amplify. How many times does it show as being blocked in Amplify? Did you add any other app to be killed my Servicely?
[Android General] Traxex_:
deleted
[Android General] pillopoulos:
Does anyone know what I might have done wrong and the application "tasks" (of Google I think it is) is FCing?...

Στάλθηκε από το 831C μου χρησιμοποιώντας Tapatalk
[Android General] Gianlu92:
I am on Optimized CyanogenMod 12.1 for Moto G 4G by beeeto, so Lollipop, not stock. Before Servicely everything was just fine; anyway, I added another app too to be killed by Servicely, that one wasn't showing among the wakelocks.

I kinda remember BBS used to say 0 blocked this morning, that is really weird. I'll try again tonight and I will let you know!
[Android General] TNSMANI:
In Amplify, did you click "Done" on your keyboard after entering the seconds for limiting the wakelocks/alarms?
[Android General] Gianlu92:
Of course I did, I checked multiple times closing and reopening Amplify to see if the values were still here, and they were.
[Android General] pensador:
Hi all,

I'm new to this thread ;).

I have the same problem. I've set al of your settings in amplify. First, i did this without the 'Location alarms". Because I thought they had to be untouched. My battery was better then before. It was like 0.7% an hour...fine...

Then I saw in bbs that a few items from the 'location alarms' were still waking up the phone....

So I set them to 86400 sec...Now I only had a few wakeups in an hour.....instead of 1,5 per minute...I thought great... But BBS gives me now -4% in an hour....

Strange right?

have to test more...maybe I can find out where the drain is coming from..

btw I'm on stock 4.4.2

anyway...thnx for your hard work!much appreciated!
[Android General] Gino Niccolai:
Hi everyone. I have an LG D625 (G2 Mini Tegra), thanks to this tutorial I improved greatly my battery consumption. I just have a question. Is safe to unbound RILJ and NvCPLService?
[Android General] Celestial Fury:
[MENTION=5687120]pillopoulos[/MENTION]

What apps have you used that might be relevant? Greenify? Servicely? Did you mess with receivers? Stopped any service?
[Android General] Celestial Fury:
[MENTION=1186844]pensador[/MENTION]

BBS sometimes shows negative % if the 'to' and 'from' is not correct. How that happens could be a few factors. Drain when using the phone isn't useful anyway as we all use it differently.
[Android General] Celestial Fury:
RILJ and NvCPLService

[MENTION=6809327]Gino Niccolai[/MENTION]

Do they appear in BBS as drain during idle? No point limiting it otherwise.
[Android General] pensador:
@ celestial...

It's solved! Thnx for your reply! I didn't touched the phone a while of course to test it. I don't no why the phone did so strange..its great now. Implemented all your settings tested again...now battery is great!....thanks for your hard work!

Verstuurd vanaf mijn GT-I9301I met Tapatalk
[Android General] pillopoulos:
I'm using greenify,amplify,power nap and appops. I think power nap was making the damage, I whitelisted the app there and it's fixed.

Στάλθηκε από το 831C μου χρησιμοποιώντας Tapatalk
[Android General] Gianlu92:
Tested again tonight, as expected disabling Servicely brought everything back to normal. I have got a little drain tonight, but I think it's because of Telegram, I have got multiple notifications this morning. However, alarms seem normal now. Any suggestions? C:
[Android General] Celestial Fury:
The only way for Servicely to mess with Amplify is if you used Servicely to kill Amplify or stop a service it relies on.

I don't use Type mail so you'll have to test limiting it and see. - android.net.wifi.DHCP_RENEW (your WiFi router is renewing the DHCP configuration often enough to cause drain. Find the cause or limit this but be sure to check functionality).
[Android General] goutham.veeru:
com.system.analytics.cpa.service.Myservice is triggering a huge no of alarms... 12600 till now..

Any help on this.. can it be supressed?
[Android General] closee91:
Its an analytics, yeah go ahead.

Edit: but remember,just because its triggering a lot doesn't mean its a battery drainer. :)
[Android General] vctrrl:
Stock rom, stock kernel, version .283. No Xposed Framework modules, except Amplify. I'm not using Greenify. Dump and history attached. Screenshots from Amplify of wakelocks and alarms.

High precision location is turned on. Wi-fi on. Network signal is ok. Google now and history location turned off. Still draining battery like hell. :crying:
[Android General] BlackMamba08:
Hi there,

I followed this guide but I DIDN'T do the ones for whatsapp because I use it a lot and didn't want any notification interruptions.

However, after I noted I am not getting notifications for whatapp when phone goes into deep sleep. Same with snapchat. I have to open the apps and refresh to see messages. Any reason why?
[Android General] closee91:
Do you use power nap? Whitelist them in power nap
[Android General] Celestial Fury:
No abnormal drain skipping which is good as it means it's not the battery. Also, the dump shows drain now.

Limit this Partial wakelock:

sync*/com.google.android.apps.bigtop.provider.bigtopprovider/com.google/a54d838533d8b6a105b2accd67bf8652@gmail.com (com.google.android.apps.inbox.Inbox): 4 m 6 s

Use the fix for this: Alarms: 20, Intent: ALARM_WAKEUP115235

CPU is active: 300 MHz (): 6 m 50 s 1,5%

From your screenshot: Keep an eye on SyncLoopWakeLock to remove syncs that you don't need (under settings - account) or to limit it (as always check functionality). It doesn't appear in BBS but something to keep in mind if later you can't find the drain.
[Android General] Celestial Fury:
Don't limit anything with sync in it or has the icon. Don't greenify Whatsapp either.
[Android General] pensador:
Huh? Oh this is new to me...you're saying we can't limit the strings with (the cloud pic) ? Oops...oh I will change them back then...

Verstuurd vanaf mijn GT-I9301I met Tapatalk
[Android General] Celestial Fury:
You can and I do because they do drain but apps may have problems getting push notifications if they have been in deep sleep for long periods like when you're sleeping which suits me fine. If you use your phone when you wake up any notifications should come in then which also suits me fine. It's also fine if you use the phone regularly throughout the day.

But if you need instant push notifications like SMS or phone calls no matter when or what then don't limit or Greenify anything that can affect them. The trade off is slight drain.
[Android General] justyourimage:
Well ... I'm not sure but my Exodus 5.1.1 Rom seems pretty clean so far. I've not even flashed Xposed yet. That 's my log:

https://www.dropbox.com/home?preview=BetterBatteryStats-2015-07-08_062943641.txt

With everything turned on. Auto-Sync, GPS, WIFI (Conntected Constantly) and Mobile Data.

After disabling GMail Sync (I hate Mail-Sync anyway with all that Notification Spam) and increasing the Better Battery Widget Timeout from 3 Minutes to 10 Minutes I'm at 0.9%/h drain.

I'm not sure if Amplify would be of use to me ... I believe it 's the WLAN Module draining to much Power and that 's why there 's to much Drain in Standby

Either that or my Kernel, or even that my Battery might be getting worse. Or does anyone see anything suspicious in the Battery Log above (I don't) ?
[Android General] BlackMamba08:
I don't use powernap. How could I to avoid this issue?
[Android General] pensador:
Ah ok...tnx for clearing that up! I understand...no whatsapp/mail etc notitications...but do you also mean that if anyone calling me it doesn't ring?

Verstuurd vanaf mijn GT-I9301I met Tapatalk
[Android General] Megan Rutix:
Great Guide

Great Guide i like it. Thank you.
[Android General] goutham.veeru:
Thanks.. could u kindly let me know what's the purpose of this alarm.

I got messenger app fc after i freezed it.. but messenger is of least importance to me.
[Android General] Celestial Fury:
I don't use DropBox. Can you just attach it here?
[Android General] Celestial Fury:
What issue?
[Android General] Celestial Fury:
That's not what I said. You will get notifications but maybe not if the phone has been in deep sleep for a long time. Nothing in the guide will stop your phone ringing or sms buzzing.
[Android General] Celestial Fury:
Google Analytics

What Messenger alarm? If the alarm doesn't belong to Messenger then it's hardly likely Messenger will FC.
[Android General] goutham.veeru:
Yes, i was talking about the System server app running in the background which triggered com.system.analytics.cpa.service.Myservice alarms frequently.

I freezed the app but after freezing it, i am getting fc with messenger.. not sure if it has a dependency
[Android General] pensador:
Haha ok pfeww.....thnx 4 clearing that up!

Verstuurd vanaf mijn GT-I9301I met Tapatalk
[Android General] Celestial Fury:
System server app? Is that what it says in Amplify that the alarm belongs to? Got a screenshot?
[Android General] goutham.veeru:
It did not say in amplify, but i just googled it and found the answer.

System server app runs the package com.system.analytics.cpa - i confirmed it through the running apps in application manager.

Once i freezed the system server app, the alarms automatically stopped.
[Android General] Celestial Fury:
There is no freezing in Amplify. You can limit the alarm. You can disable the service. What did you do actually and is system server the name found in Amplify? What app is using com.system.analytics.cpa as reported by Amplify?
[Android General] goutham.veeru:
Boss,

Freezing in the sense i freezed the app in Titanium Backup.. after which the alarms stopped
[Android General] Celestial Fury:
Ok if that works for you. What I'm concerned now is that limiting that analytic alarm causes problem. There are 8 analytic services and 4 analytic alarms blocked in the guide and don't cause problem. I'd like to know the app that is using com.system.analytics.cpa as reported by Amplify, if you don't mind.
[Android General] goutham.veeru:
Actually amplify does not report anything about this alarm - as i mentioned earlier i had googled and found that this alarm relates to the app named system server. So i tried both options - 1 to freeze the app and other to supress the alarms. The only problem i faced due to either is that the messenger app force closed very frequently.
[Android General] Celestial Fury:
[MENTION=3531228]goutham.veeru[/MENTION]

In Amplify, if you click on the com.system.analytics.cpa alarm, it will show you the name of the App that uses it.
[Android General] goutham.veeru:
Fyr
[Android General] justyourimage:
Didnt knew you couldnt view it on moblile - weird featureset from Dropbox ... Here you go.
[Android General] Celestial Fury:
System Server (if it's not a 3rd party app that is named that way) should be an important part of android and shouldn't be frozen. If that analytic causes problem than it shouldn't be limited. What messenger is affected - WhatsApp? FB? Since I don't have this analytic alarm, what phone are you using? Custom ROM? KitKat? Lolipop?
[Android General] goutham.veeru:
It affects only the FB Messenger and nothing else.

Galaxy Note 2 with Eclipse ROM - Kitkat 4.4.4
[Android General] Celestial Fury:
I couldn't view it from the computer - it asked to log in or register.

Let's focus on the alarms first. These are mostly in the guide. Limit them accordingly.

Alarms: 21, Intent: android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED

Alarms: 16, Intent: android.appwidget.action.APPWIDGET_UPDATE (your widgets will update slower - your call)

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

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

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

Alarms: 10, Intent: com.google.android.gms/.checkin.EventLogService$Receiver
[Android General] nocturnoz:
Hey Celestial Fury!

I followed your guide but something weird happend. I've 5% drain in 4h and BBS got no alarms. Oo

Maybe because of XPrivacy and AppOps? But I granted Permissions for BBS, Amplify and PowerNap..

I uninstalled some system apps too: Fused Location, NFC and some more.
[Android General] ariesfung11:
I charge my phone to 100% and leave it while sleeping. When i wake up, the battery only have 97%.

Attached is the Bbs status. Can anyone help me to improve my battery? Thanks.
[Android General] Celestial Fury:
BBS doesn't show any wakelocks or alarms which is unlikely. Does it have root permission? Has it ever showed wakelocks or alarms before? You'll need to ask in BBS thread about this.
[Android General] Celestial Fury:
WeChat is a known drainer. Nothing can be done. WeChat will just create another (number).

Alarms: 25, Intent: ALARM_ACTION(4819)

Limit and check functionality.

Alarms: 6, Intent: com.lge.email.service.updateDate

Alarms: 26, Intent: com.tencent.mm/.booter.MMReceivers$AlarmReceiver

Alarms: 26, Intent: android.appwidget.action.APPWIDGET_UPDATE (your widgets will update slower)

In the guide (may affect push notifications):

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

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

Alarms: 9, Intent: com.oasisfeng.greenify.CLEAN_NOW
[Android General] nocturnoz:
Yes, it has root permission. And wakelocks/alarms are only shown, when I use the device. I even activated the active monitoring of BBS.

Thanks anyways.. I'll ask in the BBS thread.
[Android General] Ishaan Gupta:
Does this list apply to cm 12.1 with minimal gapps? My battery drains a lot.
[Android General] rhazahrd:
Can somebody help me?

I already reduce from 6h deep sleep / 1:35h awake to 6h deep sleep/ 35 minutes awake (1,9% h) limiting only alarms with amplify, but I think that I can do more things to decrease awake time. Now i got only 9 minutes awake (1,4% h) and my goal is to archieve at least 0,8% h, but all my battery drain seems to be by kernel wakelocks.

I nailed down GsmCellBroadcastHandler, but all others wakelocks are hard to nail down.
[Android General] closee91:
Amplify won't help with kernel wakelocks you might have to clean flash your ROM. What do you have Facebook and messenger limited to in amplify and do you have WhatsApp limited at all?

Edit: do you use tasker? That's draining your battery as well.

---------- Post added at 08:53 AM ---------- Previous post was at 08:49 AM ----------

Limit this com.google.android.intent.action.GCM_RECONNECT to 240

This com.android.deskclock.ON_QUARTER_HOUR to 240

And this com.android.internal.telephony.dataconnection.DataConnection.DC-1.action_retry to 240

Report back
[Android General] Celestial Fury:
Do you have the same draining alarms/wakelocks as in the guide?
[Android General] rhazahrd:
I do not limited whatsapp since I rely on that a lot.

I know that, already change the "all checks seconds" from 600 to 7200 this morning.

Limiting this won't affect my alarms?
[Android General] closee91:
No. It hasn't affected my alarms. Limit it, set an alarm for a couple mins from now. See if it works and report back. Lemme know. Then post another BBS dump sometime soon and I'll look
[Android General] Celestial Fury:
suspend_backoff

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

Alarms: 15, Intent: net.dinglisch.android.tasker.ALARUM

GsmCellBroadcastHandler (Telefone): 3 m 35 s

As always, check functionality.
[Android General] Ishaan Gupta:
OK got it. Quite a few are same. But many of the top draining wakelocks/alarms/services are different.

I guess I will have to Google them up.

Also, any other battery saving method you recommend?

After amplify, is powernap/greenify/nobars/servicely required?
[Android General] Celestial Fury:
Attach an idle BBS dump and let's see.

Less is more. Amplify is enough to handle drain from services/alarms/wakelocks. When Amplify can't do something then use something else to complement.
[Android General] pensador:
0.4 per hour....with the (push notification) alarms not touched....freakin great!thnx!

Verstuurd vanaf mijn GT-I9301I met Tapatalk
[Android General] AutomaticFailure27:
Hey all,

I know there are tons of questions of "how can I improve my battery life" and such, so I guess I will add to that madness. This dump included during the night,

- a single unanswered text under Textra,

- lightflow to trigger for notification light and vibration,

- TiBu ran a backup,

- lagfix had a run

- tasker to mainly sync my accounts once an hour (other tasks for work and such during the say)

I know that Lightflow and Tasker drain due to their nature of how they work, but what gets me is Textra and how many alarms it triggers. I'm slightly skeptical on limiting anything involving it but if someone else has had any successful experience with anything, it's greatly appreciated.

I also have a strange issue when I am home on wifi, I will randomly get insane drain (I'll try and capture sometime if possible or needed) This current test was connected to wifi the whole night but the drain didn't happen as bad as when I come home from work and the battery is less than 50%. It's strange that when the battery is below half and wifi is on, it drains like crazy and nothing in BBS shows any jump in anything, just the Awake time seems to increase for no reason.

Thanks for looking and input
[Android General] closee91:
Tasker is draining your battery. I think you're backing up your stuff too often because running those backups cause sync and all that to call wakeups that's your main drain. As far as textra, try limiting wakeful and other textra things in amplify. Start off at 240 seconds then report back. Also, backing up stuff too often on TiBu I wouldn't recommend too often either, unless you plan on switching ROMs or something. I never use lightflow (you can change led within a lot of apps so I don't see a point in it) try limiting that to 100 but I don't use it so I'm not sure what it'll do.

You can limit this com.android.server.action.NETWORK_STATS_POLL to 500

This com.android.server.IdleMaintenanceService.action.UPDATE_IDLE_MAINTENANCE_STATE to 240 or 500

This android.content.syncmanager.SYNC_ALARM to 3600 OR LESS

This com.oasisfeng.greenify.CLEAN_NOW to 3600

These to 240 Alarms: 1, Intent: com.google.android.gms.gcm.ACTION_CHECK_QUEUE

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

Then report back

EDIT: As far as fast drain > 50% I don't see anything weird, I would need more info. Is it draining fast idle or screen on. When you get to the 50% threshold clear BBS cache and then pull a dump when you have about 5% battery so I can look at it
[Android General] ClownShoes:
Hey fellas, I've decided to go down the less is more route and focus on amplify, rather than Greenify/Powernap/appops etc for a little while.

Last night's drain seemed a little crazy though and I'd appreciate someone looking at my bbs logs.

I ran a custom reference from about 50% as I went to sleep and this morning my deep sleep was only 75% with a 2% per hour rate of loss

Any help would be gratefully received

Cheers
[Android General] closee91:
Your sync is draining some battery.

Limit these:

com.google.android.intent.action.SEND_IDLE to 3600

AND com.google.android.intent.action.MCS_HEARTBEAT to 240

AND

com.google.android.intent.action.GCM_RECONNECT to 240

AND

com.google.android.gms.gcm.ACTION_CHECK_QUEUE to 240

This com.google.android.googlequicksearchbox (): Wakeups: 26 (3.2 / h) deals with google app. Turn keep awake with google app off

Limit this com.google.android.apps.gsa.kato.ACTION_ALARM to 240

Limit your Instagram and dash clock is draining a lot (limit to your own discretion as I do not use dash clock and don't want to break its functionality for you. Limit your widgets as well. Do this then report back :)
[Android General] ar2o:
I have mcs_heartbeat limited to 43200 and functionality is quite fine

Sent from my PopRocks V6X Xparent Skyblue Tapatalk 2
[Android General] rhazahrd:
You was right. It hasn't affected my alarms at all. Thank you.

I nailed down GsmCellBroadcastHandler in my second round with bbs. Not needed to limit that with amplify, just set off all options of emergency broadcast..

About suspend_backoff, the link you gave me said it is probably a google chrome missbehavior. I greenify chrome and seems that worked fine.

Now i got only 2minutes awake with almost 6 hours deep sleep. (1.2%/h) but i forgot to turn wifi on . I don't know how much it is affected my stats.

Also, tasker could be the reason of that much battery consume, even with only 12s of wakelocks and 14 alarms?
[Android General] Celestial Fury:
I don't use Tasker or Titanium backup but is it possible to schedule their activity to "when connected to charger" especially for backups? You can use Amplify instead of Tasker to limit sync to once per hour. Amplify doesn't drain.

Wakelocks

E (net.dinglisch.android.taskerm.Tasker): 6 m 36 s

o.B (com.keramidas.TitaniumBackup.Titanium Backup): 5 m 51 s

Alarms

Alarms: 65, Intent: backInPhoneService (big drain)cmp={com.textra/com.mplus.lib.oe}

Alarms: 102, Intent: progressAllPending (big drain)cmp={com.textra/com.mplus.lib.op}

Tasker alarms. . . (medium drain)

lightflow alarms. . . (small drain)

You can set custom reference in BBS for the crazy drain when it reaches 50% and post the dump.
[Android General] Celestial Fury:
Kernel Wakelocks

qcom_rx_wakelock (): 9 m 57 s

Alarms

(in the guide)

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

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

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

Alarms: 8, Intent: com.google.android.location.reporting.ACTION_UPDATE_WORLD

Alarms: 16, Intent: com.google.android.apps.dashclock.action.PERIODIC_ALARM

Google Now doesn't cause drain in idle mode. You were probably using it.
[Android General] Celestial Fury:
Other than Tasker, I see this:

Poor Signal (): 17 m 57 s
[Android General] Weetbix:
Yes it is possible to set a TB backup to only happen when plugged in. Just edit the schedule and one of the drop Downs is options for power. I have mine set to "Ac charger + usb".