yashsingh1/xdaforums huggingface dataset:
[Android General] xstormli:
Regex4google

hey, chief,

I think I found the key of limiting Wakelocks for those google syncs, here is my regex line, I also expanded it a little bit to limit LG and Evernote.

please help me to take a look chief~~~

Thank you very much.

Regex Line:

(\*sync\*\/com.(google.+|android.+|lge.+|evernote.+))\w*

Limit: (let's say sync every 3 hours?)

10800

:D
[Android General] meboy:
Can someone please look.

I left idle all night.

Getting android system drain real bad for one.
[Android General] TNSMANI:
You have BBS 2.2.0.0B5 installed. The latest is 0B6. Install that.

From your log:

Alarms: 16, Intent: com.google.android.gms.wearable.node.bluetooth.RETRY_CONNECTION

Alarms: 36, Intent: com.facebook.rti.mqtt.keepalive.KeepaliveManager.ACTION_INEXACT_ALARM.MqttLite.com.facebook.katana

bluesleep (): 14 m 53 s Cnt:(c/wc/ec)75/2/74 3.3%

msm_serial_hs_dma (): 14 m 11 s Cnt:(c/wc/ec)91/1/0 3.1%

SmartManager Framework Thread (Android System): 20 s Count:131 0.1%

bluedroid_timer (com.android.bluetooth.Bluetooth): 5 m 14 s Count:106 1.2%

Alarms: 5, Intent: com.facebook.common.executors.WakingExecutorService.ACTION_ALARM.com.facebook.katana

bam_dmux_wakelock (): 9 m 57 s Cnt:(c/wc/ec)434/5/0 2.2%

*alarm* (com.google.android.apps.fitness.Fit): 3 s Count:69 0.0%

*alarm* (Android System): 25 s Count:116 0.1%

WearableSyncService

Bluetooth, Facebook, fitness etc were the culprits.

You can limit them with Amplify but may lose some functionality. Also if possible, try another kernel.

I am not an expert, so let the experts comment further.
[Android General] 12gage:
Thank you for the advice, I'll grab the newest beta too
[Android General] Portgas D. Ace:
Your log file is empty.

As far as I know, Lockbox is related to Google Device Manager to remotely access your device in case it got lost/stolen. You can disable Android Device Manager via Settings -> Security -> Device Administrator to prevent Lockbox wakelocks/alarms if you don't use the Android Device Manager at all.

I don't have any experience with the other two wakelocks, but I would not limit the QcrilMsgTunnelSocket as it seems important to me (system component).

Well, I honestly do not have any experience with such kind of regex function, but in case it works for you, I will suggest [MENTION=5867207]v7[/MENTION] to add it to his guide :good:

Screen On (): 32 m 15 s 7.0%

Are you sure you didn't use your device during idle time? Seems that your display has been turned on for more than half an hour. If you have used your device, please try to reduce the screen-on-time to less than one minute, otherwise we can't help you reducing your idle drain.
[Android General] carlitobahsoun:
hi

plz can u take a look on my result
[Android General] Portgas D. Ace:
BetterBatteryStats version: 2.1.0.0 -> update BBS to the latest version (2.2.0.0B6, can be found in the BBS thread here on XDA)

Level lost [%]: Bat.: 28%(64% to 92%) [-3.0%/h] -> seems you charged your device during idle period, so this log file is useless for our purpose
[Android General] carlitobahsoun:
wired...i full charge and left my mobile and sleep..wake up and take this result...anyway thanks will try another time
[Android General] goran90:
battery drain

Here is my 6hours log file. From 100% to 85 in 6hours in idle. Any help?
[Android General] rocksia:
the internet in 3g full flow,sorry for my bad english:mad:
[Android General] ziuta24:
How to check that the sensors are active during sleep ? All the time I have any active ..

Happy D6633 user
[Android General] Portgas D. Ace:
BetterBatteryStats version: 2.1.0.0 -> update to the latest version (2.2.0.0B6, can be found in the BBS thread on XDA)

sec-battery-monitor (): 5 m 41 s Cnt:(c/wc/ec)137/0/0 1.6% -> related to battery-monitoring apps (for example a battery monitoring widget)

wlan_rx_wake (): 2 m 39 s Cnt:(c/wc/ec)194/1/194 0.7% -> see this thread for a possible solution

l2_hsic (): 2 m 30 s Cnt:(c/wc/ec)168/0/169 0.7% -> check this thread for information about this one

Alarms: 45, Intent: com.whatsapp.messaging.MessageService.CLIENT_PINGER_ACTION -> try to limit this one to 900 and check if you encounter any delayed notifications from Whatsapp

Alarms: 7, Intent: com.facebook.analytics.service.a.ACTION_ALARM -> limit this one to 9999999

Alarms: 10, Intent: com.google.android.gms/.checkin.EventLogService$Receiver -> check post #4 and limit this one according to the recommendation in the guide

Beside this, the main drainers are FB, FB Messenger and Instagram. They are known to cause battery drain. If you don't rely on instant push notifications from those apps, you could greenify them or try alternative clients, such as Facebook Lite (FB client + integrated messenger).
[Android General] 0850:
RegEx problems

wrong thread, moved to:

http://xdaforums.com/xposed/modules...e-nlp-wakelocks-t2853874/page677#post66769263
[Android General] Portgas D. Ace:
As this is related to Amplify itself and not to the guide, I would suggest you ask in the XDA thread of Amplify for help.
[Android General] 0850:
thanks
[Android General] demoncamber:
In terms of the

Alarms(REGEX Blocking),

What exactly does this do and how does it do it without blindly blocking important alarms?
[Android General] Rakuu:
There's a bunch of alarms that are 'alarm<random numbers>', the regenerate blocks those, none of those are important so far.
[Android General] demoncamber:
Ok great. So now I've seen ALARM_WAKEUP[0-9]{4,} or ALARM_WAKEUP[0-9]+ and 9999999 seconds

Which one is considered the best config at this current time?
[Android General] TNSMANI:
I am using the second one and it is working alright.

The {4} in the first one will work if the number of digits in the alarm is anything from 1 to 4. Any thing more than 4 digits will not be blocked. The + in the second one will block any number of digits. This is my understanding. Correct me if I am wrong.
[Android General] skul9x:
Can I add Amplify to the hibernating list of Greenify?
[Android General] aaaqhaaa:
Hi Portgas, hope you are well.

thank you for your advices. it helps.

i did another dump. hopefully you could check on it. thanks alot.
[Android General] Portgas D. Ace:
Of course you can. But don't expect Amplify to work properly if you do so ;) There is no need to greenify Amplify as it does not drain any battery.

wlan_rx_wake (): 4 m 40 s Cnt:(c/wc/ec)306/411/306 1.1% -> see this thread for a solution

com.alibaba.aliexpresshd (): Wakeups: 11 (1.6 / h) -> AliExpress Shopping app draining some juice, you can greenify it

10205 (Wifi) (au.com.shiftyjelly.pocketcasts.Pocket Casts): 40.0 MBytes 94.4% -> PocketCast using data, thus draining battery
[Android General] Audipower:
Question about Amplify and Power Nap

Why it make sense to use Amplify and Power Nap for my Understand they do the same Job stoping Alarms and Wakelocks ok Amplify does it every time and Power Nap only Works on Screen of but they do the same thing i think

Thanks for your statement
[Android General] wogooo:
https://play.google.com/store/apps/details?id=org.gpo.greenpower
[Android General] goran90:
Ia there any solution to disable sec-battery-monitor ? Biggest draining problem for my note 3 neo
[Android General] 12gage:
I've been having an issue with Greenify Auto-Hibernation being stopped, and I can't figure out why. I had it set as described in Amplify in the op, but I removed it from the list now, I whitelisted it in Power Nap, but I even turned off Power Nap to try and stop it, and I have it set as a Device Admin and Accessibility Services are activated. Does anyone have an idea what maybe causing this?
[Android General] demoncamber:
Ok here's a better battery stats log for youhttp://cloud.tapatalk.com/s/5733c559c7b04/better b stats.zip
[Android General] aaaqhaaa:
Thanks Portgas for reviewing my bat stats. Btw the thread you gave me, it said has been deleted by the admin. Thank you
[Android General] Portgas D. Ace:
Strange, as I can access the thread without issues. Search for "Getting rid of wlan_rx_wake wakelocks" on XDA or Google and you will find it.

Can't open the .zip file. Try uploading it from your browser instead of Tapatalk. Alternatively, just attach the .txt file.

Amplify limits all kind of alarms/wakelocks, independent of the screen state. Power Nap just blocks apps from running while the screen is off, thus reducing your idle battery drain.
[Android General] aaaqhaaa:
Thanks portgas, will try to do that.
[Android General] aaaqhaaa:
Double post
[Android General] demoncamber:
https://www.dropbox.com/s/wqf0kq1onkhc4jp/better b stats.zip?dl=0 try that
[Android General] Portgas D. Ace:
Statistic Type: Boot to Current -> set it to "Unplugged to Current", otherwise it will result in such things: Screen On (): 58 m 13 s 5.6%

Alarms (requires BATTERY_STATS permissions)(uses API) -> try to disable the "use API" method to catch the alarms in BBS settings, because the alarms section is incomplete (most likely due to the alternative method)
[Android General] Asiier:
Hey guys, check the stats I got during the night

There is like 30 second of awake time (because I greenify Google Services and Whatsapp)

But I still getting some "significant" drain, I just wanted to confirm If the problem is related with the kernel or cpu

Because I remember that on my G2 I could get up to 11 min of awake time and 15 hours of sleep without losing 0.1% of battery
[Android General] demoncamber:
Sure no problem, here is a new log for you
[Android General] mvlad:
http://pastebin.com/hgdiU1N3

Sent from my OnePlus 2
[Android General] carlitobahsoun:
hi

this mine this morning can u take a look plz??? note5
[Android General] Portgas D. Ace:
Guys, I am on vacation until Monday, will be back afterwards to help you again. In addition, v7 will be back in the near future.

Have a good time :good:
[Android General] TNSMANI:
Please provide an idle dump, not an in-use one.

---------- Post added at 04:43 PM ---------- Previous post was at 04:39 PM ----------

Please charge your phone to 100%, unplug, leave idle for >6 hours and pull the dump within 1 minute of screen on.

Boot to current dump may not reflect the idle position correctly. See Portgas' post above.

---------- Post added at 04:48 PM ---------- Previous post was at 04:43 PM ----------

To me, everything looks alright. How old is the battery?

Pull another dump on aeroplane mode and post it here.
[Android General] mvlad:
Anything on mine?

Sent from my OnePlus 2
[Android General] Asiier:
Is not even 4 months old, will do a test tonight on airplane more and see how it works
[Android General] aaaqhaaa:
Hi guys, i dont know what i did, but suddenly now all of my google apps have stopped unfortunately i think the goggle play services but i am not quite sure. Apologize if i post in the wrong thread.

Am using note 4 910U erobot Rom 6.0.1 + sue kernel.

Thank you.
[Android General] BatDroid:
did u limit Icing?
[Android General] aaaqhaaa:
Hi batdroid,

I dont think so. I just limit the ones in front page. It has been couple of days i did everything in this thread and it was fine untill today.

I tried any solution about google play services problem on any website but nothing can solved.

Thank you.
[Android General] junioramboy:
You must have limited some things, otherwise GPS will not FC. Check your services. Or these..

ContextManagerWakelock

UlrDispSvcFastWL

These can cause FC.
[Android General] aaaqhaaa:
Hi junioramboy,

Thank you for the info. Ill try after charging my phone, it drained my battery because of the notification of the google apps crashes everytime i opened it
[Android General] carlitobahsoun:
hi

affter full charge ..unplug and leave it for 9 hrs
[Android General] Durrz:
Hi thanks for the suggestions! I'm also experiencing the same problem however upon checking I don't really have the two mentioned wakelocks disabled.

Any more ideas please?
[Android General] soosoolhastam:
with the new update to google services. my google apps have started closing immediately. I can fix it by disabling the amplify module.

Does anyone know which setting is causing this? I am only using the amplify settings on the first post. no other apps.

---------- Post added at 09:24 AM ---------- Previous post was at 08:43 AM ----------

its f "icing". Change this son of a b
[Android General] Rakuu:
Finally got a dump, charged to 100 with phone off, turned it on and left it for about 8 hours, anything to improve?
[Android General] TNSMANI:
Your BBS is very old. Update to 0B6 and pull a fresh idle dump.
[Android General] mvlad:
It's the latest from play store..

Sent from my OnePlus 2
[Android General] neonkat:
check xda thread for latest beta(good if you are using mm roms).
[Android General] TNSMANI:
Screen on for nearly 2 minutes. Try to pull the dump within one minute of screen on.

Your sensors were awake almost the full time.

Audiomix active, check screen lock sounds etc. Did you receive a call?

Your wifi is giving problems. Search this thread for solutions.

Limit Whatsapp.

io.github.mobodev.heartbeatfixerforgcm (): Wakeups: 112 (11.8 / h)

Alarms: 112, Intent: io.github.mobodev.heartbeatfixerforgcm/.HeartbeatReceiver

Don't know what this is, but too many alarms.

For better advice than this, wait for v7.

---------- Post added at 09:25 PM ---------- Previous post was at 09:20 PM ----------

Why have you enabled API in BBS settings? Disable that and then pull a dump.
[Android General] carlitobahsoun:
ok thanks... heartbeat is an app for puch delay notification i will try without it...no not receive any call at night...wifii dont know but in the rom using i got 17% wifii drain ...i will try again without heartbeat app and see if this was coz
[Android General] Rakuu:
These three ya?
[Android General] Rakuu:
Here's the new dump
[Android General] stephlal:
If all your google applications have been crashing since May 12th - stop limiting ICING.

Gmail, App Search, Play Store, Chrome Dev, Chrome, Play Music were all crashing on my phone. Froze Amplify with TB, resolved right away. I found a couple of threads that mentioned a change that now requires ICING. It was also mentioned by someone else in this thread. I don't know why, I just know it fixed it for me.

Nehoot, look no further, ICING is the issue.
[Android General] aaaqhaaa:
Sorry i dont understand your statement, so the problem is ICING or not?

And just find ICING in amplify - wakelocks or alarm?

Thanks
[Android General] Asiier:
Sorry for the delay, here is the dump

The sensor has been running all the time, but the phone still goes to deep sleep

That might be the problem
[Android General] bragih:
Can anyone suggest me what to do about fast battery drain during usage? My standby time is completely fine (0.5%/h) but as soon as I use the phone I get maximum 3h OST.

I have not changed anything about usage behaviour or software since the times where I got over 5h of OST with a previous version of my Rom, so I'm quite clueless. And other people don't seem to get the problem with that rom.
[Android General] junioramboy:
Kernel?

New battery or new phone.
[Android General] bragih:
I have tried different CM13 roms for my phone and all seem to cause these problems. So Kernels were also different. Would you say strong undervolting and underclocking would do much?

I was afraid it could be the battery, even though the phone is 1.5 years old.
[Android General] stephlal:
OP suggests limiting ICING in wakelocks to 10800.

I've had ICING set to 10800 for over 2 months without any problems.

Google did something around May 12th that requires ICING.

Limiting ICING to 10800 in Amplify is instantly crashing all my google applications.

Why, I don't know, but removing the limitation fixed it for me.
[Android General] Audipower:
Hello does anybody have tested "com.google.android.location.internal.action.ULR_BLE_SCAN_Alarm" can i limit it ?
[Android General] aaaqhaaa:
Hi stephlal

That is exactly what i have experienced,

Thank you for all the helps from you and all the member of this thread.
[Android General] ProudRed:
Have lost 13% in 9 hours. Could you please check if everything is alright or I can tweak anything ?
[Android General] junioramboy:
The battery saving from undervolting is minimal, and doing it strongly causes more problems not worth the battery saving. Try some efficient kernel first.
[Android General] mele80:
11% lost in 8 hours, is it possible someone to check. Not sure if there nothing to be done.
[Android General] junioramboy:
Kernel.. your Android OS is the top drainer, right?

That's because of events & wlan wakelocks, and some Goggle Play Services and bluetooth alarms.

The latter, you can do something by limiting the alarms or turn off bluetooth.

The former, it's tough because, when connected to certain routers these kernel wakelock happens. In my case, the culprit is my router, maybe your case is the same. But mine is worse than yours though.
[Android General] TNSMANI:
BT, wifi, widget update seem to cause issues. If possible, atleast during sleep, disable BT. For wifi, assign a static IP for your phone and see if it improves. Widget updates can be limited, if you don't mind delayed updates.

Alarms: 42, Intent: com.google.android.gms.gcm.HEARTBEAT_ALARM

Alarms: 9, Intent: com.google.android.gms/.checkin.EventLogServiceReceiver

Heartbeat alarm can be limited but push notifications may be delayed.

Event log service receiver is in the OP which recommends limiting it.

---------- Post added at 08:40 PM ---------- Previous post was at 08:35 PM ----------

You still have 0.6% per hour consumption which is high for aeroplane mode. But I am not able to help you as I am unable to identify the reason.

Wait for the OP to surface (he is writing his exams) and then post both the dumps and seek guidance.

---------- Post added at 08:43 PM ---------- Previous post was at 08:40 PM ----------

It is an update of Google Play Services which is causing the FCs if 'icing' is limited in Amplify. As a temporary measure, unlimited 'icing'.

---------- Post added at 08:44 PM ---------- Previous post was at 08:43 PM ----------

See above.
[Android General] Asiier:
I solved the sensor problems, tonight I'll pull another test and see how it works
[Android General] piquadrat:
I have the following Amplify config enabled right now:

Alarms(REGEX Blocking)
ALARM_WAKEUPxxxxx -> "ALARM_WAKEUP[0-9]+" Set the interval to 9999999 seconds.

Alarms
com.android.internal.telephony.data-stall 600s
com.android.server.action.NETWORK_STATS_POLL 10800s
com.google.android.intent.action.SEND_IDLE 41400s
com.google.android.gms/.checkin.EventLogService$Receiver 93600s
ALARM_WAKEUP_LOCATOR(com.google.android.gms.nlp.AL ARM_WAKEUP_LOCATOR) 41400s
ALARM_WAKEUP_BURST_COLLECTOR(com.google.android.gm s.nlp.ALARM_WAKEUP_BURST_COLLECTOR) 41400s

Wakelocks
NetworkStats 800s
LocationManagerService 41400s	disabled - problem with GMAIL
*net_scheduler* 3600s
Icing 10800s disabled - problem with GMAIL
GCoreFlp 10800s
Wakeful StateMachine: GeofencerStateMachine 10800s
RILJ 800s

The problem is: I had to disable two wakelocks for latest Gmail app to not crash during messages sync. These two are:

LocationManagerService

and

Icing

Even with only one of them active GMAIL is unstable!

Do you have problems with latest Gmail compilation and Amplify with the recommended settings?
[Android General] Rakuu:
I don't even use widgets, not a one, so that's odd that would be an issue. BT and wifi should turn off during screen off from smart network, though bt only when my pebble isn't connected. As for wifi with static IP, I can try but a majority of my time is on wifi that I can't control to that extent.
[Android General] junioramboy:
These wakelocks, particularly Icing, do not drain battery. If you look at Better Battery Stats, mostly, these don't even amount to 1% in partial wakelocks. So don't bother. Don't reduce your precious phone to a dumbphone.
[Android General] aaaqhaaa:
yes, stephlal has been helpful.

thank you.
[Android General] djurkash:
Looking for an advise, I have a dual sim phone (Sony Z3+) and idle consumption of around 0.8. 1.0 %/h, but my airplane mode is not so much better, here is the log file:

To my mind no so many issues, what do you think, can something be done using advices from this thread?

sent from e6533
[Android General] Portgas D. Ace:
Guys, I am back. Saw that lots of log files have been posted and being commented, so if anyone has been missed out, please mention me and post the link to the corresponding post and I will have a look.

BetterBatteryStats version: 2.1.0.0 -> update your BBS to the latest version 2.2.0.0B6 (check the BBS thread on XDA)

Beside this, some parts of the log file are corrupted, this will (hopefully) being solved by installing the latest BBS version.
[Android General] djurkash:
Thanks, I've purchased the app to support developer, and the newest is not yet being pushed through play store, but I'll download it from the thread.

Can I ask what is exactly the reason, or to rephrase, what are you specifically looking for in the log file frm Perger version, that you don't see in current I've attached?

sent from e6533
[Android General] Portgas D. Ace:
v2.1.0.0 seems to have issues with Android Marshmallow, the "alarm" stats are incomplete. Only the package names are shown, but not the exact alarm. This way it is not possible to pin down issues to a certain alarm.
[Android General] soosoolhastam:
This is true. I posted this message a couple days ago. Chrome wouldn't load if I didn't removed icing from the limited list
[Android General] noobSU:
Can you guys please check how can i improve?

Stats are attached.

https://drive.google.com/file/d/0B0Al5ZRoGzLeY1ZXajZldHNIZzA/view?usp=drivesdk
[Android General] Portgas D. Ace:
"msm_hsic_host" (): 27 m 49 s Cnt:(c/wc/ec)583/424/0 10.6% -> there are several information available, see this thread and this page for example

10012 (Mobile) (Media): 32.0 MBytes 94.5% -> seems to be related to Google Play Store, check if you are willing to greenify Play Store (thus "deactivating" auto-updates and more)

By the way, your "alarm" stats are incomplete, seems you are using the API method to get the alarms. Could you disable this method within the BBS settings and post another idle dump?
[Android General] 12gage:
Can someone please look at my dump? Untouched for about 6 hour per op, went from 100 to 70%
[Android General] Portgas D. Ace:
Statistic Type: Current to Current -> set it to "Unplugged to Current", otherwise the stats are just useless.
[Android General] noobSU:
msm_hsic_host belongs to the playstore? Are you sure? Oki I'll try to greenify playstore & check. 2nd is it seems that you are right but in the betterbatterystats that option is not checked. Then why I'm getting the wakelocks from api idk if you can help? I'm attaching the screenshots aswell. Please check. Fyi im using Miui7 kitkat based.

Api is also written below every wakelock.

One more problem is i don't get these stats under them also.
[Android General] 12gage:
Sorry about that, I tried setting up a Tasker Task to create it right before my alarm goes off so I wouldn't screw up the dump with screen time. Must not have set it up correctly, try, try , try again
[Android General] Portgas D. Ace:
No, msm_hsic_host belongs to the 3G/2G network, as it seems. 10012 (Mobile) (Media): 32.0 MBytes 94.5% seems related to Play Store, as the Play Store download manager has been the most active one (in terms of download stuff) during idle time, thus my conclusion.

It's quite strange that BBS produces such log files, maybe you should search in the BBS thread here on XDA for more information/help as I am not familiar at all with MIUI-based ROMs.
[Android General] noobSU:
Thanks alot for this sweet help. Going to search on bbs thread.
[Android General] hardwareadictos:
Anyone here suffering from ConnectivityService? Any tips?

Enviado desde mi oneplus2 mediante Tapatalk
[Android General] vogiasf:
Anyone know something about these two wakelocks?

- ImsWakeLock I get~ 3-5/min

- IMS I get~ 1/min

Maybe they belong to LG apps or something, because I can't find anything on google about them

LG G3 d855 Fulmics 5.2 Stock kernel with CTT mod and xposed