yashsingh1/xdaforums huggingface dataset:
[Android General] abeloman:
Hi [MENTION=5401012]Celestial Fury[/MENTION]

Here's my log, I didn't limit anything in the guide, just some wakelocks from whatsapp... I'll be very grateful if you help me to improve my battery life :)

Thanks for your work

http://pasted.co/f8ff19d2
[Android General] Portgas D. Ace:
I guess, you misunderstood his post: the given seconds are equal to the number of hours ;) It is not a "seconds per hour".
[Android General] thegios:
ahaaaaaaa ok understood

thanks
[Android General] Borkjev:
I like the settings and what it does to my wakelocks however I have some concerns:

When limiting as described in the guide i had massive wakelocks from *net_scheduler* and massive battery drain from Google play services. I also limited *net_scheduler* to 7200seconds and everything seems fine.

Limiting com.android.providers.calendar.intent.CalendarProvider2 causes my google calendar alerts to not be displayed. When I have an appointment set with a notification this doesn't come through.

I just disabled this limitation and all seems fine and I don't get weird wakelocks.

I have sync issues for my google account.

It appears to be the Sound Search for Google Play that's not syncing since 2 days ago (when I limited everything according to this guide.)

Any ideas what I can do about this?
[Android General] ktetreault14:
Now only if I could run this on lollipop
[Android General] Cj Marquez:
New try

Hello,

This time I took all the screenshots at the same hour today after a idle period during the night.
[Android General] thegios:
vey similar to what I am getting (see my screenshot a few posts back)
[Android General] milski65:
Can someone check Google Maps and see if you aquire location? Just maps, not travel location. I couldn't aquire accurate location.
[Android General] E66666666:
This is probably as good as I'm going to get. :good:

Galaxy Nexus still be a Galaxy Nexus.

I lost GPS though, so I don't know about that.
[Android General] Celestial Fury:
I'm changing the "/" to "or" to clarify it's seconds OR hours and not per. :)

25min Awake time is too long - should be under 1 min. Partial wakelocks ok. Alarms - Limit GoogleQuicksearchbox. Limit FB katana & orca - they're not sleeping. BUT deny the services in Post #2 first to ensure those servives aren't causing the alarms in the first place. I haven't had to limit FB before IIRC. After denying services, the phone needs to be restarted for the service to be blocked. Under google.android.apps, limit maps/...prefetcherService. Under Android, limit android.net.ConnectivityService.action.PKT_CNT_SAM PLE_INTERVAL_ELAPSED.

There seems to be different sets of google alarm screenshots - are they all from the same idle period? I think you forgot to reset Amplify device stats in Post #3. Those numbers are off. Those screenshots aren't needed either as Amplify doesn't show drain. It can have high numbers and low drain or low numbers and high drain.
[Android General] Celestial Fury:
Which non-draining wakeup triggers for Google Search are you referring to?

Under Partial Wakelocks, limit AudioIn OR are you using "OK Google Now"? Disable it if not using. Otherwise, I think it's keeping the phone awake waiting to hear your voice to activate it.

Under Alarms, limit checkin eventlogservice & location reporting...dispatching service.
[Android General] Celestial Fury:
Yes, *net_scheduler* can also be limited. I'm testing with a spare phone and it causes drain for this phone too. I'll put it up in the guide, thanks.

About the sound search for google, are you talking about "Ok Google" Now? Not syncing two days ago will probably include periods when there was no internet access. Try shortening limit for:

- android.content.syncmanager.SYNC_ALARM

- SyncLoopWakeLock

- SyncManager

com.android.providers.calendar.intent.CalendarProv ider2. Thank you for this! I'll update. I've got an app that shows all calendar notifications in the pull down notification so never noticed this. But this causes drain so... :confused: Still calendar notifications are important.
[Android General] Celestial Fury:
Under Partial wakelocks, limit WhatsApp. I like to keep things under 1 min. Under Alarms limit Google Quicksearch. And FB orca and whatsapp, depending on how much you rely on them. Deny all those services in Post #2.
[Android General] Celestial Fury:
Yes, the map shows current location. See Post #1 under GPS - High Accuracy.
[Android General] Celestial Fury:
There's still 4 mins of awake time to account for. Check your GPS setting under Android setting.
[Android General] sowers17:
I really wish I could get this to work on my Samsung S4 mini. But I don't have most of the wakelocks and alarms you suggest delaying. I don't know what else to delay.
[Android General] Borkjev:
No i'm not talking about Google Now. I'm really talking about Sound Search for Google Play. I'm guessing this is the sync for the Sound Search Widget (shazam-like).

I included some screenshots.

I will try shortening the limit for the things you listed and provide feedback.

And about not having Internet Access: I have Wifi at home & at work and when I'm in the car between home and work I always have a 3G connection so that should not be happening.
[Android General] L30nh4rt:
I´m sure this question has already been raised but I can´t find it via search, so please appoligize my blindness...

As xposed is not and won´t be available on L for some time, is there a another way or tool to make those changes to the alarms?
[Android General] thegios:
GoogleQuicksearchbox: is it com.google.android.googlequicksearchbox/com.google.android.speech.grammar.GrammarCompilationService? Or maybe something else?

FB katana & orca: there are plenty facebook alarms, al least 10, which ones? If i deny the services, do i still get facebook and messenger notifications?
[Android General] Celestial Fury:
What I suggested are based on my phone, the Xperia Z1. Some will be common. Post the screenshots asked for in Post #3 and let's take a look.
[Android General] Celestial Fury:
The guide only recommends a max of 24h for limiting. If you're not syncing for 2 days then it must be something else. If you mean this app, are your other android devices also connected at the same time? If one or more weren't, would it create a sync error? Can you manually sync? If so, stop limiting one of the sync alarms/wakelocks at a time and try syncing until you find what's causing the problem.
[Android General] AlkaliV2:
I apologize for not elaborating, I didn't know if you had used Wi-Fi calling before. Anyway, my understanding of the way Wi-Fi calling works is that the phone actively communicates with the router every so often to ensure that it is connected and able to receive phone calls should the need arise. So it will wake up the device, poll the router, and go back to sleep. It does this a few times per hour but I can't tell exactly how often it does poll just yet. When Wi-Fi calling isn't working it falls back to Volte and standard signal to receive calls. Blocking this alarm won't affect users with good signal, but for others that use Wi-Fi calling exclusively they could see a negative impact.

Just so there is no confusion these are the steps I took to test this issue:

-Telephony alarm for 86400 seconds

-Received "Error: 81 Unable to Connect"

-Cycled Wi-Fi calling to see if that would correct it

-Error Re-appeared after a few minutes

-Removed Alarm block and Cycled Wi-Fi calling

-Connected Properly and stayed on

As for disabling a service elsewhere on my phone, I can assure you that I wouldn't disable anything that affects Wi-Fi calling. I actually wrote the guide on Touchwiz software for the Note 4 so I know what services are needed to ensure Wi-Fi functionality in Kit-Kat and Lollipop. I also saw another guide for extreme battery saving and that guide mentioned setting it to a lower value. I just tried setting telephony wakelock to 600sec and so far so good. I'm going to have someone call me later today to test its reliability for the alarm being blocked at all.
[Android General] ar2o:
I see everything is limited at 7200 but if by accordingly you mean the limitations as per the guide then I'll change that tonight and see how she sleeps :)

Sent from my SM-N910T using Xparent Skyblue Tapatalk 2
[Android General] vctrrl:
No drain overnight, turned off. Just 1% after finishing boot and loading everything. But drains in airplane mode. I can check it again but usually 0,9% per hour. A huge drain.

I usually charge the phone turned on. Actually, I always charge it turned on.
[Android General] ghiurtuv:
Hi guys,i configurated amplify but he doesn't block anything,why?(attached screenshot)
[Android General] Celestial Fury:
You can limit these. Some are in the guide. Note that apps that are notification based may have their notifications affected. Also see the cloud icon in the guide.

Alarms: 58, Intent: com.facebook.push.mqtt.d.b.ACTION_INEXACT_ALARM.com.facebook.orca

Alarms: 10, Intent: com.facebook.analytics.service.a.ACTION_ALARM

Alarms: 9, Intent: com.facebook.common.executors.dg.ACTION_ALARM.com.facebook.orca.Mqtt_Wakeup

Alarms: 12, Intent: com.facebook.common.executors.dg.ACTION_ALARM.com.facebook.orca

Alarms: 75, Intent: com.android.internal.telephony.data-stall (if you don't use WiFi calling)

Alarms: 16, Intent: com.whatsapp.alarm.CLIENT_PING_TIMEOUT

Alarms: 14, Intent: com.whatsapp.messaging.MessageService.CLIENT_PINGER_ACTION

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

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

Alarms: 4, Intent: com.google.android.gms.analytics.ANALYTICS_DISPATCH
[Android General] Celestial Fury:
I definitely don't have WiFi calling. Guide updated with thanks.
[Android General] Celestial Fury:
I'd like to see the dump in airplane mode. Something needs to be fixed there first. Besides the dump, also need in BBS - Graphs (save, attach) and a screenshot of the stock battery usage and history details.
[Android General] Celestial Fury:
Has it blocked before? Are you on Lolipop? Do other Xposed modules work fine? Have you seen the alarm/wakelock screens if they're really not blocking?
[Android General] abeloman:
I'll limit and report back... Thank you very much!

No contesto privados, cualquier cosa mandar mensaje Hangout a xxabelomanxx@gmail.com
[Android General] ghiurtuv:
No,it never blocked.I think the others modules working,not 100% but they are working.I have Gravity and some works,some don't.I don't understand your last question.Thank you.
[Android General] Celestial Fury:
Have you limited Amplify in XPrivacy? Is Amplify greenified? You may need to ask in Amplify thread.

In Amplify, go to Alarms or Wakelocks section. Have you limited anything? If limited, are they blocked?
[Android General] Catpoule:
Hi everybody. First time on this rom. I can't access the theme store to try others theme. When I try to connect it says not for my country. How can I solve that ?

Envoyé de mon SM-N910F en utilisant Tapatalk
[Android General] la2o:
Wonderful guide thank u really helped with my battery. So many unnecessary alarms
[Android General] rhazahrd:
limiting this affects connection between cerberus app and cerberus dashboard (www.cerberusapp.com)

probably affects any other tracking app.
[Android General] ar2o:
Here are my updated stats. Location alarms have been limited as per guide as well as a few user apps that wont sleep :P I did not limited any wakelocks (NLPwakelock) as I wanted to get the alarms limited down first as per your instructions. Next step is to limit those location wakelocks I assume? Thank you in advance for any advice! :)
[Android General] ghiurtuv:
Thanks for reply.I don't have Xprivacy,and i don't greenified Amplify.Yes,of course i limited,but nothing is blocked.Everything wake up but is not blocked.
[Android General] Celestial Fury:
In what way? I'm using http://myxperia.sonymobile.com and I can get a location and an email of that location sent.
[Android General] Celestial Fury:
Alarms: 4, Intent: {com.android.exchange/com.android.exchange.MailboxAlarmReceiver}

Alarms: 2, Intent: {com.android.exchange/com.android.exchange.EmailSyncAlarmReceiver}

(how badly and frequently do these need to sync?)

Alarms: 3, Intent: {com.google.android.googlequicksearchbox/com.google.android.velvet.VelvetBackgroundTasksImpl$Service}

(I can't find this in Amplify - can you? )

Alarms: 2, Intent: android.appwidget.action.APPWIDGET_UPDATE

Alarms: 4, Intent: {com.quoord.tapatalkskyblue.activity/com.quoord.tapatalkskyblue.alarm.PingsOnAlarmReceiver}

Alarms: 3, Intent: action_batch_upload cmp={com.instagram.android/com.instagram.common.analytics.AnalyticsUploadAlarmReceiver}

(see if you can limit this to the max)

NlpWakeLock

NlpCollectorWakeLock

(these can be limited right away)
[Android General] ar2o:
Thank you! Will report back tomorrow with a text dump file :) I really appreciate your help!!
[Android General] Portgas D. Ace:
Uhm, wrong thread? :confused:
[Android General] Catpoule:
Yes sorry. Big mistake. Lol

Envoyé de mon SM-N910F en utilisant Tapatalk
[Android General] CheyTac-12:
com.google.android.gms/ads.jam.NegotiationService causes fc upon reboot. Is it important to have it disabled?

Nexus 5 5.1.1
[Android General] Celestial Fury:
It doesn't for me. Force closes what app? Reboot again and see if it still FC. It's ads related. You don't need it disabled if it causes problems.
[Android General] CheyTac-12:
Sorry for the lack of necessary information. It fc play services.

I use Xposed + Minminguard, AdAway and Youtube Adaway to block all ads on my device. Not sure if this is somehow related.

And I'm 100% sure that it is this specific service that causes the fc, I had to reboot my device a hundred times in order to discover it. After enabled, it doesn't fc anymore.
[Android General] Joy Bangla:
getting sensor_ind wakelock all night but cant find it in ampily. what to do?
[Android General] Celestial Fury:
If I recall correctly, it force closes the first time it's disabled after reboot but on subsequent reboots it no longer FCs and I still have it disabled. But that's just my device and it would be great to get confirmation that it does or doesn't FC subsequently for other devices.
[Android General] Celestial Fury:
And where did you first see it? Sounds like a kernel wakelock. If so, Amplify doesn't do kernel wakelocks.
[Android General] Joy Bangla:
ya it is a kernel wakelock. didnt kno that about amplify. thnx anyway
[Android General] vctrrl:
Google Play Services fix you suggest looks like this?
[Android General] Celestial Fury:
Yes, that's how it is on mine. Note that alarm_wakeupxxxxx will still occur when your screen is on (if Servicely is set to only kill when screen is off) but they won't drain like they did before.
[Android General] vctrrl:
Actually, it doesn't occur while screen is on. Servicely is set to only kill when screen is off. About the original post: it had a few items no longer shown like Icing, GcoreFlp, Config Service Fetch. Should I remove them?
[Android General] Celestial Fury:
They won't "occur" in BBS but you can still see them in Amplify. Yes, it is better to remove items that no longer drain to increase functionality.
[Android General] CheyTac-12:
It force closes on my girlfriend's Moto G running 4.4.4 too, upon reboot multiple times. Perhaps you should consider adding a disclaimer regarding this service.

Thank you for this tutorial and for your help.
[Android General] vctrrl:
Thanks! Didn't knew that. Those that no longer drains apply to Lollipop only?
[Android General] Celestial Fury:
I removed them when I was still on KitKat. It's probably more specific to the Google Play Services version.
[Android General] vctrrl:
Another dump and still draining like hell. As you asked, it was in airplane mode. Apparently more drain than in normal mode. It was charged following your instructions too. Almost no wakelocks or alarms shown in BBS.
[Android General] Celestial Fury:
In airplane mode, there's no drain from WiFi or cell signal. Awake for 51 s with low wakelocks (partial & kernel) and alarms. Also, hardly any CPU activity. I also see the battery drain skipping now. Skipped at: 99, 95. This will affect the drain %. I'd have to say it's the battery. Even without the skipping, the battery is probably weak.

I also have the skipping on my Z1 but mine's worse. Besides the upper level skipping, it also, shuts down when it reaches between 20-40% and drains completely.
[Android General] Theodolus:
How do you attach files here? Sorry for this newbie question, I've been looking for this option but I can't find it.

Anyway, here is the result and I'm really happy with it but I couldn't get the same result while I was on lollipop though. Any tweak recommended apart from 'com.google.android.intent.action.GCM_RECONNECT' (I forgot to add this one) ?

I also use Greenify and I would like to know if it's okay to hibernate the 'CM logger' and 'com.qualcomm.qcrilmsgtunnel' processes. I believe this last one is related with the fast dormancy feature but I'm not really using 3G all the time. I add the following 'ro.semc.enable.fast_dormancy=false' to the build.prop configuration file but the process still shows up as running in the background so I greenify it.
[Android General] Portgas D. Ace:
Nothing more to do here. 1% loss for a period of more than 7 hours is awesome. You could limit the GCM_RECONNECT, but this will affect push notifications. If you rely onto them, don't limit it.
[Android General] gregferns:
[MENTION=5401012]Celestial Fury[/MENTION] [MENTION=5901790]orville87[/MENTION]

Sorry for a noob question,, but tell me.... When i run Amplify once it blocks alarms and wakelocks it should show under device stats right ??

I mean i see for example

WAKELOCKS ACQUIRED - 1170

WAKELOCKS BLOCKED - 0

ALARMS FIRED - 351

ALARMS BLOCKED - 0

Do the above 0's mean Amplify is notworking properly ???

thanks in advance.

Greg
[Android General] Portgas D. Ace:
Well, if it is truely showing 0 blocked wakelocks/alarms, then Amplify is not working properly. Are you sure that Xposed framework has been installed properly? You could also try to reset your stats and limit things, then do a reboot. Sometimes a reboot is required after changing things in Amplify (mostly after blocking services, afaik). Otherwise an Xposed log file would be helpful to check whether Amplify is working or not.
[Android General] gregferns:
Here's my xposed log if you can help....

I feel xposed framework is installed correctly as other xposed modules work fine... and i'm smashing my head against this problem from quite a few days now.... rebooted many times, changed roms, even gone from cm12.1 and cm 12.1 based roms to cm 12.0 and still the same...

i'm really at a loss as to what is happening...
[Android General] Portgas D. Ace:
Have you considered changing SELinux from Enforcing to Permissive (for example with this tool)? This might solve the issue. Reboot after you have changed your SELinux and report back.
[Android General] gregferns:
Actually i've been using this same app and in system itshows mw SELINUX PERMISSIVE....Even in the app it shows SELINUX mode PERMISSIVE and i think its set to run on boot... And i've rebooted many times since...

I think in the log its showing as enforcing right???

What do you suggest ??
[Android General] Portgas D. Ace:
Yes, according to your log file, your SELinux is set to Enforcing.

I guess the best way to get further help with this issue is to post in the official Amplify thread.
[Android General] milojoseph:
Help check please again.
[Android General] Theodolus:
When the Quiet hours are activated I get this alarm for more than 4000+ times in just a few minutes "com.cyanogenmod.util.action_quiet_hours" Do you know if we can block it?
[Android General] ar2o:
Battery Stats - Im almost there! :D

If someone can see anything here to be limited please tell me :) I cannot limit the exchange account no more as it is linked to my work account and that syncs every hour or 3600, Calendar as well. Thank you all for all your help so far! :)
[Android General] vctrrl:
Happened to me a few times last week. Dropped from 40%~ to 30% then immediately to 15% and powered off itself . I was suspecting of my battery was getting weak recently. That's why I originally came to thread. Feels like getting worse now. Thanks anyway! That probably would be worse without your instructions.

I'll test your guide in my former device.
[Android General] Celestial Fury:
Partial wakelock

Checkin Service (Google Play services): 1 m 27 s

Alarms

Alarms: 4, Intent: {com.cyanogenmod.lockclock/com.cyanogenmod.lockclock.weather.WeatherUpdateService}

How often do you need it to update?

Alarms: 4, Intent: {com.google.android.googlequicksearchbox/com.google.android.velvet.VelvetBackgroundTasksImpl$Service}

Can you find this under alarms in Amplify? I found it under Services - don't deny it if so.

CM logger - can you just turn of its logging in its settings?

com.qualcomm.qcrilmsgtunnel - if you've greenified it and it's fine, just remember about it if and when you use 3G and something doesn't work.
[Android General] Celestial Fury:
What do you mean when you run it once - for the first time? Have you limited anything yet? If so then yes, the number of blocked alarms and wakelocks should show under device stat.
[Android General] umar_bia:
nice
[Android General] Celestial Fury:
Screen On (): 8 m 54 s - too long. The dump should be taken under 1 min. For 8 mins, CPU and network is already somewhat active so it's not really idle anymore.

Partial wakelock

ConnectivityService (Android System): 2 m 43 s

in the guide

Alarms

Alarms: 6, Intent: android.appwidget.action.APPWIDGET_UPDATE

in the guide

Alarms: 4, Intent: LeanData.DataService.TurnOffAlarm

Alarms: 3, Intent: LeanData.DataService.SyncEnableAlarm

Causes some drain here
[Android General] Celestial Fury:
Post #3

Test Idle Battery Drain

6.
[Android General] Celestial Fury:
Alarms: 5, Intent: {com.quoord.tapatalkskyblue.activity/com.quoord.tapatalkskyblue.alarm.PingsOnAlarmReceiver}

Still haven't limited this (some more)?

Alarms: 1, Intent: com.google.android.gms.analytics.ANALYTICS_DISPATCH cmp={com.google.android.gms/com.google.android.gms.analytics.AnalyticsReceiver}

in the guide

I don't think you can get [0.0%/h] with an active exchange.
[Android General] Celestial Fury:
How old is your phone/battery? Mine's coming up to 2 years. Have you sent it for repair before? Has it been opened up? My problem started after getting it back from repair and I'm wondering if they fixed it back properly/same battery. Otherwise, I wonder if it's a Z1 problem or of non-removable batteries in general.
[Android General] vctrrl:
About a year and a half. As far as I remember it was bought in 2014, January. Never sent it for repair, never been opened up. It's not waterproof anymore as the rubber seals are now defective. Then started to get water drops inside the camera but battery was already bad when it happened, I guess. I'll probably get a new phone soon. Probably a Z3 or a Z3+ when they start selling it in my country. I'd like to replace the battery but I guess it won't be cheap. Two years of charging cycles are not that much to kill a battery (I wish it weren't at least)
[Android General] gregferns:
Sorry, but you misread the statement :)

When i run Amplify once it blocks alarms and wakelocks it should show under device stats right ??

I meant When i run Amplify, ONCE IT BLOCKS ALARMS AND WAKELOCKS, it should show under device stats right ??

And yes, i have limited mostly everything as per this thread

http://xdaforums.com/android/general/guide-extreme-battery-life-t3095884

But number or BLOCKED ALARMS and WAKELOCKS ALWAYS shows 0

I also use greenify and powernap but Amplify is NOT greenified and its in the whitelist of Powernap.

Maybe you can help... let me know what logs you may need please.

thanks

Greg
[Android General] Emmago:
what do you think? do you feel greenify is necessary since i have amplify?

---------- Post added at 09:16 AM ---------- Previous post was at 09:14 AM ----------

same here too
[Android General] Theodolus:
Every two hours or so.

Where can I find it? I already removed my CyanogenMod account to stop syncing.
[Android General] Portgas D. Ace:
Two hours correspond to 7200 seconds. Limit it to 7200.