yashsingh1/xdaforums huggingface dataset:
[Android General] leAndroid91:
Thanks for your reply!

I allowed the instagram alarms every 2h.

But i have 2 additional questions:

Which orca wakelock and alarms may i limit without losing any functionality and which value should i enter?

Please see the attachements for my orca wakelocks and alarms.

How do i limit the android wakelocks? Sounds like cutting the system?

Gesendet von meinem Nexus 5X mit Tapatalk
[Android General] entonjackson:
With Disable Service.

Just import my settings in that app...

No effects on Whatsapp, disabling those services

Yep, but it's tricky. For some services you have to reboot to see changes.
[Android General] hawkdown77:
I getting problem using your configuration.. My GPS not working....
[Android General] entonjackson:
Ok. Can be possible...

In worst case, re-enable those:

com.google.android.gms/com.google.android.location.fused.FusedLocationService

com.google.android.gms/com.google.android.location.network.NetworkLocationService

com.google.android.gms/com.google.android.location.internal.GoogleLocationManagerService

com.google.android.gms/com.google.android.location.geofencer.service.GeofenceProviderService

com.google.android.gms/com.google.android.location.fused.service.FusedProviderService

com.google.android.gms/com.google.android.location.internal.server.GoogleLocationService

com.google.android.gms/com.google.android.location.reporting.service.DispatchingService

and if you like to optimize, disable one by one with reboots to test which one you need.

That's how I did it.
[Android General] raul.lopez1958:
Hello everyone, I have installed the rom Sultanxda MM, and amplify not show me statistics services.

Help me please
[Android General] nitishp7890:
Guys I am using Ressurection remix ROM with slim zero gapps and suddenly android system and android wakelocks is draining my battery I mean they are running in backgrobackground

Help will be appreciated

Thanks In Advance

Nitish
[Android General] Portgas D. Ace:
More information about your device as well as the Android version would be great.

I guess you are affected by the MobileRadio bug, but from my experience this bug shouldn't drain much battery. Nevertheless, search for it here on XDA, there is also a Xposed module available to solve this issue. Try it out and report back. Otherwise a BetterBatteryStats (BBS) log file could be very helpful. Read instructions in the first posts about how to create proper BBS log files.
[Android General] nitishp7890:
Thanks mate

I am using resurrection remix android version

5.1.1

Can you tell me that xposed module name and yes sure I will post better battery stats log file

Thank you:)
[Android General] Portgas D. Ace:
Searching for MobileRadio Xposed results in http://repo.xposed.info/module/com.pyler.mobileradioactivefix ;)
[Android General] TNSMANI:
Amplify Services do not show up in any MM ROM. The Dev is aware of the issue.
[Android General] tech_girl:
Hi there. Could you share your settings with me as well?
[Android General] :
I see lot of qpnp_fg_memaccess and qpnp_fg_update_sram wakelock any idea what is it regarding and if i can avoid it somehow?
[Android General] entonjackson:
See 1 or 2 pages back
[Android General] tech_girl:
Got it. Sorry I must have missed it...
[Android General] NAZUnlimited:
Great guide. Keep it up
[Android General] baySF:
My lockbox alarm receiver has 60 and it keeps climbing. What do I do about this??
[Android General] nachomagic:
Thanks mate

What services should I enable to have google play working?

Thanks in advance
[Android General] entonjackson:
First i would try if it works with these settings.

If not, try enabling

com.google.android.gms/com.google.android.gms.analytics.internal.PlayLogReportingService

com.google.android.gms/com.google.android.gms.analytics.service.PlayLogMonitorIntervalService

com.google.android.gms/com.google.android.gms.playlog.service.PlayLogBrokerService

one by one, and to go sure, do a reboot in between.
[Android General] Dendis:
Does Xposed itself (or with modules) drain battery on KitKat?
[Android General] blinkcrawler:
Hello,

I want to know how to use regex in amplify. I readed in amplify thread ,but I didn't understand. Just anyone in here explain step by step to use regex funtion.

Thanks,
[Android General] jide1:
+1, also interested , but can't just find step to step instructions .
[Android General] Celestial Fury:
Limit it. Or not. There is no do. Not knowing which application it belongs to or what it does, there is not much to say.

No. Depends on the module in question. Mostly no.

Post #3 under

Not Recommended

has what the dev says on it. Not working for Google as far as I can tell.
[Android General] MustBeTrippin:
From the home page of amplify, swipe left to get to options and hit Alarms. Top right hit the middle icon ? and next screen hit the + icon. This recommend setting has worked great for me with no reboots or FC's.

Regex: ALARM_WAKEUP[0-9]{4,}

Interval: 9999999

See attachments.
[Android General] Celestial Fury:
Where's the screenshot of showing ALARM_WAKEUPxxxxxx being triggered but having NO alarms? Only that will mean it's actually blocked.
[Android General] MustBeTrippin:
Looking for the post where these settings came from
[Android General] TNSMANI:
That is for alarms with four digit numbers. If you get five or six digit alarms, then the number within the last brackets {4,} will have to be changed accordingly.
[Android General] albion93:
What are theese three kernel wakelocks?

Inviato dal mio HTC One utilizzando Tapatalk
[Android General] alokt27:
I have blocked all thing with Location in it.. And every possible alarms , wakelocks , and services according to this guide but somehow I still have GoogleLocationService running inside Google services

This service runs after 6 minutes when I reboot my phone. Everything else is fine

Anyone how do I stop this??
[Android General] Celestial Fury:
Or you can take the screenshots from your phone :confused: in Amplify (after resetting stats) and seeing if they're actually blocked.

If you put 6, will all 6 digits AND LOWER be blocked as well? Or just 6 digits?

Search.

The guide doesn't disable Location. You can turn it off in android setting.
[Android General] MustBeTrippin:
So, could you then add multiple #'s? Like {4,5,6} etc
[Android General] kdayyy:
Post #1881-#1885 is hilarious
[Android General] MustBeTrippin:
And #1886 is pointless. GTFO ?
[Android General] Celestial Fury:
Pointless posts do kill the tension! :D
[Android General] leAndroid91:
Hi guys,

after some optimizations BBS shows me that com.facebook.orca is fireing 11,7 alarms / hour what is about 90% of all alarms :crying:

In Amplify i have 1 orca wakelock: wake:com.facebook.orca/com.facebook.push.c2dm.C2DMService

with wakelock time allowed: 01 and wakelocks required: 04

and the following Alarms by orca:

com.facebook.rti.mqtt.e.g.ACTION_INEXACT_ALARM.MqttLite.com.facebook.orca

com.facebook.common.executors.dp.ACTION_ALARM.facebook.orca.Mqtt_Wakeup

com.facebook.rti.mqtt.e.f.ACTION_INEXACT_ALARM.MqttLite.com.facebook.orca

com.facebook.common.executors.do.ACTION_ALARM.com.facebook.orca.Mqtt_Wakeup

com.facebook.orca.database.ACTION_ALARM

com.facebook.rti.mqtt.common.d.s.ACTION_ALARM.MqttLite.com.facebook.orca

com.facebook.common.executors.dp.ACTION_ALARM.com.facebook.orca

com.facebook.common.executors.do.ACTION_ALARM.com.facebook.orca

com.facebook.orca.push.ACTION_ALARM

Which alarms may i block and for what time without losing functionalities of the messenger like getting a notification as soon as somebody texts me?

Thanks for your help!
[Android General] Portgas D. Ace:
Limiting any of those alarms with the keyword MQTT will limit push notifications by FB Messenger. But you can simply try out by yourself by limiting one alarm to 1800 (30 minutes) and ask someone to text you. Then you can check whether notifications arrive in time or not. If no delay occurs, continue with the next alarm. Takes some time but you can set up everything according to your needs. If limiting any of those alarms does not break push notifications for you, you can increase the limiting time step by step until it fits your needs.
[Android General] nachomagic:
Finally I solve it :)

I had to allow this Alarm com.whatsapp.alarm.AVAILABLE_TIMEOUT

I hope it help someone
[Android General] TNSMANI:
I don't have any idea. I was only repeating what the Dev said in reply to a similar post in Amplify thread.

---------- Post added at 05:26 PM ---------- Previous post was at 05:24 PM ----------

Looks like it, yes.

I am no longer using Amplify because of issues in installing Xposed so I have no way of testing.
[Android General] fideldesu:
is it safe to limit 'GoogleLocationService' in Services ?

I follow instruction on first page except for with name that has 'whatsapp' in it. I don't get instant notification from whatsapp. What alarm/wakelock do I need to unlimit to get whatsapp's notification ?
[Android General] thomstrack:
One question: This following code don't delayed Facebook notifications?

- 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] DaLuigi3:
second post above yours :eek:
[Android General] Cameldrugs:
Best guide ever! Very nice fam, no battery drain at all
[Android General] Bluffer94:
Are these recommendations applicable to cm13 roms?
[Android General] fideldesu:
yes, i know. I already enable com.whatsapp.alarm.AVAILABLE_TIMEOUT and anything that has 'whatsapp' name in it but when screen off, I didn't get notification unless I turn on the phone.

I just want to ask what other alarm might prevent me from getting notification from whatsapp when screen turn off.
[Android General] imransyafi:
Still seeing ALARM_WAKEUPXXXXX after putting regex. Heres my regex. Help pls
[Android General] imransyafi:
I have no idea i havent tried that. I dont know how regex syntax works.
[Android General] Extreme Noob:
Please check the attached file. I am on Asus Zenfone 2 ZE551ML 4G. I lost 2% in 7 hours. I was not in the Power saving mode in my Asus power saver application. I am not sure what is this "com.asus.wakeup.ALIGN_WAKEUP_SIX_MIN". This is causing huge battery drain. How can I identify this? Another one is com.asus.alarm.ALARM.CONTROL which fired 15 times. I already limited that facebook.katana alarm which fired 19 times.

And please advice what else have I to do to achieve that 0.0%/hr

Thanks in advance.
[Android General] imransyafi:
Is it supposed to make all my alarm_wakeupxxxxx disappear or prevent more from appearing? What if some already came up when i put the regex?
[Android General] Ajju^:
Download DisbaleService from gplay you can easily block those service's.
[Android General] azsl1326:
Can anyone comment or provide info on the top two alarms under the unknown section?

Thanks, in advance.
[Android General] TNSMANI:
The first one relates to Doze and is used to induce idle mode on the phone. The high # indicates that the phone went into idle mode that many times.
[Android General] Takamoto:
Hi all..in first thanks to [MENTION=5401012]Celestial Fury[/MENTION] for this beautiful thread,and sorry for my noob question.

I'm on stock 4.1.1 and I've high battery drain only about those gsf alarms:

"com.google.android.intent.action.GTALK_RECONNECT".

"com.google.android.intent.action.SEND_IDLE".

"com.google.android.intent.action.MCS_HEARTBEAT".

Can I amlify something?

My phone is only 512mb ram and my set is this:

-Play service unistalled

-Gtalk apk unistalled

-Gmail apk unistalled (I use stock 4.1.1 email apk)

-com.android.internal.telephony.gprs-data-stall (21600)

-com.whatsapp.alarm.AVAILABLE_TIMEOUT (7200)

-com.whatsapp.alarm.CLIENT_PING_TIMEOUT (43200)

-com.whatsapp.messagging.MessageService.CLIENT_PINGER_ACTION (43200)

-com.whatsapp.messagging.MessageService.LOGOUT_ACTION (43200)

-wake:com.whatsapp/.AlarmService (7200)

-AlarmService#updateNtp (7200)

Whatsapp notification are ok.

I don't want only loose play store and sync google functionality..

Tanks in advance and happy new Year to all!!
[Android General] :
hi is wifisuspend wakelock safe to limit if im not using wifi or what is this wakelock? and is there any improve to fb messenger what i can limit and still get messages?
[Android General] leingod:
Hi,

I had the same problem as you. Tried your solution but it didn't work...

I used PNF to see Google Play Services Event Log. I always got 'Failed connection ev:1 state:3 err:3 net:1'. I have to play around with my connection e.g. toggle between WiFi and Data or personally disconnect Google Play Services to get it connected before I can receive and deliever my WhatsApp messages.

Anyone had the same problem and solution?
[Android General] nachomagic:
Hi

Ii didn't updated because I was testing again. The solution I've posted finally failed :(

I'm with this alarm configuration since a week working well. Same values that in the guide but some alarm not restricted.

Whatsapp Wakelock not restticted
[Android General] brooker88:
Hi, has been running fine past few days but now all of a sudden I have these 2 high WakeLocks. Any idea what triggers it? Thanks
[Android General] Ohhdayumm:
Hello, does anyone know why my android os is using my CPU for so long?
[Android General] Portgas D. Ace:
Not without a proper idle dump file. Read the first posts by OP and upload an idle dump, so that Celestial Fury can help you.
[Android General] Celestial Fury:
Most of what you've listed will affect push notifications.

wifisuspend wakelock - is that the actual name with the correct spacing and spelling? - makes it easier to Google properly. If it happens outside of idle period then it should be normal.

If push notifications are important, don't limit the related alarms/wakelocks AND those related to the app in question. If you limit, messages may often get delayed.

The first, maybe you switch to using Hangouts as your SMS app? Didn't use it that way, not sure. The second, is 'cataloguing' media from the social app that you were using.
[Android General] rpalmer92:
Help (BBS dump attached)

Hey all,

Can you guys help me with my wakelocks and alarms? I've configured Amplify exactly to this guide and am still getting like 1hr of awake time over a 7 hour period. Keep in mind I am at work in a room under the building so bad reception and there are wireless arrays everywhere so I don't know if most of it is connection issues due to those two things.

I've attached a BBS dump also. In amplify I am also getting a *alarm* wakelock with like 1600 count and a wakeful with 300, the rest are pretty low as it's configured well.

I also noticed that a fair few of the ones in the guide didn't even show up in my Amplify. I'm guessing that's due to running a custom ROM on my Lenovo K3 Note.

Thanks
[Android General] Portgas D. Ace:
Screen On (): 1 h 1 m 38 s 16.8%

This isn't an idle dump. Read post #3 about how to report a proper idle dump file (best way is to charge it to 100% before going to sleep, unplug it and then let your device being idle ( = don't turn on the screen and use it) until you wake up in the morning).
[Android General] cL0uD`:
Help!

Hello,

Just tried this guide and tested it overnight.

I have 2 problems now:

1) Battery drain is still rather quick.

2) WhatsApp messages sometimes arrive with delay. For example today I woke up and only when I turned the phone on I received a message that was sent to me 2 hours ago.

What should I do?
[Android General] :
Hi. Here is my bbs dump for 6 hours and im asking is there any improvement? Currently using greenify, powernap and amplify.

Amplify settings:

-RILJ 600

-Syncloopwakelock 7200

-Networkstats 240

-Android app backup intent run 84000

Thanks for help :)
[Android General] Celestial Fury:
Screen On (): 17 m 11 s

See Post #3 first line (now updated).

You've already used your phone. You didn't limit the Location alarms.

Don't limit alarms with the icon or any WhatsApp alarm/wakelock.

Alarms: 27, Intent: com.facebook.rti.mqtt.e.g.ACTION_INEXACT_ALARM.MqttLite.com.facebook.orca

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

Only 2 draining alarms which doesn't correspond to the relatively large drain. Either your signal or battery is not so good.
[Android General] :
Thx! Do you know what is this *alarm* ?
[Android General] bullfinch110:
In the OP, for me it is not clear if you mean the alarm/wakelock above or beyond the red icon. It would be clearer, if the whole alarm/wakelock was typed in red, maybe with a short explaination (affects push notifications) for example.
[Android General] TNSMANI:
It is clear in the OP. The red cloud icon is at the end of the name of the alarm/Wakelock.
[Android General] cL0uD`:
I did another run tonight with 21 secs of screen on time, attached is my new BBS and screens. Still have 1% per hour.

1) I did limit all location wakelocks\alarms from the guide now, but I don't understand what services do I need to limit? I have found 0 matches to the guide in my list, I'm using Nexus 6.

2) I think that helped, I unlimited every wakelock\alarm with this sign and also this one:

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

People mentioned it also affects sync and I think it worked, I'm now getting WhatsApp notification without delay, thank you!
[Android General] atrix4nag:
I have a question. Can I use greenify and or power nap along with these settings? will it affect anything? please suggest.
[Android General] Portgas D. Ace:
Sure, you can use all three together. Greenify apps that you don't want to run all the time, whitelist only apps within Power Nap that you want to run while screen is turned off. Check the corresponding threads here on XDA for further information about those apps.
[Android General] atrix4nag:
I am using those apps, but sometimes my notifications (gmail and whatsapp) are delayed, so I was worried, if using all of them together is causing the issue.

Also after blocking some alarms for facebook, I cannot greenify facebook.. same with UC browser. So I was just verifying.
[Android General] Portgas D. Ace:
Check OP if you have limited anything related to push notifications or sync. This leads to delayed notifications.
[Android General] atrix4nag:
I already verified it. Let me see ho it behaves with everything inplace, in next couple of days..
[Android General] nachomagic:
Definitively this configuration works and solve my whatsapp notification problem

Same guide configuration but

com.whatsapp.messaging.MessageService.CLIENT_PINGE R_ACTION

wake:com.whatsapp/.AlarmService

I hope it can help someone
[Android General] atrix4nag:
The BBS dump is an idle dump, i lost 0.3% per hour.. which is great.

but when I checked my GSM battery, i see system adspd is running for more than 5 hours (this screen shot was taken after 20 minutes of idle dump) I dont see anything related to this in BBS.

should I worry about this adspd? is there a way to fix it. I am pretty sure i didnt use any media during this period. while i was sleep, I got notifications from messages and gmail notifications, thats it..
[Android General] Robius:
That's the Android DSP daemon, which is likely listening for "OK Google" voice commands. That can be disabled in Google Now settings.
[Android General] atrix4nag:
that's already disabled. That's the first thing I do on any ROM, after the installation.
[Android General] Robius:
Do you use hangouts? The video chat setting seems to contribute to those wakelocks.
[Android General] atrix4nag:
yes, I have hangouts installed. I will check with hangouts uninstalled. Thanks
[Android General] perrocaliente:
Not trying to be a negative Nelly but am I the only person here who doesn't see how neutering all the alarms on your phone clashes with what the op said about being able to run all the goodies? It's just clipping those features behind the scenes rather than turning them off...
[Android General] ZDeuce2:
None of the alarms "neutered" affect the performance of the true functions of said apps, unless you want Google, your phone manufacturer, and the makers of every app you install keeping tabs on every move you make, you'll be fine...
[Android General] andry23jsv:
This morning, I checked BBS alarms and it showed this alarm (not yet blocked in Amplify)

com.google.android.googlequicksearchbox/com.google.android.sidekick.main.TrafficIntentService

So, I opened Amplify-Alarms to find and delay it, but it's not listed in!

If I go to Amplify-Services, I see it. But I want delay, not stop the service.

Any idea? Thanks!
[Android General] Portgas D. Ace:
Which version of Amplify are you using? For me (with latest Amplify version v3.3.6) the above described alarm is listed correctly, use the search funtion to find it (keyword: traffic).
[Android General] andry23jsv:
The latest version 3.3.6.

I delayed that alarm some days ago. Yesterday I've reset Amplify to default. This morning, BBS showed it as alarm, but in Amplify wasn't displayed.

:confused::confused:
[Android General] Portgas D. Ace:
Strange. Maybe you can again reset your Amplify stats (not the settings) and/or cache and check whether this solves your issue or not.
[Android General] sidhaarthm:
Hi all, whilst I got some stellar results from all the suggestions in the OP (see attached screenie for 0.0% drain in 7+hrs!) - I experienced 2-3 random reboots today during normal activity such as typing messages on Telegram. I was typing quickly but that certainly should not make my N6P spaz out of control. I am running stock ROM 6.0.1 build MMB29P with ElementalX Kernel 1.05.

I never had any reboots before installing Xposed and Amplify, so my guess is I might have restricted some important service somewhere. Any support on how to identify these random reboots would be much appreciated. I believe capturing a KMSG message sometimes reveals such info? Thanks in advance!
[Android General] Portgas D. Ace:
To check, if Amplify is really the culprit here, disable it and try to reproduce the random reboots.

Otherwise post the screenshots of Amplify showing what you have limited.
[Android General] sidhaarthm:
Okay, will try now. Thanks!
[Android General] Celestial Fury:
Your GSM screenshot shows CPU usage for only 20s. The audio on for 5 hours is either "on" as in standby only or consumes very little CPU power.

Which goodie can't run under What's Possible? Instant Push Notifications, maybe but mileage may vary as I've said before and I've now added it to Post #1 so there's no confusion.

Update your Google App, maybe. If I recall, earlier versions had this as a service before Google changed it to an alarm.

See if you've limited anything in the dangerous section.
[Android General] Celestial Fury:
So, Custom Regex is finally working after recent Amplify updates. I took a few days to test using [MENTION=5901790]orville87[/MENTION]'s settings - go thank him here but I'm setting it at 86400s (which is enough to stop idle drain) until more info on what these alarms actually do is available. Max limiting is usually reserved for privacy/ad intrusive alarms.
[Android General] andry23jsv:
This solved the issue. Now it's displayed... and delayed :cool::cool:

Thanks :good:
[Android General] perrocaliente:
Well one thing I noticed is that those settings would kill google now and sync would be severely limited. I guess I misunderstood though. It's true he never said google now would work properly so I guess I expected a little too much lol. Can't have my cake and eat it too.
[Android General] atrix4nag:
It was (adspd) on top of my App sucker list with 37% and rest are below 5%. what could be the reason for audio to be on for 5 hours in stand by? any apps are causing it?