yashsingh1/xdaforums huggingface dataset:
[Android General] dimm0k:
just wondering, any issues with things like Google Maps? using Google Maps for extended periods of navigation my device gets really slow with high RAM usage and CPU even after exiting Google Maps.
[Android General] Portgas D. Ace:
No issues with Google Maps so far. If Google Maps slows down your device even after usage, use Greenify to hibernate it while not in use.
[Android General] Celestial Fury:
What system app do you want to block that isn't in the list? Are you looking in the right place? Installed apps doesn't show system apps. Look under Running Services.

Bluedroid_timer - system app then. Why do you want to limit it? Does it drain in idle mode? Or do you have something connected to bluetooth all the time? Then the wakelock has to run to work.

3rd party apps can be limited without worry - the only thing that can happen is that they'll stop working. For system apps, see Post #2 under Dangerous.

Exiting an app doesn't remove it from memory. Try clearing recent apps or a reboot. This is an android memory management issue.
[Android General] dimm0k:
I was afraid you'd say something along these lines... seems like it is anything related with GPS where if I have it running for some time, my system gets really sluggish to the point where it's unbearable. Only way to fix this is to reboot... is this something that's common across all devices that's Android? Any way to limit it?

I've tried clearing recent apps, as well as force closing apps, but no change... I have tried issuing commands from a console to free all the buffers/cache and as soon as I do that I can see my RAM free up by over 400MB! Thing is, after a minute even in idle the free RAM drops back to under 300MB and things crawl again until a reboot.
[Android General] lavero.burgos:
Good day everyone!

Is my com.google.android.GMS battery drain ok? Its kinda high and not sure how to reduce that MCS_HEARTBEAT. I know it's related to push notifications.

Moto X 2013 (XT1053)

Sent from my Moto XT1053 powered by Tapatalk
[Android General] Celestial Fury:
This is common in phones with low RAM like 512Mb. Reduce the number of Xposed modules if you have them. Uninstall/freeze apps you don't use. Have you tried clearing the cache of your GPS app after using it? (you might lose some settings though) I used V6 Supercharger before when I had a 512Mb device which worked wonders but it can the instructions can be difficult and it's no longer maintained.

You have triple my posts and double my thanks so you've been here longer than me but your questions sound like you don't know what this thread is all about (Post #1) and what to limit (Post #2) and how to test and show the proper screenshots/dump (Post #3).
[Android General] dimm0k:
bad news... this is on a Samsung Galaxy S5 so the RAM should be more than 512MB, yet I am exhibiting these issues... on a fresh boot, I can say I have roughly 650MB free to play with. for the most part I've only installed the bare Xposed modules that I find necessary and anything else I installed after I've checked to see how much free RAM was avail after the install. for the most part they all hovered at 650MB. granted after using whatever the Xposed module "fixes", more RAM is consumed, but going from 650MB to < 300MB and having a sluggish system is a bit disappointing. I have removed most of the Samsung crap and apps wise I only installed apps I use frequently. In fact I originally had a system that only had about 350MB free after a reboot and so I decided to wipe the device and start fresh. Now I'm at roughly twice that and still no change!

I'll try clearing the cache for Maps next go around...
[Android General] lavero.burgos:
The only screenshot i missed was partial wakelocks because that (all 0%) and the rest look just fine and btw i dont have the time to do the other stuffs plus i don't need to.

Im Just curious about that service and the amount of wakeups (specifically MCS_HEARTBEAT), that is why i was specific with my question. A simple yes or no is enough then ill figure it out myself as always.

Edit: Seems to me is not safe to modify/amplify that one so ill just leave it as-is.

Sent from my Moto XT1053 powered by Tapatalk
[Android General] carmalius:
Found a lot of com.android.internal.telephony.ACTION_CHECK_NETSTAT alarms (with huge battery drain) when my LG G4 on LTE connection.

Is it safe to limit it with Amplify? I don't know if could be related to fast dormancy on LTE connection. I tried to disable fast dormancy with the service menu with no correlation to the result.
[Android General] Celestial Fury:
Does your phone use TouchWiz? That seems to be the number one slow-down on Samsung phones. Otherwise, Supercharger V6 or something like it or a reboot.

It can't be a yes or no answer because your screenshot shows that you've used the phone for an hour so it's not an idle drain screenshot. Active drain will vary greatly between users and usage so no one can say if your specific wakelock/alarm drain is high or low because there's no active usage baseline to compare it with. MCS_HEARTBEAT is in Post #2 and can be limited but your push notification mileage may vary.

You can try limiting it but in my experience, limiting anything related to fast dormancy resulted in a laggy flagship phone.
[Android General] M4M1K:
Does anyone has encountered problem with the msm_hsic_host kernel wakelock? This never happened before using Amplify, but after I disabled the recommended wakelocks, alarms and services, This wakelock has been keeping my phone awake for 100% of the time. Below is my bbs dump.
[Android General] ulxerker:
[MENTION=6167819]M4M1K[/MENTION]: next time, please submit your dump as an attachment on your post. otherwise it blasts the thread.

I didn't see the issue in question on my phone. If you use Xposed, try to soft reboot from within in framework app.
[Android General] TNSMANI:
[MENTION=6167819]M4M1K[/MENTION]:

With an 18 minute in use log, no one will be able to help you. Please read OP and post proper logs. And either attach the logs or hide them.
[Android General] jhuff83:
[MENTION=5401012]Celestial Fury[/MENTION] what could I limit this to but still receive push notifications from ebay

Also, what about this alarm with 183 wakeups.
[Android General] Celestial Fury:
First, like what others have said - edit your post and attach the dump file instead of posting it as it says in Post #3. Then we can move on to the next step.

I don't use Ebay so I can't tell. You'll have to experiment and see if you still get push notifications.

Your Google trust alarm - adding trust places in Maps? I've never used it either so just limit it and see what's the difference.
[Android General] davidben73:
Hello there, I'm new in this and tried the settings from the OP.

But i have delayed whatsapp notif.

What should I change to get the instant notif?

Thanks :)
[Android General] ulxerker:
If you want instant messages just un-greenify WhatsApp again, it won't drain much.
[Android General] Portgas D. Ace:
Hopefully you have read the OP carefully. The alarms with a red cloud symbol affect push notifications when limited, thus you get delayed push notifications. Check carefully if you have limited any of those alarms. If yes, unlimit them all and check if your notifications still get delayed. If not, you can go through all of them one by one (if I remember correclty, there are four alarms which affect push notifications) and limit one of them and check again if this is the culprit for your delayed notifications.
[Android General] davidben73:
I'm not greenify Whatsapp my friend.

Thx for the help :)

Thx friend, i will try to unlimit the alarms with a red cloud symbol.

But is there any safe value to limit them in acceptable delay?

Because i think if i unlimit them, the 0.0% battery in idle will not happen in my phone.

I've read the OP wrote on "What's possible" that by using this guide, we can still get the instant notif.
[Android General] Portgas D. Ace:
Well, in the end it is up to you if you want to achieve 0.0% per hour battery drain and delayed push notifications OR 0.1% per hour battery drain with instant push notifications ;) But remeber: this guide is simply a... guide. So it gives you an idea about how to achieve better battery saving. You can limit the alarms/wakelocks to whatever you feel is good for you. Most of this stuff is trial and error, as devices differ for each user.
[Android General] davidben73:
thanks bro for the advice :)

i still want to try to get the best effect for my battery life without getting delayed notif.

can you give me some advice for limiting the alarms with a red cloud symbol, so i can use it for reference.
[Android General] Portgas D. Ace:
You can start to limit them one by one to 900, which corresponds to 15 minutes. So basically an alarm you limit to 900 will only run once per 15 minutes. If you have the feeling that this is too much, decrease this value to 600 (10 minutes). The same for the other way round: if you feel you can get more, go for 1200 (20 minutes) and so on. This should be a good base for those push-affecting alarms.
[Android General] M4M1K:
Done. Please Check it now :)

I use Tapatalk mostly and couldn't find any option to attach or hide the post. Sorry about that :)
[Android General] davidben73:
okay i will start to try it now and see what happen.

thank you so much for helping me :)
[Android General] deepu458:
Hi [MENTION=5401012]Celestial Fury[/MENTION], i see ur OP has helped me deep sleeping my Oneplus and reduced many wakelocks. But one issue i started observing after implementing this Amplify settings, My Gmail account suddenly stops syncing when i leave the phone idle for some quite bit of time especially i observed this behaviour in night time. When i woke up in the morning and my Gmail wont be synced i need to manually sync it and i see an arrows in a circle next to gmail app and it wont go unless i switch off the sync and back on. I dont know whats causing this issue can u help me with this issue?
[Android General] Celestial Fury:
If you've read Post #3 then you'll know how long the IDLE dump needs to be. First hit in Google search.

With alarms/wakelocks that have the red cloud icon limited, push notification is still more or less instant but is conditional on how long your phone has been idle. Your mileage may also vary. I've gotten delays of several minutes for gmail on a new ROM flash with nothing limited as well so sometimes it's the server.

Arrow in a circle - from a custom launcher? Refreshing from within Gmail doesn't make the arrow go away? If the phone has been idle too long like overnight then push notifications tend to be delayed. It's fine for me as I don't need to get nor want to respond to notifications when I'm asleep. Checking it when I wake up suits me well though your needs may differ.
[Android General] davidben73:
Okay, thanks for the explanation :)

I'm sorry hard to get the meaning because my english is not so good.

So in other words, that if I still limit those alarms with red cloud icon, I still can get the instant notif?

But it depends on how long my phone has been idle?

If my phone just idle right now, it still get instant notif. but after some hours, it will get delayed?
[Android General] razerguy71:
can anyone tell if theres something wrong on this BBS stats:

http://dl-1.va.us.xda-developers.co....txt?key=9zkZInPdbuJhvc4x_wUdGw&ts=1442152949

Thanks in advance
[Android General] Celestial Fury:
Yes, but I don't know how many idle hours. It also depends on how long ago WhatsApp was last used. Besides the red cloud, limiting any WhatsApp related alarm/wakelock will also affect push.

What's wrong is it says 410 Gone.
[Android General] razerguy71:
Oh sorry here i reuploaded it

I also attached the screenshots of my battery stats, there is something that keeping my phone awake while idling and i have no idea what it is
[Android General] Celestial Fury:
Awake (): 42 m 45 s 11.2%

10069 (Wifi) (com.bbm.BBM): 1.0 MBytes 84.8%

Limit them and check functionality

Alarms: 85, Intent: com.google.android.intent.action.MCS_HEARTBEAT (Post #2)

Alarms: 6, Intent: com.cyanogenmod.lockclock.action.CANCEL_LOCATION_UPDATE

Alarms: 6, Intent: com.cyanogenmod.lockclock/.weather.WeatherUpdateService
[Android General] razerguy71:
ok thank you for the help, so i limited com.google.android.intent.action.MCS_HEARTBEAT to 43200 seconds like in the post #2

and limited com.cyanogenmod.lockclock.action.CANCEL_LOCATION_UPDATE and com.cyanogenmod.lockclock/.weather.WeatherUpdateService to 14400 seconds (4hours) both, i think these alarm are from the clock widget to update the weather info? so i guess limit it to 14400 is ok, what do you think?

about the com.bbm.BBM, do you think this app also causing the battery drain?

Thanks in advance
[Android General] Portgas D. Ace:
BBM has been a huge batetry drainer for me, so it is most likely it will be the same for you.
[Android General] razerguy71:
then what did you do with it? limit the wakelock/alarm or just dont use it anymore??
[Android General] Portgas D. Ace:
As I did not rely on instant notifications from BBM, I greenified it and limited its related alarms to 14400, so I received messages each 4 hours without it constantly running in the background. After some time I entirely dumped it and use other instant messengers now.
[Android General] grabensan:
Can I get any help. I was at .3 an hour and am now back up to .5
[Android General] wyt18:
Before reading your guide I accidentally put a lock on ALARM_WAKEUP#####. I've undone this, but now my phone keeps creating new alarms with different numbers (I now have 5 unique #####s and it keeps getting more over time). I don't know what this does to my battery life / efficiency but I'm guessing it's not good :(

Could you explain how I can reset this behavior (i.e. go back to the days when there was just one ALARM_WAKEUP##### and not multiple ones? I tried downloading App Ops and using the Hack, but it didn't solve the issue. I'm using a Xperia Z1C amami

thanks!
[Android General] Celestial Fury:
Weather widgets are notorious battery drainers. Did you get many BBM messages during that idle period? Only you can tell whether the 1Mb download was legitimate messages or BBM wasting your bandwidth (and battery).

Awake (): 29 m 48 s

qpnp_fg_memaccess

qpnp_fg_update_temp

qpnp_fg_update_sram

Your custom ROM settings may be creating the kernel wakelocks. Amplify can't limit kernel wakelocks.

Go into Amplify settings and find the reset or clear. Multiple ALARM_WAKEUP (between 5-6 digits) will still occur by design.
[Android General] wyt18:
thanks! that's helpful to know. what is App Ops "fixing" then, via the experimental hack? do I still need to keep it after I reset Amplify?
[Android General] -Zeppelin-:
Hi,

quick question: does it make even any sense to use this guide with high accuracy location turned on?

I tend to use the high accuracy instead of powersaving mode, as I use maps quite and there it's often to not know exactly where you are...

Greets
[Android General] Portgas D. Ace:
Well, you could use an automation app like Tasker to set location mode to high accuracy only when you open Maps or other apps that require high accuracy. This will save you quite an amount of battery. With location mode constantly set to high accuracy, your battery will drain quite fast. But nevertheless, applying this guide definitively makes sense. it will reduce the "additional" drain beside the one from location mode.
[Android General] dzontra83:
Here is my better battery stats dump.... My battery drained 13% overnight, with more than 8h on standby... Using amplify, greenify on galaxy s6 g920f with unikernel. Tnx
[Android General] praveensingh569:
I'm using CM12.1 r18 with your amplify guide but not getting best result

I know you write "No custom rom involved"

But can you suggest extremely good for CM12.1
[Android General] Celestial Fury:
Did you read the guide? It says GPS - High Accuracy. By limiting all the location alarms (both rough and fine) you will hardly get GPS wakelocks in idle mode so it doesn't matter what GPS settings you have.

radio-interface (): 50 m 45 s

lli_pm_wlock (): 31 m 57 s

umts_ipc0 (): 25 m 8 s

bcm4773_wake_lock (): 24 m 49 s

wlan_ctrl_wake (): 23 m 47 s

I'd say it's your custom ROM/kernel. I don't see this kind of kernel wakelocks (except for the last one) running wild in stock. Possibly also a signal issue based on the first and last kernel wakelocks.

In the guide

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

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

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

Alarms: 8, Intent: com.android.providers.calendar.intent.CalendarProvider2

If you don't post a dump I can't agree with your general statement that you're not getting the best result with the guide. I don't use CM12.1 so I can't suggest anything about it.
[Android General] -Zeppelin-:
Sorry my bad, the part from choose... on seems to have gotten mixed up in my brain ;)
[Android General] Hemant:
thanks a lot for these tips. :)
[Android General] Wilmerin:
New battery from Amazon

Hello, finally my new battery has arrived. I'm starting the test again.

Attached the stats in airplane mode and graph.

Thanks
[Android General] anaskhan27:
Finally...
[Android General] Celestial Fury:
They shouldn't be active in airplane mode.

Alarms: 9, Intent: com.handmark.tweetcaster.premium/com.handmark.tweetcaster.UpdateService

Alarms: 4, Intent: com.android.vending/com.google.android.finsky.services.DailyHygiene

Alarms: 4, Intent: com.android.vending/com.google.android.finsky.services.ContentSyncService

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

KitKat or Lolipop?
[Android General] anaskhan27:
Lollipop custom ROM
[Android General] Blade2014:
Respected Sir,

Even though I have blocked many wakelocks and alarms, this is my battery status. Can you please guide me on where I am going wrong?

Thanks and Regards,

Santhosh. S
[Android General] Celestial Fury:
I don't see anything out of the ordinary. Attach an idle Text Dumpfile as well as idle IF Alarms & Wakelocks are already low, then attach screenshots of from Post #3.
[Android General] thegios:
Here it is.

Tonite I lost almost 2% per hours: getting worst and worst.
[Android General] Celestial Fury:
The two screenshots are the same - of wakelocks. Need one of alarms. Did you deny also any services? I don't see anything unusual in the limited wakelocks. I don't see anything unusual in the text dumpFile either.

For that "internet connection unstable" message, I would look for alarms/wakelocks/services that have been denied with words like internet, network, connection, connectivity, reconnect, heartbeat, timeout, etc.

Also, what are you doing on the phone when the message occurs and is it consistent? That is, can the source of the message be pinpointed?
[Android General] Celestial Fury:
Well, the good news is that I see lots of stuff keeping the phone awake - that is they can be identified.

Wakelocks seem ok. Under alarms, limit (or limit some more):

Alarms: 45, Intent: com.google.android.gms.nlp.ALARM_WAKEUP_LOCATOR

Alarms: 29, Intent: gts.UPDATE_CALENDAR_ACTION (check if calendar notifications still work)

Alarms: 14, Intent: com.google.android.apps.sidekick.SCHEDULED_REFRESH (not sure what this affects though, Amplify will tell you what app this is)

Alarms: 14, Intent: com.google.android.apps.sidekick.notifications.REFRESH (check if notifications work)

Alarms: 14, Intent: {com.google.android.googlequicksearchbox/com.google.android.sidekick.main.TrafficIntentService}

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

Alarms: 25, Intent: com.facebook.push.mqtt.keepalive.b.ACTION_INEXACT_ALARM.com.facebook.orca

Alarms: 29, Intent: com.facebook.push.mqtt.keepalive.KeepaliveManager.ACTION_INEXACT_ALARM.com.facebook.katana (Check if FB is working the way you want it too)
[Android General] Cj Marquez:
The message is consistent, even not doing anything just connected to a Wifi network the message keeps popping up, I'll take a look for the words you mention in the limited services/wakelocks/alarms, here are the screenshots from amplify.

http://imgur.com/uiKE6Pt (wakelocks)

http://imgur.com/mTurGMh (alarms 1)

http://imgur.com/xEMxtgN (alarms 2)

http://imgur.com/RDS6sK7 (services)

Thanks for helping!
[Android General] Celestial Fury:
Under alarms I see - android.net.ConnectivityService.action.PKT_CNT_SAM PLE_INTERVAL_ELAPSED but I have that denied with no such message. Though you could try not limiting it and see.

If you have XPrivacy you could check under usage data and see what app is causing the notification.

You can also untick the Amplify module in XPosed, reboot and see if the message still occurs. If it does, then it has nothing to do with Amplify.
[Android General] ktetreault14:
Unsubscribed until I go to kit Kat or until it comes to lollipop ?? can't go on seeing this battery improvement without taking part in it. Goodbye all and I will be back ✋
[Android General] Cj Marquez:
Looks like is one of the alarms or wakelocks that I limited for facebook.orca, here's the xprivacy screenshot

http://imgur.com/NJ0t75G

Thanks
[Android General] Celestial Fury:
How do you know that's the cause? When the message comes up go straight to XPrivacy and post screenshot of the main usage data (that has multiple app data usage). Look for the one that just used a notification permission.
[Android General] Cj Marquez:
I disabled amplify and I'm getting the same notification about wifi connection, so maybe is something else, I'll keep looking and post back here if I find how to solve it. Thanks for all the support!

---------- Post added at 10:58 PM ---------- Previous post was at 10:20 PM ----------

I'm using Ad-Block plus on my phone, I disabled it and seems that doing that resolved the issue, I like adblock plus so I think I will have to live with that notification in my bar.

Thanks again-
[Android General] pradhana:
Here's my results

Better from yesterday

From BBS dump text

Spoiler content hidden.
[Android General] wahuka:
Hi friends.

What do you think about my stats and what i can limit?

I dont know why my Android OS is so high.

Thanks for your help
[Android General] Celestial Fury:
I have adblock plus but never had that message before. Only had something about my device was not configured for proxy which went away after a reboot or so.
[Android General] Celestial Fury:
Under Alarms: Whatsapp - limit the alarms with 2 or 3 digits. Really excessive. - unless you received a lot of messages during the idle period? Then check whatsapp push notifications time delay.

Anyone who's sharing a text dumpFile, please attach instead of wrap with codes. It seems easier that way. I've modified Post #3.
[Android General] Celestial Fury:
Awake for 52 mins. Your screens has been on for 5 mins -this will affect the battery drain reading.

Partial wakelocks ok. Alarms: Your Cyanogenmod lock clock (?) causes some drain. If you limit it, check functionality. Also, the rageconsulting... Need to click on Android (alarms) and see what it shows. After idle period, take screenshots straight away to limit screen on time.
[Android General] wahuka:
Ok, i´ll idle some hours and take screenshots again.

i wait you can help me with this.

Thanks :good:

Here are the screenshots: i put it now because i need use phone now and can´t wait to idle some hours.
[Android General] Celestial Fury:
Those alarms don't show drain. Probably too short. Anyway, limit the ones mentioned previously.
[Android General] afr33sl4ve:
I can't open some of the items that need to be modified/denied. Any help?

EDIT: I just had to complete back of of it (using the back key), then reopen the app. Switching screens (wakelocks, alarms, services) without backing out to the at least the Home screen causes it to not open certain items. Strange.
[Android General] Celestial Fury:
It works ok for me. You can try switching to the home screen first instead of backing out.