yashsingh1/xdaforums huggingface dataset:
[Android General] nachomagic:
It's already done

Seem not a gmail ir whatsapp problem but a global sync problem.

In fact I get gmail ir whatsapp notification till a moment that the notification get brokes after some time of non use the phone.
[Android General] urnamese3:
Can it get any better?

Any kind of tip is appreciated

https://drive.google.com/file/d/0B8tpNiB7xja2NUROeERzLVR6YVU/view?usp=docslist_api

Sent from my quantum computer yëyě
[Android General] nachomagic:
I can see the picture because of the work firewall but I advise you to follow the guide step by step and you will notice immediately a better battery.
[Android General] Kappa Lamda:
I know. I asked cause maybe someone use it and has already done some testing and research about fb's messenger wakelocks/alarms
[Android General] nik007rock:
this is my bbs dump.

plz tell me what i need to tweak ?

is it safe to limit these

com.whatsapp.messaging.MessageService.CLIENT_PINGER_ACTION

com.whatsapp.messaging.MessageService.LOGOUT_ACTION
[Android General] Celestial Fury:
Not unless you limit those in the dangerous/do not limit category of Post #2. Feelings don't mean much without before and after BBS dumps.

What I meant is that there are alarms/wakelocks in your dump that are draining meaning that you didn't limit them according to the guide.

Post #3 How to find problems with limited alarms/wakelocks

Screen On (): 6 h 33 m 29 s

It can get better if you do a proper test according to Post #3.

*alarm*

Custom ROM? Seems to be running wild and *alarm* is dangerous to be limited. There are also lots of alarms/wakelocks in the guide that have not been limited.
[Android General] nik007rock:
ya i have limited as per your guide except whatspp alarms ..i will test tonight and report tommorow
[Android General] deepu458:
Hi [MENTION=5401012]Celestial Fury[/MENTION] & everyone, now a days im seeing some new alarms started by Google Play services and they are as below. These r number of Alarms within 4 hours. Does anyone know about these alarms? y they are used

Alarms: 2, Intent: ALARM_WAKEUP_SENSOR_UPLOADER

Alarms: 3, Intent: ALARM_WAKEUP_IN_OUT_DOOR_COLLECTOR

Alarms: 3, Intent: ALARM_WAKEUP_SENSOR_COLLECTOR

PS: One more question i have followed the guide for limiting alarm & Wakelocks. Now i have an issue like this:

some times if i leave the phone idle for some time i wont get any notifications until i open the app manually say for instance Gmail, Stock Android Email App and Whatsapp can any one tell wht alarm or wakelock be the root cause of this delayed notifications?
[Android General] nik007rock:
so here is today's bbs dump and screenshots

and still my battery is draining 6% overnight.

tell me what can i do further
[Android General] Dendis:
[MENTION=5401012]Celestial Fury[/MENTION] what battery saving apps do you use for daily basis? Ofc this guide, but like greenify or others? What's your setup?

Thanks!
[Android General] 4omp:
Anybody face the problem that whatsapp messages, when phone sleep, comes with a some delay? this delay can be about 1-2h
[Android General] deepu458:
+1 me to. I am facing this issu if I leave the phone idle for 1-2 hour. Can anyone let us know which alarm or wakelock responsible for this delay?
[Android General] 4omp:
I found some info that programs, which using push-notifications, are using google services via 5225 port. But connection can be automaticali closed by provider or your router after some time of inactivity. So u can try use Push Notifications Fixer. This program send every 15 min (or what ever time u set) a small "pulse" to keep this connection active
[Android General] Gizmundo:
I had the same issue when I blocked things with cloud pic from op or any whatsapp alarm same for G-mail .. so I started over and didn't touch any of those things and my phone is smart again :) World can't be perfect
[Android General] Celestial Fury:
I don't have those alarms but they look related to gathering info for Google's database.

Change ROM maybe to stock. I don't have these wild *alarm* that go on for an hour. It's ridiculous.

In the guide. Those with cloud icons may affect notifications as stated.

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

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

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

Amplify and Greenify and BBS for checking. However, I'm seriously thinking of stopping recommending/requiring BBS and look for an alternative. I don't get my queries answered there (sadly not the first time). If that's what it takes.
[Android General] nik007rock:
so here is bbs dump from another freshly installed rom ideal for ~7hrs
[Android General] Dendis:
Do you think those apps can by some way decrrase battery life?

What's your SOT,?
[Android General] lunarken:
i just uninstalled BBS... my batt life is better now.
[Android General] Dendis:
You mean BBS decreases SOT?
[Android General] Celestial Fury:
Good news is the crazy *alarm* is gone. There are still a number of alarms that you either haven't limited or haven't limited enough. You can see them in the dump as they stand out. Can't paste them as I'm on my phone.

Amplify doesn't drain as it works by applying the settings when you limit something. Greenify can drain a little in active usage mode as it has to monitor which app you're no longer using and then Greenify it. It shouldn't drain in idle mode. My SoT is slightly under 3 hours - warm climate.

Not helping. BBS doesn't drain at all as it's not actively monitoring anything but only collects stats when you open it - unless you use the active watchdog feature.
[Android General] Dendis:
[MENTION=5401012]Celestial Fury[/MENTION] so I can easily use greenify and amplify and dont care about their decrease of SOT? I only get 4hours SOT on my Z2 :/

Išsiųsta naudojantis D6503 Tapatalk 4 Lt
[Android General] raynerape:
Hello,

I am rebuilding my limits since I got greedy and I started getting SOD 2-3 times a day. So now I only lock those alarms that get an dangerously frequent. One of them, is it safe to limit com.google.android.gms/.lockbox.LockboxAlarmReceiver?
[Android General] I_am_Blackford:
this thread made my battery :D
[Android General] Crisialfa:
Guys, I did a BBS test. Can I improve my battery more?
[Android General] Ohhdayumm:
I used amplify before I don't really think it helped much for my phone but my other friends and people on the forum say it very good
[Android General] Celestial Fury:
SOT should increase not decrease as limited alarms/wakelocks are also limited regardless if screen is on or off.

Lockbox - sounds important.

17 hours but your deep sleep + awake time doesn't tally and the level lost is in the negative. You charged your phone in between. Try again.

Attach a dump before and after Amplify. Facts speak louder than your feelings.
[Android General] Ohhdayumm:
That was when I was using a custom rom
[Android General] rehpyc:
Celestial Fury, thanks for the guide. It's been really helpful it minimizing the battery drain while the phone is idle.

Attached are a few BBS dumps, each labeled BBS-<battery drain>-<date>.txt to help provide a variety of any issues keeping the phone awake at night. One thing I notice is that apps will use the data connection, albeit only a bit, while the phone is to be sleeping. Are these for push notifications? Otherwise, please advise what could be limited to drop the idle drain to be closer to 0.0%.
[Android General] realista87:
using wakelock detector i see an HUGE amount of wakelocks in kernel, i see WLAN TX THREAD 17 seconds x98902 ( phone from 100% battery boot 2h 40min)

i can't understand what keeps my cpu at freq 1170 mhz on my mediatek cpu, ( lenovo k3 note). other wakelocks by apps are REALLY LOW........ i have almost nothing wakelock from apps... but priparily from ekernel and things related to wifi.

i already UNcheched al lthings regarding wifi, auto searching, autojoin, and setted to use wlan durin sleep > OFF
[Android General] Celestial Fury:
Alarms: 24, Intent: com.android.bluetooth.btservice.action.ALARM_WAKEUP

Is your bluetooth on? Does it need to be?

Alarms: 6, Intent: change_state

Alarms: 6, Intent: com.motorola.slpc.ALARM_MODALITY

Widgets will drain.

Alarms: 9, Intent: ALARM_WAKEUP587865452

Amplify will have a way to block this in the very near future.

Post a dump.
[Android General] dawgdoc:
For those interested, cryptyk posted a development version of Amplify today. It is designed to accept regex wildcards to enable blocking of wakelocks with random numbers:
[Android General] rehpyc:
I leave bluetooth on, more for convenience of automatically connecting when I get in the car (streaming music, plus text-to-voice w/ Moto's driving mode). I've been meaning to build Tasker profiles to control it. I have tested with it on/off at night, and it seems like a mixed bag. In one of the .03% BBS dumps it's on and off in the other. Based on what I've read, I believe com.motorola.slpc.ALARM_MODALITY deals with Motorola's suite of actions w/ the phone (IR and motion sensors as well as its own "ok google" type of voice command listening). Can't wait for the ALARM_WAKEUP<random #> fix w/ Amplify, though. Other than these things, is there anything else that stands out?

Thanks again.
[Android General] nachomagic:
Hi mates

I'm having a wakelock called *alarm* be owned by System android package witch has many many counts in Amplify

The main problem is that I can't search in the threat or google because of this "*", every time I search the asterisk is interpreted by whatever....

Same for SCREEN_FROZEN because of this "_"

Does anybody know, specially [MENTION=5401012]Celestial Fury[/MENTION], what is these wakelock and if I can limit them?

Thanks in advance
[Android General] Celestial Fury:
See Post #3 IF Alarms & Wakelocks are already low...

I've no problem searching *alarm* partial wakelock which leads to this.

Posts #2 & #3 updated. Don't forget who pushed for the ability to block random alarms/wakelocks in Amplify. :fingers-crossed:
[Android General] nachomagic:
Thanks, I don't know why I didn't get this search results.

On the other hand, maybe is for my poor English but I don't know what do you wanna say with "Don't forget who pushed".

Regarding to screen_frozen I've found only this, basically don't tell what is this but says that means big troubles.

xdaforums.com/showthread.php?t=1827676
[Android General] TroyBrown:
He means asked for the ability to block random alarms/wakelocks. :)
[Android General] dynou:
HI

Here my dump file

It's seem to be good... What can I do ?
[Android General] 3473:
Anyone have any idea what this is?

*job*/android/com.android.server.os.BackgroundCompactionService

Wakelock time = 19:52

Wakelocks acquired = 272 in one day
[Android General] Bijuu:
Can i limit bluetooth without any issues?
[Android General] Android2003:
Had the same problem.

Go to settings, disable "scan always for bluetooth".

Optional:

Use smart network.

In my case it works with advanced settings (beta) in smart network.
[Android General] Bijuu:
Will i still be able to use my headset whenever i will want to? And i cant find this on my phone so i think you meant the smart network settings? ;3
[Android General] Android2003:
No i mean the smart network from store or xposed modul
[Android General] Indranuj Kar:
I followed the article but now my whatsapp doesnt notify me of messages. Only when I unlock the device it shows the notification on the icon on s6 edge
[Android General] Dendis:
Which of these alarms can I limit, but still have INSTANT PUSH notifications? Because every day bbs detects like 600alarms of messenger, need help ;)
[Android General] M@rs:
Try greenify donate with gcm Wake up on notification.
[Android General] Dendis:
With this way I lose them when screen is off(I get them when my screen is turned on) . I need them always, and in photo I think there are too many alarms, or no? :/
[Android General] TNSMANI:
[MENTION=5401012]Celestial Fury[/MENTION]

I am coming back to Amplify with Marshmallow. Previously achieved 0.0% loss with L with the help of this thread and also reported it here. I am in the process of evaluating Amplify with M and Xposed ver.77 by rovo89.

I was limiting the alarms and wakelocks as per your OP and noticed that a lot of things have changed from when I visited it last time with L. The main change seems to be location where a lot of alarms are included.

But I notice that the warning that limiting them may affect things connected to location, is no longer there. I use location sparingly and also have Leandroid to take care of things when the phone sleeps. My location setting is high accuracy. If I don't use location, GPS fires three or four times a day for a total of about a minute.

My question is, does it mean that the present recommendations for location in the OP may not affect things connected to it?

EDIT:

Found an issue with Amplify and posted this in the Amplify thread also. In my phone either with Xposed v.77 or v.78, in Amplify, Wakelocks and Alarms are shown as usual. But the Services page is blank. Blocking of Services is enabled. There is one other person on M who has also reported the same issue with logs in the Amplify thread.

Any ideas?
[Android General] TheOTO:
Fewer facebook alarms/wakelocks

You could try Facebook Lite apk if you're looking for something without as many alarms/wakelocks. It works good for me. Apk can be found over on apkgalaxy.
[Android General] Celestial Fury:
An android process. Post #3 Test Idle Battery Drain No. 6

Does it drain in idle? If it drains when you use it then it's working as intended. Otherwise, use automation apps to regulate your bluetooth usage.

Post #2 Look for the explanation on this icon .

FB Lite may help but I'm always hesitant to use unofficial 3rd party apps as you're basically giving them your FB ID & password.
[Android General] Celestial Fury:
The guide consists of draining alarms/wakelocks from both KitKat and Lolipop. All those location alarms are from Google and they're out of control. Limiting does NOT affect navigation apps (Google Navigation, Sygic, HERE, etc.) as they have their own alarms/wakelocks for navigating. The only thing that may be limited is Google's own apps like Maps and Google Now but of late they don't seem that much affected so I removed the warning.

Can't help with M as I'm still on L.
[Android General] Dendis:
Those alarms are from messenger. Can I decrrease them and still get push notifications instantly?
[Android General] TNSMANI:
The guide seems to be applicable to Marshmallow also. I followed the guide and I am able to justify the heading of this thread again (earlier on L also):) I am using Leandroid also.

Thank you once again.:)

Here are the screenshots and log file:
[Android General] realista87:
my phone is a lenovo k3note, rom stock slighly modded by cuoco92 rom 1.13 android 5.0.

i added (because was not not present in my stock build.prop file) the string :

wifi.supplicant_scan_interval ......... and setted value at 600 ( 10 minutes), but does now work at all :(

i tested in this way, i turned off wifi on router and waited android disconnected wifi....waited just 10 seconds and then REactivated on router wifi on.

if all work good, wifi should be fixed by android only 10 minutes AFTER...........instead it does reconnect just after about 15 seconds.....from the time i re activate on router.

THIS IS NOT OK.............

i tried to do this build.prob hack ecause i have an HUGE alarm from android system: com.android.server.wifimanager.action.start scan at about 3 times per minute!!! THIS IS KILLING MY BATTERY

how can i calm down this alarm???? it's something related the "wifi scan"..... but i can't understand what wakelock/alarm is the bad boy...... and how to reduce that alarm
[Android General] Celestial Fury:
You can test yourself. It's not an android system app so limiting it will only affect the app in question (if it affects at all).

For a better reading take a dump from a full charge. A reading from below 100% is not always accurate as I've seen it at 0.0%/h even though the phone was in use.

If it doesn't work, remove the build.prop hack. Why not limit the alarm in question with Amplify? Not sure what your exact problem is but maybe this is related: Push Notifications Fixer v5.0
[Android General] realista87:
i have to understand better how amplify does work........ and after that i am still not sure if limiting that alarm is good or not. i must understand what is supposed TO DO........ that alarm.

com.android.server.wifimanager.action.start scan can someone help me understanding this alarm?
[Android General] dasojie:
Hi

my idle time 0,9%/h when wifi on, still google play service have bit huge awake so far...

here dump file

any suggestion to limit more? already limited connectivityservice to 7200 but sti high wakeup, maybe should doing reset on amplify every limited wakelock or alarm?

amplify version 3.0.8, htc desire 601 zara UL kitkat 4.4.2 kofila kernel stock rom

regards
[Android General] sshafranko:
Do you have this turned OFF?
[Android General] kdayyy:
Only limit everything that's on the op, which everything is safe. I don't limit any location alarms because I use them. This is a guide thread. So if you want to go beyond the guide and experiment limiting your own alarms and wakelocks you can. Majority aren't safe to limit and can cause a crash on your phone or worst.

Sent from a Raider using Tapatalk
[Android General] antonigaming:
I got 9% drain in 7hrs+. I don't know what caused it tho. Can someone please explain to me
[Android General] truelove_shinn:
Hi everyone, I got 15% drain in 10 hours. I'm on moto X 2013 Android 5.1 using this rom

http://xdaforums.com/moto-x/general/crashx-t3223361

Please kindly make a diagnostic for my device. I attached Amplify 3.2.9 wakelock and alarm limit screenshots and BBS logfile.

I have bluetooth always on, for I have a bluetooth anti-theft gadget for my wallet. During the 10-hour test I left 4G and Wifi on too. Other than that Google Play Services and Wechat are major sources of battery drain on my device, but then my daily use relies heavily on those.

Besides, from time to time I get random "Unfortunately, Google Play Services has stopped" error out of no where. I guess it should have something to do with Amplify limitation, but I have no clue which lock is related.

Thanks in advance for your kind help!
[Android General] Celestial Fury:
Awake (Screen Off) (): 19 m 51 s

"wlan_rx_wake" (): 11 m 56 s

"wlan_ctrl_wake" (): 3 m 35 s

Network/router/modem connection issues. Restart it.

Kernel wakelock GPSD. You have something connected.

In BBS Advanced settings: UNTICK

both

"force...using the API". It's less accurate.

Awake (): 37 m 4 s

All I can do is list the offenders.

Alarms: 162, Intent: ALARM_ACTION(2786)

Alarms: 41, Intent: com.tencent.mm/.booter.MMReceivers$AlarmReceiver

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

Alarms: 9, Intent: ALARM_WAKEUP_PASSIVE_COLLECTOR

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

Alarms: 57, Intent: com.google.android.location.internal.action.ULR_BLE_SCAN_ALARM

Alarms: 20, Intent: ALARM_WAKEUP128825

Alarms: 111, Intent: com.nut.blehunter/cn.jpush.android.service.AlarmReceiver

Alarms: 61, Intent: ccc71.bmw.pro/ccc71.at.receivers.phone.at_mA_receiver

Alarms: 31, Intent: android.content.syncmanager.SYNC_ALARM

Google Play Services has stopped responding. Did you limit it in AppOps?

Do you have a link for this bluetooth anti-theft gadget for wallet?
[Android General] truelove_shinn:
to [MENTION=5401012]Celestial Fury[/MENTION] : thank you for your kind help!

In BBS Advanced settings: UNTICK

both

"force...using the API". It's less accurate.

- I checked my BBS advanced settings: "Alarm using API" has always stayed unticked. However if I untick "Kernal wacklocks using API", BBS stops monitoring kernal wacklocks.

Awake (): 37 m 4 s[/SIZE]

All I can do is list the offenders.

Alarms: 162, Intent: ALARM_ACTION(2786)

Alarms: 41, Intent: com.tencent.mm/.booter.MMReceivers$AlarmReceiver

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

Alarms: 9, Intent: ALARM_WAKEUP_PASSIVE_COLLECTOR

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

Alarms: 57, Intent: com.google.android.location.internal.action.ULR_BLE_SCAN_ALARM

Alarms: 20, Intent: ALARM_WAKEUP128825

Alarms: 111, Intent: com.nut.blehunter/cn.jpush.android.service.AlarmReceiver

Alarms: 61, Intent: ccc71.bmw.pro/ccc71.at.receivers.phone.at_mA_receiver

Alarms: 31, Intent: android.content.syncmanager.SYNC_ALARM

As far as I can tell:

- Alarms 162, 41 plus all ALARM_ACTION(XXXX) are related to WeChat, which I rely heavily on (I hate it but I have to... dang it!)

That's why I'm still waiting impatiently for cryptyk's Amplify experimental version developement, which will allow to limit randomly digited wacklocks. http://xdaforums.com/showpost.php?p=63780394&postcount=5974

- Alarms 57 and 111 are related to my bluetooth wallet tracker, and I have to leave this on also, for I lost my wallet twice the past years...

- Alarms 61 is Battery Monitor Widgets Pro's battery use monitoring.

Google Play Services has stopped responding. Did you limit it in AppOps?

- No, I don't have AppOps. Plus, if I disable Amplify I stop receiving this specific error message.

Do you have a link for this bluetooth anti-theft gadget for wallet?

- yes! The Nut http://www.nutspace.com/

and its related app on Play Store https://play.google.com/store/apps/details?id=com.nut.blehunter&hl=en

edit: some wacklocks and alarms bug me more than others, namely the following (see screenshots attached):

Wakelocks

-LocationManagerService: it is listed as "Safe to limit", however if I do so, as soon as I open Google Maps it often shows an error.

-*alarm*/: I have no clue what it is, nor did I have this wakelock when I was still on Android 4.4.4. This is a dangerous one and should be listed as "Not Safe to limit". I tried once and the system crashed immediately. Which makes it problematic as its count is quite high.

-ContextManagerWakeLock/ActivityManager-Launch: no clue what these are, never tried to limit them.

-UlrDispSvcFastWL: same as *alarm*.

Alarms

com.google.android.gms.location.fused.SEND_LOCATION_IN_SMD_MODE: this one sometimes could go orange or even red. FYI I have the location setting always set to "high accuracy".

Thanks a lot for the diagnostic!
[Android General] Bijuu:
Can i limit this?

com.android.server.idlemaintenanceservice.action.update_idle_maintenance_state
[Android General] -Zeppelin-:
An *alarm* under wakelocks means I restricted one wakelock I shouldn't have (or should have used a higher Interval), right?

Greets
[Android General] realista87:
yes it is OFF
[Android General] Celestial Fury:
Kernel wakelocks using API - if unchecking it makes kernel wakelocks disappear than this is a BBS issue and you should report it.

Google Play Services has stopped responding - You may have some alarm/wakelock limited then. Compare the guide with what you have limited and see what the difference is.

Descriptions in Amplify for alarms/wakelocks haven't been updated in a while. Continuous changes to android as well as Google Play Services can potentially break things if their alarms/wakelocks are limited.

Post #3 Test Idle Battery Drain No. 6

Sounds important so not a good idea.

It means Google can't get their terminology right and use the same terms all over the place. It also means you haven't used the right terminology either. Amplify doesn't

restrict

alarms/wakelocks - it only

limits

it which means alarms/wakelocks will still run but only at the interval you limited if any.
[Android General] -Zeppelin-:
Okay thanks, seems the problem was location services.

Anyone knows if GCoreFLP is safe to limit?

Greets
[Android General] TNSMANI:
I don't exactly know what it is but I have it limited at 7200 without issues.