yashsingh1/xdaforums huggingface dataset:
[Android General] rdoane:
Does anyone have any insight into these two alarms?

com.chrome.beta/com.google.ipc.invalidation.external.client.contrib.AndroidListener$AlarmReceiver

com.chrome.beta/com.google.ipc.invalidation.ticl.android2.AndroidInternalScheduler$AlarmReceiver

In another post (not from V7 or Portgas) it was mentioned that you could limit them to 480. I went ahead and did it and so far so good, but would like to know a little more on what I'm limiting rather than just blindly trusting a random post.

Thanks in advance.
[Android General] GraciasOrtega:
I notice improvement in mi S3 i9300 with 4.3 original ROM. Can make the day and a little bit more without plugin to the charger. I use powernap, greenify and amplify. Awesome apps.

By the way, v7 you can put the powernap link again, developer resumed activity, it's now on course the powernap thread. Greetings.
[Android General] earth08:
http://cloud.tapatalk.com/s/573c2392df39f/BetterBatteryStats-2016-05-17_072533822.txt.zip

Please can you check it

Thanks
[Android General] Portgas D. Ace:
qcom_rx_wakelock (): 3 m 7 s Cnt:(c/wc/ec)3398/751/3398 0.8% -> this one is related to your WiFi, but I have no idea what you can do about it (beside turning off your WiFi, but this isn't what we want to achieve)

Alarms: 12, Intent: com.cyanogenmod.lockclock/.weather.WeatherUpdateService -> related to the cLock widget, you can limit it to 3600, so weather gets updated once per hour

Alarms: 13, Intent: com.cyanogenmod.lockclock.action.CANCEL_LOCATION_UPDATE -> also related to the cLock widget, you can set a static location if you want instead of using location service for location determination

Alarms: 15, Intent: dk.tacit.android.foldersync.full/dk.tacit.android.foldersync.lib.receivers.ScheduleAlarmReceiver -> FolderSync is running in the background, you could limit it to 3600, so that sync will take place once per hour (you might even set it to 7200 if you are fine with sync each two hours)

10105 (Wifi) (com.skype.raider.Skype): 2.0 MBytes 37.5% -> seems that Skype is active and downloads data

10095 (Wifi) (com.avast.android.mobilesecurity.Avast Mobile Security): 1.0 MBytes 26.3% -> Avast downloading data in the background

You have lots of services running in the background. Hibernate all of those that you do not explicitly need with Greenify and try to limit alarms according to my suggestions. If you rely on all of those things, there will not be any room for improvements.
[Android General] rdoane:
I've been getting alarms with the title "CONTEXT_MANAGER_ALARM_WAKEUP_xxxxx". I figured this was just like the "ALARM_WAKEUPxxxxx" in the guide so I wrote the follow regex to block "CONTEXT_MANAGER_ALARM_WAKEUP_[0-9]+".

However the alarms are still coming through. Any suggestions on what I might need to tweak with the regex? Thanks!
[Android General] BatDroid:
what's screen frozen wl?
[Android General] 12gage:
Here's my dump again, I hope I did right this time. Went from 100 to 71% untouched in 6.5 hours, if anyone could help I would appreciate it.
[Android General] Portgas D. Ace:
Did you clear Amplify's stats after enabling the regex function? Most likely the stats are showing old alarms. Maybe the XXXX consists of digits and letters (for example CONTEXT_MANAGER_ALARM_WAKEUP_X12AB4). Then you have to adapt the regex, as [0-9] will only block alarms that have digits only.

bluedroid_timer (com.android.bluetooth.Bluetooth): 3 m 18 s Count:61 0.9% -> Bluetooth was active during idle time

wlan_rx_wake (): 42 m 25 s Cnt:(c/wc/ec)4481/290/4482 11.1% -> check this thread

Beside this, you have lots of kernel-related wakelocks, maybe you could use another custom kernel.

Alarms: 13, Intent: com.google.android.gms.wearable.node.bluetooth.RETRY_CONNECTION -> seems that your device was trying to connect to a wearable device, this is known to drain battery

Alarms: 6, Intent: com.android.providers.calendar.intent.CalendarProvider2 -> you can limit this one to 86400 and use Calendar Events Notifier instead
[Android General] rdoane:
Thanks for the response. Yeah I did clear Amplify's stats and they were still showing up. Also so far I've only seen numbers with these alarms, which is a good and a bad thing I guess seeing as that means the regex should be working.

I charged up fully and am generating a log as we speak. I also reset Amplify's stats again so I'll let you know if they come back.
[Android General] rdoane:
Looks like it is still showing up in BBS (log attached): Alarms: 0, Intent: CONTEXT_MANAGER_ALARM_WAKEUP_83251

Are limited (either by regex or the traditional method) alarms supposed to show up? I assume traditionally limited ones are (when they are allowed to run), however I've never seen an ALARM_WAKEUPxxxxx (the other regex I have) so I'm not entirely sure if that is the proper behavior.

Also, anything else in the log stand out to you? I know Nine, PocketCasts, and Weather Timeline are causing wakelocks/alarms, this is intentional.

Thanks again for your time and review.
[Android General] BatDroid:
whats this wakelock?

"screen frozen"

This is the biggest one after activity manager.

Somebody explain please
[Android General] 12gage:
Thank you for the advise, I have had wear connection issues since switching to a 5.1.1 ROM, which after looking it up seems to be a LP issue that some users have. Does anyone have a remedy for that? I'm trying a Bluetooth Auto Connect app but it doesn't seem to be doing the trick.
[Android General] djurkash:
Hi Portgas,

I've finally managed to create proper version log file here.

Phone was in idle, in airplane mode, and consumption was still rather high (0.9%/h), with my limited knowledge of log reading I can't see anything particularly strange that could cause drain. My phone is dual sim model, but, as I've said, no network was working. I've noticed that battery tends to deplete slower in first half of 90-100% range (i.e. 100-95%), than in second (causing lower consumption around 0.3-0.4%/h, when a log file is covering up to 3-4h off idle time, but that could be subjective).

Phone is rooted, but still no custom recovery, I'll take care of both TWRP and Xposed for the weekend, and if you see smtg that can be managed with amplify, I'll do it...thanks

sent from e6533
[Android General] Portgas D. Ace:
The answer to the CONTEXT_MANAGER_ALARM_WAKEUP_xxx issue is right there:

Alarms: 0, Intent: CONTEXT_MANAGER_ALARM_WAKEUP_83251 -> this means, the alarm has been triggered, but was blocked. So everything is working as expected :)

From your log file:

Alarms: 16, Intent: com.ninefolders.hd3.intent.action.TRIGGER_ACCOUNT_WAKEUP -> this is the only "big" issue, you can limit this one to 900 (once per 15 minutes or four times per hour) if you are okay with Nine to sync each 15 minutes

The rest looks good :good:

Alarms: 5, Intent: com.solderbyte.openfit.service.cronjob -> seems that Open Fit is active during idle time. If you depend on it, there is nothing we can do here.

Alarms: 4, Intent: com.sonymobile.hostapp.sbh54/.time.SendTimeReceiver -> seems that Stereo Bluetooth Headset SBH54 has been active, the same as for Open Fit applies also for this one: if you rely on it, nothing can be done here

I would guess that Bluetooth has been active and thus draining some battery. Turn it off if you don't use it, this will reduce the drain.

How old is your device's battery? The Z3+ should not have such issues with batteries.

If you are willing to switch to a custom ROM with custom kernel, the battery drain may also decrease.
[Android General] djurkash:
Thanks Portgas,

so, I use gear fit with open fit app, and bluetooth headphones sbh54 (app has the same name), regularly, but during the time that log covers, both devices were turned off, and phone was in airplane mode, so I thought app would not wake up as the communication was impossible from either direction. Second, both alarms are showing small number of wake-ups, shouldn't be insignificant in terms of battery drain, our am I wrong?

Regarding the rest, phone and battery are new, and I am getting 4+ hours of SOT which is inline with what others are getting with the same phone, I just want to get rid of idle drain.

And, unfortunately, we are still not so we'll supported in terms of kernels, we just recently got proper root and twrp, but I believe it'll be better soon...

Thanks again...

sent from e6533
[Android General] Portgas D. Ace:
Yeah, the numbers of alarms are small, they shouldn't drain much battery. Nevertheless, these were the only things that might be responsible for the drain. It might be that the idle drain is a general issue with Z3+ devices, I can't really share any experience about this as I do not own a Sony device. Let's hope that development for the Z3+ will increase in the near future.
[Android General] xstormli:
if it has other than numbers, use this regex

"CONTEXT_MANAGER_ALARM_WAKEUP_\w*"
[Android General] timeshiftt:
So I followed this guide on my Galaxy S6 and in my test I lost 5% overnight with wifi and sync on (in 7h30min of being unplugged, the phone stayed on deep sleep for 7h19min).

Is it a good number? I remember reading in the power nap thread that it could make you lose as much as 0.2% overnight

The highest number of alarms came from Google play services: 131.
[Android General] ryanallaire:
I feel like I'm getting high numbers for awake(screen off) time, here's a dump if you could have a look please :)
[Android General] Portgas D. Ace:
It might be a good number, but I would recommend you refer to post #6 and upload an idle log file, so we can have a closer look and reduce your idle drain.

Seems that you forgot to upload the log ;)
[Android General] NoyNoying:
Hi Guys,

is this tutorial applicable with samsung galaxy s3?

Custom rom : QS KK 4..4.2

I have greenify donate. But if the tutorial is also applicable to my phone I'm thinking buying amplify donate.... hoping for a swift reply... thank you so much :)
[Android General] neonkat:
this is universal,i.e,for all devices.
[Android General] NoyNoying:
thank you :good:
[Android General] nickname_marco:
Guys

A while ago I followed the guide but something was wrong with gps apps - I uninstalled all the apps because I didn't have time to check properly.

Lately I installed Garmin Connect which is necessary for my activity tracker (that's why BT is always on). It's killing my battery. In particular, it looks like

WeatherConditionsRequest

GarminConnectMobile: DeviceSyncOperation

Are generating lots of partial wakelocks from com.garmin.android.apps.connectmobile.Connect.

How should I limit them? I believe I should limit those two in Amplify using the wakelock tab.

Is there anything I can do to limit the alarms of com.android.bluetooth?

BTW, at the moment I am using Amplify & better battery stats only. Then I see how it goes over time.

Thanks a lot!
[Android General] NoyNoying:
Hi,

I'm getting GOOGLE PLAY SERVICES FORCE CLOSE. After I configured Amplify from OP. Everytime I reboot my Samsung Galaxy s3. Custom ROM : QS KK 4.4.2

How can I resolve this? Hoping for swift reply... ☺

Thank you!
[Android General] joshuous:
I found that blocking Icing wakelock causes this issue. Try unblocking it and see whether the problem is fixed?
[Android General] NoyNoying:
I've rebooted for x5 already. I didn't see the error anymore... Thank you!

Quick question

Amplify didn't ask for root. How can I resolve this issue also? Please help me again. As I am new to amplify. Thank you in advance! ?
[Android General] timeshiftt:
WTF????

1% loss in less than 5 minutes of use.

Galaxy S6. Brightness at 45%.
[Android General] JustPlayingHard:
Happens, the device doesn't fully charge and doesn't fully discharge.
[Android General] timeshiftt:
Even after being on the charger for more than 5h ?
[Android General] JustPlayingHard:
Yes. It's to protect the battery from dying completely and being unchargeable. ?
[Android General] nickname_marco:
Edit. Looks like I have it as well. I have reverted temporarily the icing wakelock and so far I don't have it. Try it.

Edit2: someone already answered.
[Android General] aidy.lucas:
If you get constant Google play services has stopped toasts and you are running latest Google play services apk+amplify unlimit the ICING wakelock and all will be fine at least it is for me so far

D2303 5.1 deodexed z2 port+z5+X apps+themes, be,xr,sv,ad,XZRt2urecovery,xposed,z5 cam2.0,xLOUD,S-Force,viperaudio+more
[Android General] NoyNoying:
What is the difference with RILJ and RILJ1? In OP I have to amplify the RILJ and I don't have it.

Because I have only RILJ1 in amplify. Is it safe to amplify it? Thank you! ?

Phone is Samsung Galaxy s3.
[Android General] Andiii:
Any idea how to stop WLAN (comes paired with MMC) wakelocks

Flashing tomato to my ac66u Router solves the wakelocks but the Router is not running fine with tomato - so I had to flash back to Asus Stock. And wakelocks appears immediately.
[Android General] TraCerTz:
I was having the same issue. Same thing happened to Gmail and Chrome. After trying too many things I just downgraded to the previous version of play services, by going on config - apps. Check out if it works for you.

P.S: youtube doesnt work with the old version of play services but wth i dont mind

Enviado desde mi LG-D806 mediante Tapatalk
[Android General] NoyNoying:
Thank you!

if my I ask What is the difference with RILJ and RILJ1? In OP I have to amplify the RILJ and I don't have it.

Because I have only RILJ1 in amplify. Is it safe to amplify it? Thank you again ;)

Phone is Samsung Galaxy s3.
[Android General] OhayouBaka:
2% drain over 8 hours, but is there any way to improve on this?
[Android General] djurkash:
Probably not, this is more than good result, but you're using newest version from Google play store, same as I did, and you can not see alarms from this log. Use the latest beta from first post in bbs thread

sent from e6533
[Android General] NoyNoying:
DELETED
[Android General] timeshiftt:
So here's my final test with the included BBS log. Almost 10h of standby with WiFi and sync on and 6% of battery lost.

As I didn't know the format you want for the log, I uploaded these two.

Galaxy S6 SM-G920I here (might show as G920F wrongly)

I'm going to make another test tonight with a "stock" configuration, without any of these modifications to supposedly improve battery life.
[Android General] aidy.lucas:
I'm having the same problem, tried this myself also not working anyone know what the new regex would be?

D2303 5.1 deodexed z2 port+z5+X apps+themes, be,xr,sv,ad,XZRt2urecovery,xposed,z5 cam2.0,xLOUD,S-Force,viperaudio+more
[Android General] NoyNoying:
Please help me guys....

6 hours 5% lost in battery. How can I improve this? Please help me guys in how to improve battery.... :confused::crying::crying:
[Android General] tet-bundy:
http://xdaforums.com/showthread.php?t=871051

Gesendet von meinem unknown mit Tapatalk

---------- Post added at 08:36 AM ---------- Previous post was at 08:25 AM ----------

Hi,

first thanks [MENTION=5867207]v7[/MENTION] for this thread!

I also came across the cell network thing. The link to "smart network" does not work for me. I thi k it's just nkt available in my country. I use [URL="https://play.google.com/store/apps/details?id=com.voidvapps.intelli3g]Intelli3g[/URL] for this. Unlike the name suggests it actually also manages 4g. It is an xposed module, but as it is mandatory for this guide i thought u maybe want to link to that app also for people not having access to smart network via play store.

Regards

Gesendet von meinem unknown mit Tapatalk
[Android General] NoyNoying:
What are things I can do to save battery in Amplify? I already installed greenify, power nap, and Amplify. Please help me...
[Android General] stefano91av:
How can I improve my system, please? :)
[Android General] OhayouBaka:
I made another log with the latest beta of BetterBatteryStats
[Android General] djurkash:
Are you trying to be funny !?

sent from e6533
[Android General] OhayouBaka:
No, why?
[Android General] beforeitwascool:
My google sync stopped working for apps like Keep, Inbox, Calendar, Youtube (and Facebook too doesn't refresh the home screen).

I tried removing the limitation for SyncLoopWakeLock in Amplify, but still i get no sync.

In Amplify I limited AudioIn, GCoreFlp, NlpWakeLock, CheckinHandoff, CheckinService, WeatherUpdate, NipCollectorWakelock. I limited also com.google.android.gms/.icing.service.LightweightIndexService$LightweightWorkerService

I tried to find out which service is related to google sync but i haven't been able to find it!
[Android General] Anniepoo:
I would like to setting it up that all apps works nicely when I open then. And Facebook/Whatsapp/Email just check every 5 minutes. How to do this?

These 3 apps dont need to be greenifyed?(or its better when?) and just in Amplify all whatsapp/Facebook/Email related wakeups and alarms to 300 seconds?
[Android General] Rakuu:
If you want battery youll need to get rid of facebook, no way around it.
[Android General] LiL_Assassin:
0.3% with Facebook installed. Just greenified it.
[Android General] BatDroid:
icing, maybe
[Android General] Anniepoo:
I dont Greenified Facebook (its the lite version) and Whatsapp still don't get messages. In Amplify the same. Only in wakelock detector they appears...
[Android General] AndroGuru:
Even though I have white listed Android System today in the mrng my screen did not wake up. I had to reboot. Any ideas? It happened only once though. Anyone else facing this too?
[Android General] Cyclu:
Hi vaisakh7! :)

I am glad to see you here again, we had some discussions in your other thread about system update fix. Congratulations for become recognized contributor and for a nice guide.

See my post from Amplify thread about the location alarms with the ".nlp" in their name, it explains why the peoples no longer find these alarms in Amplify.

http://xdaforums.com/showthread.php?p=60567639

[MENTION=526666]cryptyk[/MENTION] is aware of the problem and I hope he will fix that in the next version. Personally it not bothers me because I have donated in Amplify, the problem is for free version users.
[Android General] Kateuka:
Glad that this helps my battery life! Congrats m8
[Android General] v7:
[MENTION=1592495]Cyclu[/MENTION] Glad to see you here mate :)

Thanks for the heads up :D.I've updated the OP with the new names.Please check it.
[Android General] closee91:
Can this work on 5.1 ROMs? I thought there wasn't xposed for newer roms
[Android General] JudgeDread11:
I am setting up my device according to this guide and was wondering why you use amplify to block some services (com.Google.Android.gms/*) and my Android tools to block others?
[Android General] v7:
You can either use MyAndroidTools or Amplify to disable services.I added MyAndroidTools to the guide as an update, so forgot to edit the Amplify List.

Tapped from my furious dogo ;)
[Android General] v7:
Here's the link for Xposed 5.1.

Tapped from my furious dogo ;)
[Android General] vocalists:
which of these services are safe to disable? thanks

com.qualcomm.qcrilmsgtunnel

deviceconnectionservicebroker

aliveacoreservice
[Android General] osen:
after a week follow this guide..

keep force close while running game ( heroes charge, league of angel ) ?? :confused:

need a solution pls.. thanks
[Android General] v7:
None of these.

Why would you want to touch these?Are they causing you troubles to you?

Tapped from my furious dogo ;)
[Android General] v7:
I believe it has nothing to do with the guide.If you hibernate the Games,make sure you don't have forced hibernation(ignore running state) on the them.

Maybe a log can help.

Tapped from my furious dogo ;)
[Android General] osen:
hmmm im not greenify that games....

it says " TIME, unfortunately ...has stopped "

if it related to the game, im already check with 2 games download from PS, and the same messsage appear.. :confused:
[Android General] v7:
Can you try re-enabling WatchdogService and FeedbackService ?

If that doesn't help,You better ask in some help threads.Here's a link where you can ask this question.

Tapped from my furious dogo ;)
[Android General] osen:
still same problem . . .

anyway thanks for the help :good:
[Android General] vocalists:
oh ok , these services are running from back ground and i don't know what they do.
[Android General] v7:
Post me a BBS dump.Let me see if it drains much juice.

Tapped from my furious dogo ;)
[Android General] closee91:
Amplify seems soooo confusing. And I don't wanna buy the donate version which you NEED to buy. Can't you do all that it can do with MyAndroidTools (for screen on) and servicely (setting it to screen off) and disable services like that?

Amplify is just confusing, and in the OP its hard to find all the services mentioned because there's also services not all of us might have (like the WhatsApp stuff) is it just me?

Sent from my LG D851 running Blisspop ROM
[Android General] onlytanmoy:
[MENTION=5867207]vaisakh7[/MENTION]>> sorry if my query sounds n00b. If I greenify Gmail, Whatsapp, Hangouts etc, will I still be receiving the push notifications? Is it ok to greenify TouchPal, Swiftkey- the keyboard apps?
[Android General] Weetbix:
I actually did have the issue for a while after installing powernap foe the first time. I'm not getting it any more though. I have no idea why not - I don't think I'm doing anything extra. Although my rom did update at about the time the problem stopped. Related? No idea...
[Android General] mvlad:
Spoiler content hidden.

Sent from my OnePlus 2
[Android General] djurkash:
Spoiler content hidden.

Sent from Nexus 7
[Android General] ROKO__:
I cannot understand if there is improvement. I've using xosp rom.
[Android General] ninekaw9:
How do I limit Google Location History tracking like one track every 5 minutes. There are so many wakelocks related to Location that is so confusing.
[Android General] Portgas D. Ace:
BetterBatteryStats version: 2.1.0.0 -> update it to 2.2.0.0B6 (can be found in the BBS thread on XDA)

*sync*/com.google.android.gm.email.provider/com.google.android.gm.legacyimap/eM_ADDR (com.google.android.gm.Gmail): 1 m 9 s Count:5 0,2% -> Gmail synchronizing during idle time

wlan_rx_wake (): 6 m 46 s Cnt:(c/wc/ec)526/224/525 1,1% -> see this thread

Your alarm stats are corrupted, update BBS and upload another idle log file.

Alarms: 3, Intent: com.google.android.gms.analytics.ANALYTICS_DISPATCH -> limit it to 9999999

How old is your device's battery?

"wlan_rx_wake" (): 2 m 20 s Cnt:(c/wc/ec)253/0/253 0,4% -> see this thread

Rest seems to be okay, your drain should be reduced when using some of the adviced from the linked thread

Level lost [%]: Bat.: 0%(100% to 100%) [0.0%/h] -> :good: seems that microG is working fine as Google Play Service replacement for you ;)

Clear BBS cache, as Alarm section is empty. This might be related to BBS or microG. But beside this, there is nothing to do anymore.

Pretty good, nothing to tweak anymore. You could try to use another custom kernel, but right now your idle drain is good.

Read post #4, especially the part for limiting location-related stuff.
[Android General] NoyNoying:
I think 3 or 4 years. Battery I think 1 year. I've replaced it. Original Samsung Galaxy s3 battery is my battery with 2100mah
[Android General] ninekaw9:
I have already read post #4. But there is no any description of functions of each wakelocks. So, I have no ideas which wakelocks are related to Location History.
[Android General] Portgas D. Ace:
Older batteries tend to discharge more quickly, thus my question. But an idle drain with less than 1.0% per hour is good. You could flash a different ROM or a custom kernel to get better results, but if you are fine with your current ROM, you might leave everything as it is right now.

You could use My Android Tools to disable anything related to location reporting/history (keywords "location", "reporting", "history") for Google Play Services. I have done so and do not face any issue with location-related apps such as navigation.
[Android General] NoyNoying:
I can't find the com.google.android.gms.analytics.ANALYTICS_DISPATCH in amplify... Thank you for replying to me... ☺
[Android General] ninekaw9:
I don't want to completely disable Location History. I want to limit periods between each tracking. Like turn on GPS, record location. 10 minutes later, do that again.