yashsingh1/xdaforums huggingface dataset:
[Android General] bsined:
Airplane mode posts turns out to be by the same guy. He posted too many times.

suspend_backoff disappeared once I turned off Amplify. Right now my phone has clocked in almost 7 hours since charge with 5 hours in deep sleep, almost 1 hour of talking, and almost 30 minutes of screen. suspend_backoff accounts only for 3 minutes of awake.

My 4G data is essentially free. We signed up for that double data promotion from at&t a few months back, so I need to try very hard to use it up. Also, people with imperfect reception (like me) will use up more battery either way as the phone is trying to connect to a stronger signal.

I need to see how my tablet behaves with all this, too.
[Android General] Phoenix232:
This is how it is as of today. Any tips?
[Android General] pradhana:
I've been testing it using 3G connection,

And the result is nearly same while i'm using wifi.
[Android General] Celestial Fury:
Partial wakelocks seem ok. Your com.samsung.sec.android.clockpackage.alarm.NOTIFY_ALARM_LOCATION - limit this and see if your alarm clock / clock functions properly. Limit com.google.android.quicksearchbox/...velvet... Limit android.net.wifi.DHCP_RENEW - (for IP address) it should usually last for 24 hours. Limit ...ACTION_UPDATE_WORLD... - another location alarm. Limit checkin.EventLogService$Receiver.
[Android General] wahuka:
Hi friends.

I need help with this Alarm.

Sure would limit any?
[Android General] Celestial Fury:
This isn't idle time and not enough screenshots as well. See Post #3.
[Android General] afr33sl4ve:
Something that is being limited is breaking the News & Weather app/widget.

It just shows "--" in every field. However, when I open the app from the widget, everything shows fine. Just the widget is not displaying correctly.
[Android General] Celestial Fury:
The alarm android.appwidget.action.APPWIDGET_UPDATE will affect widgets.
[Android General] afr33sl4ve:
Um... Duh. :p

3 day long migraine is no fun, along with me missing crucial details.

Thank you.
[Android General] RyconPayne:
Been trying to figure out amplify. I will try your guide, hopefully it she's some light. Thanks for the effort you put into it!
[Android General] Mudahuda:
Thanks man, really appreciate the effort you made! :highfive:
[Android General] Celestial Fury:
Important request

I believe I've solved this matter but would like folks to try my solution.

- com.android.providers.calendar.intent.CalendarProv ider2 will stop calendar notifications from working if limited but this is a

0% [0.0%/h]

Idle Battery Drain guide and this calendar alarm causes drain so I figured it might be possible to find a calendar app that doesn't rely on the android alarm or may have its own alarm and I found Calendar Events Notifier. As far as I can tell, it runs its own service and after testing for 2 days it gives a calendar alarm every time with

- com.android.providers.calendar.intent.CalendarProv ider2 limited at 7200 seconds.

If others don't report any failures, I believe the guide can be readjusted back to the way it was. :fingers-crossed:
[Android General] mwrobe1:
Silly question...re: the 2 FB services above...do you have them listed as not recommended because denying them causes adverse affects in using the FB app? (i.e. you don't get pushes/notifications)
[Android General] edwardob:
You don't get the purpose of this guide, don't you? We do not want to see

at what time some apps are connecting

, but

what alarms/wakelocks they produce while you are connected to a network (mobile or WiFi)

during the time your phone is supposed to be in idle mode. By identifying those alarms/wakelocks, we are able to limit the battery drain which is caused by those apps. Those apps won't produce most alarms/wakelocks when there is no data connection, therefore you are supposed to have a sufficient data connection during the time frame for your idle dump. WiFi connection is preferred, as a proper WiFi connection drains less battery than a mobile data connection. Having WiFi on when you don't have a local WiFI network available is useless as there is nothing you can connect to. In this case, use mobile data and don't enter any battery saving mode (DS Battery Saver, JuiceDefender and so on) as those are against the purpose of this guide.

---------- Post added at 07:35 AM ---------- Previous post was at 07:32 AM ----------

i certainly do know the purpose of thread????no need to talk down?

i merely pointed out that dump was already the one that was being requested,,,and no need to do it again.....it went over your head!

please dont answer me anymore
[Android General] Crisialfa:
No, I did the test without the airplane mode.

Tonight I will do another test with WIFI on. I have to share the bbs log or Amplify screenshots?

Do you know what type of alarm is RILJ0? Can I freeze It?

Inviato dal mio SM-G925K utilizzando Tapatalk
[Android General] Crisialfa:
Ok, tomorrow morning I will upload It

Inviato dal mio SM-G925K utilizzando Tapatalk
[Android General] weiimyway:
Hi [MENTION=5401012]Celestial Fury[/MENTION]

thank you for your tutorial here, I've learn to use BBS and how to limit certain partial wakelock or alarm in Amplify, and this is the best I got so far (data full connect in 4G/3G). Still haven't achieve 1% drop in 7 hour idle yet, but I'm quite satisfied with this result.

One thing I would to ask you, I already limit all partial wakelock and alarm that appear in BBS, but in Amplify I can see that there is much more wakelock and alarm that safe to be limited with a lot of "acquired" and "time allowed" (ex: GCoreFlp, SyncloopWakeLock, etc), since its not appear on BBS, should I also limit such wakelock or alarm?? will it decrease battery use in idle even more if I limit those wakelock/alarm?
[Android General] Portgas D. Ace:
Ensure you are connected to your local WiFi. Without a proper connection, it is quite useless. If you do not have a local WiFi available, use mobile data instead.

About RILJ: check this wiki, especially the part about RILJ. It is not recommended to limit/freeze it as it is a mandatory part of the Android system.
[Android General] pnm3049:
Is there anyone using HTC here? I dont know what triggers these alarms. Can I limit them? To how many seconds?
[Android General] Celestial Fury:
Not all ALARM_WAKEUP(#####) will cause drain. Do they appear in BBS dump? I've never seen a dump with [0.0%/h] where they appear.

Post #3 Test Idle Battery Drain

No.6

Those HTC alarms look important.

com.android.systemui is important.
[Android General] pnm3049:
Thanks. By the way, I never got 0% battery drain so far. 0.3%/h is my best yet. Do you think this is a kernel issue? My BBS doesnt show my kernel wakelocks. I dont know why.
[Android General] pnm3049:
Here is my dumpfile. I dont know why but it seems my idle battery drain is better without amplify installed. I followed your thread [MENTION=5401012]Celestial Fury[/MENTION] and [MENTION=5867207]v7[/MENTION] thread thoroughly. Before I only get 0.3%/h. Can anyone tell me how can I improve my battery?

PS: I think im blocking something I shouldnt block that results to heavy battery drain during idle
[Android General] Crisialfa:
Guys, I uploaded the log file. Can you check, please?
[Android General] Portgas D. Ace:
You seem to have a huge kernel issue:

radio-interface (): 1 h 2 m 29 s Cnt:(c/wc/ec)3726/0/0 12,9%

lli_pm_wlock (): 39 m 48 s Cnt:(c/wc/ec)3767/0/0 8,2%

umts_ipc0 (): 31 m 11 s Cnt:(c/wc/ec)3778/0/3778 6,5%

bcm4773_wake_lock (): 30 m 39 s Cnt:(c/wc/ec)3712/0/3712 6,3%

wlan_ctrl_wake (): 29 m 21 s Cnt:(c/wc/ec)3553/13/3553 6,1%

wlan_oob_irq_wake (): 3 m 54 s Cnt:(c/wc/ec)3686/1/0 0,8%

13930000.decon_fb (): 2 m 48 s Cnt:(c/wc/ec)3/0/0 0,6%

wlan_rx_wake (): 2 m 33 s Cnt:(c/wc/ec)299/0/300 0,5%

ssp_sensorhub_wake_lock (): 1 m 20 s Cnt:(c/wc/ec)15/0/15 0,3%

ssp_wake_lock (): 1 m 8 s Cnt:(c/wc/ec)21/0/21 0,2%

radio-interface (): 1 h 2 m 29 s Cnt:(c/wc/ec)3726/0/0 12,9% could be related to the MobileRadioActive bug, which occurs on some Android Lollipop ROMs. Use this Xposed module to fix the issue if neccessary.

lli_pm_wlock (): 39 m 48 s Cnt:(c/wc/ec)3767/0/0 8,2% seems modem-related. You might want to use different kernel CPU governor/schedule settings or flash a different kernel.
[Android General] Crisialfa:
I'm using UniKernel v9 with battery optimization profile. Can I freeze any wakelock/alarm to fix this kernel issue or I have to change the kernel? Which kernel do you suggest me?

Inviato dal mio SM-G925K utilizzando Tapatalk
[Android General] Portgas D. Ace:
As far as I know, you can't freeze/limit any of those wakelocks, as Amplify can't handle kernel wakelocks. I would suggest you to try a different CPU governor/schedule by using Kernel Adiutor, maybe Interactive or Intellidemand (if available for your kernel) governor. If this doesn't improve battery life, we will have a look at another kernel.
[Android General] Crisialfa:
I'm already using Interactive governor and my kernel hasn't Intellidemand. It has userspace, performance and Interactive. So I have to change the kernel, right?

Inviato dal mio SM-G925K utilizzando Tapatalk
[Android General] Portgas D. Ace:
If there is a custom kernel available for your device, try it.
[Android General] Crisialfa:
I found Arter97 Kernel and Vindicator Kernel for my s6. Do you know this kernels? Which are the best for battery life?

Inviato dal mio SM-G925K utilizzando Tapatalk
[Android General] Portgas D. Ace:
I do not own a S6, I don't know which is the best one. But I would use Arter97's kernel as a start.
[Android General] Crisialfa:
Ok, thank you

Inviato dal mio SM-G925K utilizzando Tapatalk
[Android General] Crisialfa:
I flashed the Arter's kernel. Should I have to do another alarm/wakelock test with BBS?

Inviato dal mio SM-G925K utilizzando Tapatalk
[Android General] urnamese3:
I attached a BBS log fo my N6; 0.4 % with WiFi on. Can you guys help me achieve 0%?

Tomorrow I'll upload a BBS log from my OPT
[Android General] Crisialfa:
Which kernel are you using?

Inviato dal mio SM-G925K utilizzando Tapatalk
[Android General] urnamese3:
Lean kernel
[Android General] Portgas D. Ace:
Yes, upload another idle dump with WiFi on & connected, please. This way we can see the result of the new kernel. And please tell us which CPU governor/schedule you use.
[Android General] Celestial Fury:
Support the only viable fix for ALARM_WAKEUP(#####) here. I'm only one voice. Dev confirms as possible.
[Android General] Crisialfa:
Is It better now? I'm using interactive governor
[Android General] Portgas D. Ace:
Well, the new log file is better than the old one: your drain has come down from 2.1% per hour to 1.6% per hour. Nevertheless, your device is awaken for more than one hour while it should be in deep sleep mode. Could you also upload a screenshot of the in-built battery stats (Settings->Battery)? What are the top consumers listed there?
[Android General] Crisialfa:
Look

Inviato dal mio SM-G925K utilizzando Tapatalk
[Android General] Portgas D. Ace:
Hmm, the stats seems to be okay, nevertheless you are experiencing quite a big drain. What other CPU governors are available on Arter87's kernel? Maybe using a different governor might reduce the drain.

Another thing that came to my mind: you have a S6 with a custom ROM, right? The S6 is a rather new model, so maybe the custom ROM is buggy and therefore draining your battery.
[Android General] Crisialfa:
Arter's kernel has interactive, userspace and performance governor.

Yes, I have S6 with the Xtrestolite 2.4 and I think is the best ROM for this phone. Can I do something more?

Inviato dal mio SM-G925K utilizzando Tapatalk
[Android General] Celestial Fury:
radio-interface (): 34 m 32 s

lli_pm_wlock (): 27 m 6 s

wlan_wake (): 23 m 59 s

wlan_ctrl_wake (): 17 m 18 s

umts_ipc0 (): 17 m 10 s C

bcm4773_wake_lock (): 16 m 42 s

wlan_rx_wake (): 8 m 37 s

You need to show History details (to see mobile network signal and coverage and others) in Battery Usage. Your kernel wakelocks are mostly related to radio signal, WiFi and data. If you use a beta ROM (3.10.90-arter97-7.0-beta1) you can't expect it to be stable.
[Android General] Crisialfa:
I don't use a beta ROM. I'm using Xtrestolite 2.4.

Do you mean this history details?

Inviato dal mio SM-G925K utilizzando Tapatalk
[Android General] Celestial Fury:
From your BBS dump:

OS.VERSION: 3.10.90-arter97-7.0-beta1-03976-g5f812a3

This (you're missing the bottom half):
[Android General] Crisialfa:
Yes, sorry. I remembered that I installed a beta kernel. Now I flashed the Arter's kernel 6.0 stable version. So I have to do another battery test with BBS, right?

Inviato dal mio SM-G925K utilizzando Tapatalk
[Android General] azuk94:
I bought the Amplify yesterday.

It Improved the battery duration a lot. It was consuming something like 25% at night, ridiculous. I am going to test today for 7 hours in IDLE and post results :)
[Android General] pnm3049:
Does this setup works side by side with greenify? Because last night I was asleep at 9pm then I had a notification from facebook messenger. It didnt hibernate at all. As I saw this morning when I woke up. I didnt limited the alarm of greenify. Anyone?
[Android General] Crisialfa:
So I have to do another BBS test with the stable kernel, right?

Inviato dal mio SM-G925K utilizzando Tapatalk
[Android General] azuk94:
Oh thats great

I cant post images or BBS dump file because i dont have 10 posts

Just did the test for 7 hours (idle, screen off, GPS off, wifi on, data off), 37% of battery drain...
[Android General] edwardob:
just do 10 posts you will,,, be able... simple

say thanks 10 times
[Android General] azuk94:
oh

appreciate your help

thank you

:D
[Android General] ppaasseeii:
WOW thanks for this guide! I didn't do all the suggested blocks but like half of them, and now I have a 98% sleep time when screen is off. Still have that BAM_DMUX wsakelock though.
[Android General] lost101:
Try manually installing the latest version for your phone - Moto G (Falcon):

http://www.apkmirror.com/apk/google...vices-8-3-00-2353383-436-android-apk-download​
[Android General] Celestial Fury:
Sorry you didn't get an answer. Try one or more:

1 Android settings - Apps - Google Play Services - clear cache.

2 Recovery - clear cache & dalvik cache
[Android General] Android2003:
Hi.

Did u change anything in kernel settings?

I have the same Problem since my IO scheduler is changed to "noop". I switch it to "row" and everything works fine.
[Android General] lost101:
[MENTION=4336485]alezardstar[/MENTION] - To clarify, I did not compile the ROM - no source code is available for that.

As I've never seen your issue - I can almost guarantee it relates to your own /data partition. Formatting /data prior to flashing the ROM will certainly resolve your problem. It may also be a bug introduced by restoring apps with Titanium Backup or some other utility.
[Android General] pnm3049:
Hi. This is my dump. Im just wondering. I still got the 6 mins of awake time during screen off. Is this a kernel issue or rom issue? Should I change rom? Im currently using the JW 3.0.0 rom and Elementalx kernel
[Android General] dirkdigles:
I followed this guide on my S4 running stock Google Play Edition 5.1. Though my idle battery drain still leaves a lot to be desired (which I think is just cause the battery life on this phone blows), the tweaks here have worked quite well in managing alarms and partial wakelocks.

In the last week or so I have noticed my com.google.android.gms alarms have gone through the roof. A new alarm has appeared, and it apparently goes off every single time I receive or send an SMS / MMS.

com.google.android.gms.icing.proxy.action.SMS_CHANGED

You can see the numbers from the screen shot.

I am on Play Services 8.3.00, and I use Textra for sms. I also have a bit of trouble keeping my facebook messenger alarms low but I'm guessing that one is a lost cause.

Anyone else experiencing this with the SMS_CHANGED?
[Android General] RubinCarter:
Hi, I am seeing the same alarm. I've amplified it to 3600 seconds without any apparent detrimental effects.
[Android General] j3r3myp:
Thanks for this complete guide !

Going to test this on my G4.

Envoyé de mon LG-H815 en utilisant Tapatalk
[Android General] nachomagic:
Hi mates

I've a doubt with the location alarms.

What does it means? I don't understand if it's means worst accurate, loose of functionality (google now), worst battery because the device is get up to get the fix....

"* They wake up your device to get a fix (from GPS/network/cell towers) by Google Play Services for apps like Google Now and for Google's own database. GPS will be delayed in the background for Google apps like Google Now. You will have to refresh in Google Now. It may refresh on its own if the phone wakes up for some reason. 3rd party apps may get info from them but I haven't h"

Thanks in advance :)
[Android General] Kappa Lamda:
So does anybody can help with facebook messenger and viber alarms without breaking their push notification?

If I greenify(donation +xposed) these apps, I lose push notification(I have GCM notification ticked under settings). Has anybody found a solution for this high drain sources?
[Android General] urnamese3:
Do you use the messenger app? If so, greenifying it only makes the battery drainage worse

Sent from my quantum computer yëyě
[Android General] Kappa Lamda:
As I was saying. I am using it and i can't greenify it cause I lose its push notification. So what I am asking if it is possible somehow to limit the drain it causes. unfortunately FB needs messenger to chat with friends there
[Android General] sathish804:
You can use Amplify to reduce the Wakeup and Alarms time from messenger to save battery.
[Android General] fldash:
On my G4, the main alarm I'm seeing is com.lge.ims.action.ALARM_NATIVE_TIMER. I don't see anything in this thread about it, nor does Google return anything about it other than it may be a part of Advanced Calling. Does anyone know if it's safe to limit, and if so, what should it be limited to? BBS says it's waking up my device 15 times an hour...
[Android General] Kappa Lamda:
Yes but do you know which of them can be limited without losing push capability? I know I can limit. I am asking if anyone has done it already, and knows which ones we can limit and for what value/time.
[Android General] sathish804:
I think these 3 will do that for you. Limit them to 3600 seconds (1 hr).

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

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

- com.facebook.common.executors.WakingExecutorServic e.ACTION.ALARM.com.facebook.katana
[Android General] Kappa Lamda:
Unfortunately these ones are for Facebook notifications. Not messenger. Messenger has com.orca. on the beginning. And these are on the OP. I have limited these ones.
[Android General] nachomagic:
Hi mates

Does anybody know what are these wakelocks? I've see some people who limit them to 9999999 but I'm not sure if could broke anything.

Does it broke Google Maps or something like this?

- GeofencerStateMachine

Does it broke anything?

- Checkin Service

Does it broke anything?

- Icing

And block this service. Does it safety?

- gms/.icing.service.indexworkerservice

Thanks in advance mates!!!
[Android General] f0xy:
Guys, can you analyze this log and see attached pics? :)

https://www.dropbox.com/s/prnoabll1se8nfr/BetterBatteryStats-2015-10-30_082428067.txt?dl=0

Thank you
[Android General] Celestial Fury:
Some loss of functionality like Google now not showing where you parked your vehicle or old news. A manual refresh in Google Now (swipe down) no longer seems possible. Can someone confirm this? If you let these GPS alarms/wakelocks run they will drain more battery. They're limited because I'm not interested in helping Google expand its database of WiFi locations and Google doesn't need to know where I am every single minute but only when I need to use its services.

Advance calling (VoIP?) uses data instead of a traditional voice call. VoIP while cheaper is a less mature technology than traditional calls and thus uses more battery to keep it in standby. If you limit it, see if you can make or get calls through advance calling. If not, just unlimit - no harm done.

I don't use FB Messenger so don't have its alarms/wakelocks in the guide. You'll have to test yourself.

I don't recommend anything not in the guide unless I first see a BBS dump that shows that they drain. If they're not in the guide it's because they don't drain so why do anything about them?

Screenshots of Amplify are unneeded. Post #3 last line.
[Android General] nachomagic:
Thanks mate I think like you. I'm just afraid about worst accurate when I drive to a place using maps.

I have to test by my car is being repair.

Have someone test it?

Thanks
[Android General] chrislam1220:
My alarm didn't work after follow these setting.

For example, I set the alarm at 7:00 am but it will not ring when the time arrived.

However, when i woke up at 7:30am and i turn my screen on, the alarm ring immediately.
[Android General] f0xy:
Sorry

Everything else OK?
[Android General] Bijuu:
Is it possible that with this app i get worse battery life? I got such feeling that's happening to me right now :v
[Android General] espaciox99:
Pls 1.2 % :( help me

https://www.dropbox.com/s/2omk5pruy2rdpz4/BetterBatteryStats-2015-11-01_055318507.txt?dl=0.

Enviado desde mi Moto G mediante Tapatalk
[Android General] 4omp:
Hi all! Mb I can do something?
[Android General] Android2003:
Disable scanning of wifi and set wifi IP to static.

Looks good
[Android General] Celestial Fury:
Navigation apps do not rely on those location alarms. They access the GPS directly.

Then you've limited something not in the guide. Post #2 DANGEROUS - DO NOT LIMIT / DENY.

Do the battery baseline tests in Post #3 first.

Awake (): 51 m 29 s 9.9%

10153 (Wifi) (com.whatsapp.WhatsApp): 19.0 MBytes 98.7%

Your phone wasn't idle since it was busy downloading messages/media from Whatsapp.

I see some alarms from the guide that haven't been limited.
[Android General] Bijuu:
[MENTION=5401012]Celestial Fury[/MENTION] i have one question. Is it possible that limiting in amplify (alarms/wakelocks that doesn't show up in bbs but are high in amplify app) cause more battery drain than without anything? I have a feeling that my phone now (with amplify/power nap/ greenify turned off) has a better battery life than with those 3 turned on. So it bothers me a bit.
[Android General] burduli:
Wow, very helpful! I'm gonna give it a try!
[Android General] 4omp:
I found only one alarm that i didnt limite before.

- com.google.android.gms/checkin.CheckinService%Receiver (or - com.google.android.gms/.checkin.EventLogService$Receiver)
[Android General] nachomagic:
I've test Today and works great :)
[Android General] nachomagic:
You are right in just learning and sometimes I misunderstood the others threats.

Regarding to your guide I've been 3 days after amplify configuration and works really great.

It really stop battery drain and the phone work great.

I only have 1 issue. After some time of having the phone untouched, less than a hour or two, the incoming notification stop, I mean gmail, Whatsapp, etc

If I manually refresh gmail I get the mails and if I kill and reopen the whatsapp I also get them but I have to do it everytime the unique way to have automatic sync again is a reboot.

Whatsapp also has no state in account settings.

I've applied all your guide except this.

com.google.android.gms.gcm.ACTION_CHECK_QUEUE

com.google.android.intent.action.GCM_RECONNECT

android.content.syncmanager.SYNC_ALARM

com.android.internal.telephony.data-stall

com.google.android.intent.action.MCS_HEARTBEAT

And as I read in this forum related to auto sync this is also untouched

om.android.vending/com.google.android.finsky.services.ContentSyncService

Does anybody know what is the problem?

Thanks in advance
[Android General] deepu458:
For gmail notification auto sync, make sure the following needs to be not delayed. Remove the following from Amplify & Gmail Push Notifications wont get disturbed.

com.google.android.intent.action.MCS_HEARTBEAT

com.google.android.intent.action.GCM_RECONNECT

android.content.syncmanager.SYNC_ALARM