yashsingh1/xdaforums huggingface dataset:
[Android General] Portgas D. Ace:
Sure. From what I see, you made a WhatsApp Call during the log period. Beside this, the two Facebook apps are quite active. If you are okay with them draining about 1% per hour, then there isn't much we can do here. If you are okay with replacing both apps with a lightweight solution, try Facebook Lite or Metal for Facebook. Both alternatives drain way less battery, but offer mostly the same functionality (beside not having chat heads).

By the way, there is a newer version of BBS available in its thread here on XDA.
[Android General] yeyeoke:
So you blocked the wrong ones. Block only the ones mentioned in the first post, that should be more than enough.(...)
[Android General] krasCGQ:
Try to add another regex: CONTEXT_MANAGER_ALARM_WAKEUP_[0-9]{4,} and set it to 9999999 seconds.

With both regex added (the OP one also), I've any of context manager alarms blocked.

Hope this helps.
[Android General] ainurrofiq:
I'm sorry [MENTION=5867207]v7[/MENTION] and [MENTION=5901790]Portgas D. Ace[/MENTION]

Can you take a look at this?
[Android General] stefan1234566789:
Some highly drainage. What should I limit?
[Android General] Portgas D. Ace:
bam_dmux_wakelock (): 6 m 6 s Cnt:(c/wc/ec)121/11/0 3.0% -> Search for bam_dmux_wakelock and you might find a solution. I am currently in a hurry and on my phone, so can't do a proper search.

Screen On (): 34 m 55 s 7.0% -> that's not an idle log file. Refer to post #6 and try again.
[Android General] v7:
Looks good.How's the cell reception at your place?

Network mode is 2G/3G/LTE?

bam_dmux_wakelock triggers during active cellular data connection.No need to worry about it.

__

v7

XDA Assist
[Android General] ainurrofiq:
The reception is very good. No the network mode is prefer 4g. Because my place is supported 4g. Do you recommend to install smart network?

---------- Post added at 10:07 AM ---------- Previous post was at 10:06 AM ----------

Yeah thanks [MENTION=1931449]portgas[/MENTION]
[Android General] brom25:
Hey guys,

been following the thread for a long time, now I retweaked my phone and there are some disturbing alarms.

the appwidet_update ad the heartbeat_alarm seems weird to me.

if someone could help, would be a lifesaver :D :good:

thanks
[Android General] HydrogenCyanide:
Well this is my latest one and seems good. Any reccomendation?
[Android General] ofer5813:
Hello,

I couldnt find the latest xposed framework zip for flash can someone please post a link to direct me?

Nvm thx anyway
[Android General] samsald:
Hi all can someone please check my dump

http://cloud.tapatalk.com/s/57debeeee5def/BetterBatteryStats-2016-09-18_111729144.txt

Enviado desde mi SM-N900 mediante Tapatalk
[Android General] ben cherian:
What is the minimal thing to do to reduce battery drain without Xposed ? Any specific kernel ?

Device-Oneplus 3

Rom-Oxygen Community build 3.5.2

Kernel-Stock

Rooted
[Android General] rolarocka:
Greenify does a good job, had it a long time without xposed and idle was 0,2% drain over night ☺️?

OnePlus One FTW
[Android General] raptorskate:
Can you help me with this? Thanks!!
[Android General] marcdw:
Hello all. Could anyone take a look at the stats in post #11085. Think there's a few outstanding wakelocks to deal with.

Thanks in advance.

LG G3 D851, Tekcafe ROM, Gabriel v1.7 Kernel, Tapatalk 4.9.5
[Android General] mrrocketdog:
[MENTION=5867207]v7[/MENTION] . been awhile since on ur thread. but all your info/ideas/suggestions are still working for me and my m8. appreciate your dedication to use "power users".:highcowboy:

"err on the side of kindness"
[Android General] dizM0nkey:
Hey v7,

Would you mind having a look at my BBS dump? Thank you!

diznanl
[Android General] githyanki:
Update bbs, there's a link in OP.

Also, you need to have less than one minute screen on, you have over 15 minutes of sot.
[Android General] dizM0nkey:
BBS update? Don't see it in the OP. Thanks for your help!
[Android General] githyanki:
Oops, your right. I thought v7 was going to put it there.... It's in the 7th post.
[Android General] ofer5813:
Can somebody help me please solve something: I set up all amplify Greenify appopsxposed etc, but there are times when I unlock using the pin I get a delay and a black screen what can I do?
[Android General] ofer5813:
Nobody knows this problem guys?

I'll really appreciate the help..
[Android General] pakoczesiu:
Maybe I went a little too far with controlling wakelocks and alarms; reason why I consider this is GPS issue that I have. I can't swith GPS to any other mode than "GPS only". Once I tap first option, it immediately switches back to GPS only. Which one alarm or wakelock could harm this?
[Android General] DB126:
Let's see...less than 8 hours between posts. No device model or list of blocks. No evidence of searching for similar issues and potential resolution. To identify root cause remove everything you did and then re-add one-by-one or in small groups until the culprit is identified. Same thing we all have to do when stuff goes bad.
[Android General] ofer5813:
OK first of all thx for helping in advance..

Second, I'm sorry I didn't give this earlier thats my bad. I'm using an oneplus one 64gb black,

Followed the guide installed all the requirements one by one, and have set them up...

I Did searched the post and any other post regarding similar issues but to no resolution, I don't have that much of experience with these apps specifically, but I have donated and enabled pro features following the guide 1:1 but I can't pinpoint what exactly is causing this problem and sadly idk how to dump and send error logs for your viewing. I'm just having lags or stuttering like and then black screen as if in safe mode or something for some seconds and then it goes back to normal and happen again every now and then. This happens Only with unlocking using PIN lock as of now.

Thx for future help.
[Android General] Oswald Boelcke:
Please read this, might help in future and it also contains some hints how to log (ok, not specific to any in-app-built-logging).

Additionally, the 4 "must read" I've linked in my signature are interesting to read, too.
[Android General] ofer5813:
Understood the references and will try for future queries to be more followed by the guidelines you posted. But the posts on your signature I couldn't opened any of them because there is an unexpected error which collapses the xda labs app.. Can you refer me with another source?

And do you have any clue what causing this lag and black screen bug during unlocking the screen?
[Android General] Oswald Boelcke:
I never had these issues in the past while using Greenify, Amplify, Power Nap etc., but I had such an issue. However, I was able to pinpoint it to bad kernel settings for my device in a recent configuration. Regarding the mentioned application, I ensured to follow exactly the recommendations from the OPs, when I was new to them. In course of time, I started to explore my own settings but always step-by-step to hopefully easily localise a troublemaker (setting).

The links in my signature are "google-shortened" and for that reason probably not working with XDA Labs ([mention=4752536]FLooDW[/mention]: Do you know a respective issue?) I'm going to shoot you the full links by PM, ok.
[Android General] ofer5813:
OK thx allot for helping and explaining.. I guess I need to upload a certain log for professional people to direct and help me solve the issue. But Idk which application is doing this troubles. And I'll highly appreciate if you can send me the links by pm..
[Android General] DB126:
Thanks for the additional detail. Really the best starting point is to reverse what you have done (as previously noted) or disable tools (Amplify, Greenify, etc) one by one to narrow down the universe of possibilities. You can then add things back until it 'breaks' again. The problem is specific to your device/config and is not widely seen. It is unlikely IMO a simple log will reveal the culprit.
[Android General] ofer5813:
I see so I need to uninstall the mentioned apps one by one to see what causes the issue?
[Android General] ryanallaire:
Could someone have a look see? TIA
[Android General] noobSU:
Thanks a ton buddy ?
[Android General] githyanki:
Strange, you had 24 minutes screen on, but your biggest drains were :

PowerManagerService.Display (): 2 h 20 m 43 s Cnt:(c/wc/ec)15/0/0 37.1%

bluesleep (): 29 m 29 s Cnt:(c/wc/ec)54/1/54 7.8%

So, your display manager was active almost 2 hours more....

Not sure what blue sleep is.

You'll need to get another log without so much screen on time.
[Android General] DB126:
Uninstall or simply remove what was added. Pretty easy to move things in/out of Greenify. Same for PowerNap. Amplify can be disabled without removing the list of limited items. I'd start with Amplify as this tool typically produces the most side effects.
[Android General] mrrocketdog:
[MENTION=5867207]v7[/MENTION] i have (under wakelocks. instead of alarms) GpsLocationProvider & CdmaInboundSmsHandler. cant find any info on www and was wondering if you knew ; safe to limit and by how much? thanks for this awesome helpful thread.:cowboy:

"err on the side of kindness"
[Android General] Ajaykumar21066:
I have strange issue, not sure if this has been answered before , really need help.

When i install Amplify and start using it, All apps give FC message when i exit them. any solution.
[Android General] easyX:
So, here's my current dump: https://drive.google.com/open?id=0B-bKWOqLKHw9QkNSUHg3ZU9HVFU

I don't need Instagram, Facebook and Weather Service while screen is off. But I want updates immediately after screen is on. And apps like Telegram, GMail should notify me even when screen is off. That's where Greenify and Amplify will kick in, right?

Even though, -9% in 8 hours (WiFi on, not connected, LTE on, Bluetooth and Location off) is really much. Will there be a noticeable difference when using Greenify, Amplify? Or do you guys see another issue?

Thanks!
[Android General] ryanallaire:
Ok here's another one, it sat overnight so no screen on at all.. I use Franco kernel and fkupdater but no tweaks, just his stock balanced profile..
[Android General] v7:
Sorry for being inactive here.I recently had some financial issues and I'm still trying to fix it from my side.I hope you all will understand.I'll try to attend the posts soon.

__

v7

XDA Assist
[Android General] suaverc118:
Sorry that you're going through whatever it is. Know that it's temporary and you have bigger plans than this
[Android General] ryanallaire:
Sorry to hear that brotha, take your time as that is priority over this.
[Android General] LVME:
Can someone have a look at my stats pls? Draining to fast no idea why

Thanks in advance
[Android General] abhijeet715:
[MENTION=5867207]v7[/MENTION] something is keeping this alive can you please check
[Android General] marcdw:
Greetings all,

Here's a dump with one major wakelock it seems. CmaSystemUpdateService I believe.

Thanks.

https://www.dropbox.com/s/dngmertae27ez66/BetterBatteryStats-2016-09-16_124744926.txt?dl=0[

LG G3 D851, Mahdi KitKat ROM, TeamBlackOut, Tapatalk 4.9.5
[Android General] VairagiPsytrance:
Killer Battery Life

(Follow the links for screenshots I dont know How to Post Screenshots)

Thanks For the Tip Killer Battery LIFE INDEED

:)
[Android General] LVME:
please, need some help, draining more while idle than in screen on
[Android General] githyanki:
(com.whatsapp.WhatsApp): Sensor: Significant Motion Detector(35), wakeup=true, Time: 5 h 13 m 13 s

I think that for some reason the phone thought there was significant motion and was kept awake.

Perhaps try uninstall / reinstall WhatsApp.
[Android General] LVME:
Still draining a lot while screen is off. Any more tips

Thanks in advance
[Android General] Portgas D. Ace:
Screen On (): 6 m 16 s 1.9% -> try to minimize the screen-on time to less than a minute, save the log right after you turn on your screen

Some kernel wakelocks, see this thread for a possible solution.

Alarms: 7, Intent: CONTEXT_MANAGER_ALARM_WAKEUP_216356 -> use Amplify's regex function as described in post #4 to block those alarms

10010 (Wifi) (Google Services): 12.0 MBytes 92.0% -> Google Play Services downloaded/uploaded some data during idle period, thus draining some battery

Screen On (): 52 m 5 s 40.4% -> that's not an idle log file. Please refer to post #6 and post a proper idle log file.

Quick question: do you even use Amplify and/or Greenify at all? From what I see, most things that are limited by Amplify (as per this guide) are shown in your stats.

CmaSystemUpdateService (Google Play services): 6 h 44 m 58 s Count:8250 78.4%

NlpCollectorWakeLock (Google Play services): 30 m 46 s Count:39553 6.0%

NlpCollectorWakeLock (com.google.android.apps.maps.Maps): 30 m 28 s Count:1980 5.9%

NlpCollectorWakeLock (com.google.android.googlequicksearchbox.Google App): 30 m 28 s Count:3964 5.9%

NlpWakeLock (Google Play services): 2 m 55 s Count:21491 0.6% -> beside the CmaSystemUpdateService, those wakelocks should be blocked by Amplify by default

Beside this, your ekrnel wakelocks appear to run crazy. I would suggest to flash a different kernel and post another idle log file.

Alarms: 106, Intent: CONTEXT_MANAGER_ALARM_WAKEUP_75110 -> use Amplify's regex function as described in post #4 to block those alarms
[Android General] marcdw:
[MENTION=5901790]Portgas D. Ace[/MENTION], I have Greenify and Amplify but hadn't yet employed them on this ROM. Like a dummy I didn't think to do so beforehand.

After setting things up I'll get another idle log. I'll be stuck with the kernel wakelocks though. Far as I know there has never been a custom AOSP/CM KitKat kernel for the G3.

Mostly I'm trying to see if I can get the same battery life with a Googled setup as I do with a NoGapps/microG setup.

Thanks for the input. Much appreciated.

LG G3 D851, Mahdi KitKat ROM, TeamBlackOut, Tapatalk 4.9.5
[Android General] Portgas D. Ace:
If no custom kernel is available, you could try to use another CPU governor (but this shouldn't make much of a difference at all, nevertheless might result in less battery drain).
[Android General] Bluestar01:
Do you know which services to limit, if you have high drain by "Google-services" ?
[Android General] Portgas D. Ace:
Nope, Google Services is just the main service which includes all individual services. Use BBS to determine the individual culprits.
[Android General] ryanallaire:
Does anyone have nights where your phone drops 8-10% and some nights only 1-2%? I don't know why this happens but like last night I didn't do anything different but it only went down 1%, and typically it loses anywhere from 5-10% overnight..
[Android General] DB126:
Yes. Possible explanations (clearly there may be other factors):

- Google Play Services kicks in with some type of 'maintenance' routine (can clearly see this in utilization stats)

- user app does something similar

- device may show 100% charge when battery is actually at a slightly lower level; introduce a small load and the displayed battery status suddenly drops

On my phone anything above 92% is effectively a full charge. Seen it plummet to 93% with <1 min of CPU time; at other times it will linearly drop from 100% -> 95% relative to CPU and other resource utilization.
[Android General] Andiii:
i had this with with WLAN kernel wakelocks - it was gone after setting a static WLAN IP in the cellphone
[Android General] marcdw:
Here's an updated dump.

The CM cLock thing. I had lockscreen weather turned on which should've been off. Weather doesn't work on this ROM (on a number of ROMs actually. Quite quite frustrating really).

Kernel governor changed to conservative.

TIA
[Android General] ainurrofiq:
I hope you can stable the financial

Can you take a look at this? [MENTION=5867207]v7[/MENTION] [MENTION=1931449] [MENTION=5901790]Portgas D. Ace[/MENTION]
[Android General] DB126:
Please don't cross post in multiple threads. Against forum rules and annoying to readers who have to wade through the same material multiple times.
[Android General] samsald:
a thousand apologies did not know i could not ask the same question in identical topics

Enviado desde mi SM-N900 mediante Tapatalk

---------- Post added at 05:19 AM ---------- Previous post was at 05:17 AM ----------

i apologize again are not identical but refer to the same issue of wakelocks

Enviado desde mi SM-N900 mediante Tapatalk
[Android General] Portgas D. Ace:
Level lost [%]: Bat.: 0%(100% to 100%) [0.0%/h] -> from your stats, there is nothing we can do to improve battery drain. My suggestion: produce an idle log file with more than 6 hours (overnight maybe), the current one has about 4 hours. This way we will minimize fluctuation within the stats.

bam_dmux_wakelock (): 16 m 43 s Cnt:(c/wc/ec)404/9/0 7.0% -> check this thread, bam_dmux_wakelock is related to data connection and might be reduced by following some of the suggestions in the linked thread

Screen On (): 15 m 37 s 3.8% -> again, try to minimize this time, save the log file right after you turn on your screen, don't use your device before saving the log file

It seems that you made a Whatsapp call during idle time. Please refrain from soing so, otherwise the stats will be more or less useless for analysis purpose.

Alarms: 8, Intent: CONTEXT_MANAGER_ALARM_WAKEUP_71413 -> use Amplify's regex function as described in post #4 to limit those kind of alarms

Alarms: 6, Intent: com.google.android.location.reporting.ACTION_UPDATE_WORLD -> limit this one to 9999999

10019 (Wifi) (com.android.vending.Google Play Store): 34.0 MBytes 60.4% -> seems that your Play Store downloaded some apps/data during idle period
[Android General] tet-bundy:
If u delay tasks from idle period to they will run once u turn on screen again. The high load will then introduce lags. That's normal after longer idle periods..
[Android General] ainurrofiq:
Thank you [MENTION=5901790]Portgas D. Ace[/MENTION]
[Android General] DB126:
Absolutely identical right down to wording. As for your question I would dump the app vs going after associated wakelocks. Besides, no need to limit wakelocks/services that are not proven drainers (most are not). Just asking for trouble.
[Android General] Andiii:
i now have fabulous battery life >18h and -1% battery in idle. But i have found one Problem - my Whatsapp does not do its automatic backup - which should run every night an 2 am. I use Amplify like written in OP, Greenify with force Doze and PowerNAP and AppOPs (in AppOPs everything is allowed for whatsapp app). What should i do - any ideas?

Manually pushing to backup works fine. But i would like to get back the automatic feature. I have no idea since when it had happend that the automatic isn't working.
[Android General] v7:
Alarms: 24, Intent: CONTEXT_MANAGER_ALARM_WAKEUP_87114

Add regex from the OP.

Is Whatsapp whitelisted in PowerNap?

Is it greenified?

__

v7

XDA Assist
[Android General] Andiii:
WhatsApp is not greenified. I will whitelist it in Powernap an test tonight. I have already added these three regex settings: [emoji15]

CONTEXT_MANAGER_ALARM_WAKEUP_[0*9]{3,}

CONTEXT_MANAGER_ALARM_WAKEUP_[0*9]{4,}

ALARM_WAKEUP[0*9]+

And have set them to 9999999
[Android General] raptorskate:
Can you help me with this idle? What can I improve? Thanks!
[Android General] pettigrew95:
Anybody else getting a lot of wakeups from BatteryServiceUpdatestats_3? Seems to be causing me a lot of wakeups and eating battery. Thanks!
[Android General] nick0s23:
there are some wakelocks, alarms and services which are not shown in amplify even after days that amplify is there. For apps like pushbullet which I have not installed is obvious that they should not be there but I cannot even find some that are supposed to be included in some essential apps, google play services apps for example. Is that normal? I have previously used this guide in my previous device and everything was there. :confused:

My device is Moto X 2014 running CM13 nightly if that helps.

Thanks in advance

ps. I have extracted a dump file using bbs which I would like to share but I can not upload or share a link with it, probably because I m a new member.
[Android General] ban.codrut:
Google apps usually use system alarms and wakeups and you won't see any of them like "Google play store blah blah" as you see on 3rd party apps which may used their own, but instead you'll see the wakeup event or alarm event like enumerated in BBS by tapping on play (or the app you are interested in) which will give you the list of all used alarms and the number for how many times it has been used in the given period of time as in screenshot:
[Android General] ban.codrut:
Start by reading this FAQ from greenify about aggressive doze

https://greenify.uservoice.com/knowledgebase/articles/828360

This might actually be the issue you are experiencing
[Android General] kg3:
I setup amplify wake locks and alarms per the first post, however now my gmail is not auto syncing emails. Which wakelock or alarm setting from the first post would block this?
[Android General] v7:
It should be

CONTEXT_MANAGER_ALARM_WAKEUP_[0-9]{4,}

__

v7

XDA Assist
[Android General] v7:
Wifi Running (): 18 m 45 s 4.8%

WiFi was disconnected while screen off.See if you have 'Keep WiFi during sleep' disabled in WiFi settings.

__

v7

XDA Assist
[Android General] v7:
Get a dump.

__

v7

XDA Assist
[Android General] v7:
Use XDA App/Labs to attach the dump.

Let me see.

__

v7

XDA Assist
[Android General] v7:
com.android.syncmanager.SYNC_ALARM and SyncLoopWakelock.

__

v7

XDA Assist
[Android General] Andiii:
oh dear i need new glasses ;-D - thanks to point that out for me....

i whitelisted Whatsapp in PowerNAP and the automatic backup at night WORKED - thanks a lot !
[Android General] mrrocketdog:
i think OP reads {3,}. OR maybe i need new glasses. lol

"err on the side of kindness"
[Android General] v7:
{3,} blocks all alarms for some,but on some scenarios, adding both {3,} and {4,} is required.

__

v7

XDA Assist
[Android General] mrrocketdog:
see there. i should leave this to the professionals. ty for the correction.:good:

"err on the side of kindness"
[Android General] NickosD:
Any ideas on mine stats? The Spotify was dling songs, that's why you see it. I'm asking for anything else.

https://drive.google.com/file/d/0Bx4KiYQlDANIQjRpY2ZRRnU3dVU/view?usp=drivesdk
[Android General] v7:
Limit com.facebook.analytics.service.a.ACTION_ALARM to 9999999 seconds.

__

v7

XDA Assist
[Android General] imusorka:
How am I doing? Amplify limits are attached. I did not create custom rules or limit services for fear of breaking push notifications that are very important to me. Greenify has Aggressive Doze and all Xposed-based features on. I did not install any other apps from OP. Thanks in advance.
[Android General] v7:
Limit com.google.android.gms/.checkin.EventLogServiceReceiver 93600 seconds.

Add the CONTEXT_ALARM_WAKEUP regex as mentioned in the OP.

You still have an old version of EX.Any specific reason for not updating the kernel?

__

v7

XDA Assist
[Android General] imusorka:
WiFi issues in 0.20. Waiting for new FreedomOS with 0.21 to upgrade all at once. Will your suggestions re limits affect push notifications? How much are those draining right now?
[Android General] v7:
3.2.6 version of FreedomOS is up..22 is the latest version of EX.

Those values won't affect push notifications.

__

v7

XDA Assist
[Android General] JorgitoUribe:
Did you fix that problem? How?
[Android General] bdrunkenb:
Someone asked this but no-one has answered as far as I know. With amplify installed when I exit apps they give FC message. Anyone knows anything about it? TIA

LG G3 CM 13 Nebula kernel
[Android General] v7:
I never had that issue.Do you use any other Xposed module?

__

v7

XDA Assist
[Android General] bdrunkenb:
Yes. I had appexposed and greenify xposed based features. However i installed amplify last and it started after I installed amplify. and sorry I had to uninstall all cause I need my phone . I will install them in a couple of days and try to re produce the problem. Thanks again.
[Android General] nick0s23:
Can somebody have a look at my dump file? Thanks im advance!
[Android General] esbatulembek:
please take a peek my dumps here

There's significant drain with and without airplane mode

despite maybe cell battery, what else i can improve?