yashsingh1/xdaforums huggingface dataset:
[Android General] UrbanLagoon:
Hey I was wondering if anyone had a way to slowdown android wear alarms? According to bbs, btservice alarm wakeup (bluetooth) has about 40 alarms per hour. It isnt much but it prevents my phone from deep sleeping everytime screen is off. My question is whether anyone has found a way to keep the functionality of android wear for my huawei watch, and also keep alarms to a minimum?
[Android General] v7:
I don't have a watch so I can't test :(

__

v7

XDA Assist
[Android General] githyanki:
You could limit the service to 300, should be about 20/hr and see if that will help. Try increasing the time till functionality is impacted, then move it back some.
[Android General] jlb1959.01:
http://cloud.tapatalk.com/s/57a9cc182200e/BetterBatteryStats-2016-08-09_081416489.txt

Any help here, new to this.. Thanks very much..
[Android General] McZuzlak:
Hey Guys,

I went through all the settings to save battety life. Now I'm wondering how often will sync my phone for new emails. I've sent one for test but it didn't arrived after an hour until I've turned the screen on.

What is the default delay with the settings above and where can I customize it ?

Thx
[Android General] jlb1959.01:
Not all my wakes and alarms are set as its only been 3 days.??
[Android General] githyanki:
Too much screen on time.

Most of the time your screen was off, CmaSystemUpdateService was running. Google play services. Were you listening to music?
[Android General] v7:
Have you limited android.content.syncmanager.SYNC_ALARM?

__

v7

XDA Assist
[Android General] McZuzlak:
Yes I did with 3600 sec
[Android General] v7:
Screen On (): 16 m 12 s 2.3%

Get a dump with minimum SOT.

__

v7

XDA Assist
[Android General] jlb1959.01:
no,have no idea whats up with that,but i will recharged and try again,a litt;le concerened about that..thank you sir..
[Android General] jlb1959.01:
ok,thanks again..
[Android General] android_htc:
Thanks for this excellent guide. Would appreciate some feedback... my awake time while screen off time seems to be high!
[Android General] v7:
Can't find any issues.Might be the Kernel or the ROM.

__

v7

XDA Assist
[Android General] v7:
Looks good!No issues :)

When you get time,get a dump with 6hrs+ idle time.

__

v7

XDA Assist
[Android General] o0vampire0o:
hi guys there is a way to fix this ipreachabilitymonitor.wlan0... it drains my battery
[Android General] githyanki:
Have wifi off while screen off.

Settings, wifi, 3 dots, advanced, keep wifi on during sleep. Set to only while plugged in, or never.
[Android General] UrbanLagoon:
Any help would be appreciated :). Getting a decent sleep time
[Android General] :
I can't believe you are still so active in your thread! You are doing a great job here man. So many people with battery conscious ideas evolved from here.
[Android General] v7:
Get a dump please :)

__

v7

XDA Assist
[Android General] v7:
Disa is causing wakelocks and contributes to the drain.

You also have the bluesleep wakelock which triggers when you have an active bluetooth connection.

There are a few kernels for Angler which allows you to disable the "bluedroid" wakelock.Disabling the wakelock should probably fix the issue for you :)

__

v7

XDA Assist
[Android General] UrbanLagoon:
Hey I'm running elementalx latest version and pure nexus ROM. I looked through the elementalx kernel manager app but wasn't able to find bluedroid. Should I just disable bluedroid through amplify?
[Android General] v7:
Maybe he removed it.There used to be such an option in EX.

Anyway the wakelock isn't keeping the device awake 100%.Since you have a bluetooth device connected,it's quite normal to have this drain.

Take care of Disa.It's holding wakelocks for a long time!

__

v7

XDA Assist
[Android General] o0vampire0o:
For now is fixed. But I don't understand. I updated my rom at android 6.0.1 on the oneplus one and is ok. On the nexus 4 of my wife (same rom) there is this wakelock.
[Android General] craigevil:
0.0 loss while sleeping even with wifi on.
[Android General] Neuz:
Please can you check this log? Thank you
[Android General] Portgas D. Ace:
Wakelocks depend on each individual setup, so it can differ for each device.

That's pretty good :good:

BetterBatteryStats version: 2.1.0.0 -> update BBS to the latest version (v2.2.0.0RC1 can be found in the BBS thread here on XDA) and post another log file
[Android General] jlb1959.01:
new to the settings etc, rom is cm13, most of the wakes and alarms are set. hows the results, sorry but i really have no idea how to read bbs.
[Android General] v7:
Limit NlpCollectorWakeLock to 41400 seconds.

Add regex CONTEXT_MANAGER_ALARM_WAKEUP[0-9]{4,}

__

v7

XDA Assist
[Android General] jlb1959.01:
appreciate it, thank you very much mate..
[Android General] android_htc:
Hi,

I have RILJ0 wakelock on my note 4. Is this is the same as RILJ?
[Android General] v7:
Yes!

__

v7

XDA Assist
[Android General] guyfawkez:
This is the one thread that i need. And also this is the first message of mine.

So guys i have been doing all the stuff mentioned in the first posts for a couple of days but i did not get any good batterylife yet.

Here is the text file from BBS. What is the problem?

I have to mention that the stats are not exactly what you guys wanted to be. I unplugged my phone from the charger at around 06:00 AM this morning and got back to sleep. when i wake up at 07:30 AM or so, there was %78 batterylife left. Then i moved on the day as always. The stats from the average daylife time of my phone.

I got exynos version of the mighty Note3

I got Greenify + amplify + power nap + leandroid.. and some of the goodies.

I got the GraceUX Style N900 ROM from the exynos thread.

I'll update the BBS stats with a proper one soon. Whats the problem with my batterylife?
[Android General] v7:
file:///C:/Users/ilker.basaran/Desktop/BetterBatteryStats-2016-08-11_151415845.txt

This is the link to your desktop!:eek:

Upload it via XDA app or upload to some file server and post the link.

__

v7

XDA Assist
[Android General] puturaya20:
Thanks sharing settings Amplify
[Android General] Portgas D. Ace:
First of all, the purpose of this thread is to minimize the idle drain, meaning: the drain when you don't use your device. Therefore an in-use log file is quite useless for our puropse, as the drain for in-use differs from user to user and setup to setup.

Second, when you try to attach a file, don't copy the local file path ;) Upload it to Google Drive or somewhere else and post the link here.

EDIT: seems that [MENTION=5867207]v7[/MENTION] was faster than me (as usual :silly:)
[Android General] guyfawkez:
Well i cant share a link till 10 comments... Tried to go around but couldnt :))

Wait till i can achieve to share a link. Sorry for the local link to my desktop :p
[Android General] v7:
You can post the file using XDA App.

__

v7

XDA Assist
[Android General] guyfawkez:
Oh good lord. Yes i can!

Thank you so much man.. And as I already said this is not the proper one but you could see I did not use the phone very much since screen on time was like 30mins.
[Android General] v7:
Read FAQ in post #6 and get a dump!

__

v7

XDA Assist
[Android General] guyfawkez:
Ok. Then i have to do it with a proper standby like 6+ hours. Then post it as you said in #6. Thank you for the help. I will upload the other one tomorrow i guess.
[Android General] criz.89:
I think i amplified to much. I cant sent E-Mail via Gmail. Any idea what i should reamplify? :)
[Android General] Bob823:
Quick question - is it necessary to whitelist amplify in marshmallow battery optimization for it to work properly?
[Android General] guyfawkez:
So here we go.
[Android General] v7:
Anything limited apart from OP?

__

v7

XDA Assist
[Android General] v7:
Not necessary.

__

v7

XDA Assist
[Android General] v7:
Limit

1.ConnectivityService to 10800 seconds

2.NetworkStats to 800 seconds.

How's the cell signal at your place?How old is the battery?

__

v7

XDA Assist
[Android General] githyanki:
If your unsure what you did to break something, clear the app data and start the process of limiting things again.

You may want to try using TB to backup your setup after going through the settings recommended by V7, that way you can restore it to that state if something goes wrong while you try tweaking further.
[Android General] guyfawkez:
Networkstats already 800 but now I put to the 999. Connectivity is now limited to what you said.

I usually don't have a good signal. And the battery is almost 3 years old..
[Android General] v7:
Bad signal is one cause of the drain.And on a 3 year old cell,this is normal.

__

v7

XDA Assist
[Android General] mele80:
Does anyone has idea why my phone does not go to sleep at all.

All i see is that android system process is awake all the time.

Wifi is set to go to sleep and also bluetooth/wifi scanning is off. I dont know what has happened.

Here is my dump, not from 100%, but i guess that should not matter.

https://drive.google.com/open?id=0B0VlKBTmvXArMEt0eE41NjYwekE
[Android General] urnamese3:
[MENTION=5867207]v7[/MENTION] is it the same if I use greenify aggressive doze or powernap?

BTW I limited a **** load of alarms but am getting 1%/hour... What am I doing wrong?

pastebin.com/6dPKRNgw
[Android General] guyfawkez:
Thank you for the help. But can't you see anything bad in the log? I want to achieve 0.5 or least drain per hour on standby.

And what you think about LeanDroid app.. I use it with the others you suggested. Do I need LeanDroid for real?

My other question is about screen on time. I usually use one app at a time and I'm not even playing games or so but my battery sucking like %10 in 15 minutes. What should I do about that?
[Android General] v7:
Wakelock section is empty.

Update BBS to 2.2.0.0RC1 and get a dump.

__

v7

XDA Assist
[Android General] mele80:
Damn....i already installed it but flashed rom again and forgot to reinstall [emoji29]
[Android General] v7:
Greenify and Power Nap serve different purposes.

Which ROM and Kernel is that?

__

v7

XDA Assist
[Android General] v7:
You can use either LeanDroid or Smart Network if you want to automate your network settings.

SOT depends on your usage.You can't expect much from a 3 year old device.

__

v7

XDA Assist
[Android General] urnamese3:
Cm13 and boeffla's kernel with a custom profile
[Android General] v7:
Awake time is minimum.Get me a dump on Aeroplane mode.

__

v7

XDA Assist
[Android General] Android_noob17:
Is the 6.3.29v Google app draining the battery for anyone else, I just want to confirm that it's just not me?
[Android General] mitchdickson:
No problem here. I'm on 6.3.29.21.arm64.
[Android General] Android_noob17:
Odd, this problem started happening with the 6.3.29.21.arm update.

By the way I have arm not arm64.

Edit: I'm also in their beta program.
[Android General] mele80:
[MENTION=5867207]v7[/MENTION] here is the dump. https://drive.google.com/open?id=0B0VlKBTmvXArZ0phQ0JxUmdKZGM

Got deep sleep back, i was messing with the phone and it came back. Changed some settings and uninstalled kernel adiutor. I guess not much to do as no battery level dropped in 7h 30m.

Fast dormancy should now be disabled as i remembered that in xperia devices it comsumes some juice.
[Android General] v7:
Limit

1.ConnectivityService to 10800 seconds.

Disable Fast Dormancy.
[Android General] mele80:
Thanks for the very quick answer And awesome work you have done
[Android General] itsbudi:
Hello nice thread btw, i have a problem with my phone

So everytime i finished charged my phone till full and unplugged it, my phone doesnt want to go to deepsleep mode.. a reboot can make it back to normal deepsleep, but it was annoying if everytime i fully charged my phone i must do a reboot to make it normal again.

checked it with betterbatterystats and wakelock detector, found some wakelock like

deep sleep still 0% untill now from 100% to 93%

awake (screen off) from 40% - 70%

msm_otg 100% on in kernel wakelock

qpnp_fg_memaccess from kernel wakelock in wakelock detector

i dunno what happen about it, but it affects my phone battery,, i cant attach the screenshot in here dunno why

hope you can help me solve this problem.. Thx anyway, btw my phone redmi note 3 snapdragon :)
[Android General] v7:
Read Faq in post#6 and get me a dump.Let me see what I can do :)

__

v7

XDA Assist
[Android General] itsbudi:
allrightt will do that tonight, thx for a very quick answer! :)
[Android General] Speedspaz:
My whatsapp or telegram messages sometimes comes late like when I open the app the messages flow. I also used PNF but it still happens sometime.

Any help?
[Android General] v7:
Have you greenified Whatsapp/Telegram?

__

v7

XDA Assist
[Android General] urnamese3:
pastebin.com/cEAitbRr

I don't get it man more than 1 % he with stock boeffla... Maybe I limited too many alarms?
[Android General] v7:
Can you try with the default kernel settings?

Which profile are you using?

__

v7

XDA Assist
[Android General] thepomp:
Hello guys. Im new here. My devices is xiaomi redmi note 2. Im facing draining screen off while wifi on. On gsam battery monitor it caused by EINT Wakelocks. Does someone know how to fix this issue? Thanks anyway.
[Android General] v7:
Read FAQ in post#6 and get me a dump.

__

v7

XDA Assist
[Android General] thepomp:
Will try it. Thanks for responding.
[Android General] Speedspaz:
Nope. :(
[Android General] v7:
Anything limited apart from the OP?

Do you use PowerNap?

__

v7

XDA Assist
[Android General] jlb1959.01:
Still a couple of wakes, alarms on the list that havent showed up but this is after using for 4,5 days,, help??
[Android General] githyanki:
05%/hr is nice. If some of the wakelocks don't appear for your kernel/rom then don't worry about it.
[Android General] Speedspaz:
I use almost exact setting from the op and I'm using powernap.
[Android General] jlb1959.01:
Alright!!, its been a pain trying to find all the wakes and alarms, but very happy with the results, great help on this post, i REALLY appreciate everyones help..
[Android General] v7:
Have you whitelisted GooglePlayServices, Telegram and Whatsapp in PowerNap?

__

v7

XDA Assist
[Android General] urnamese3:
I'm on stock profile..
[Android General] v7:
[MENTION=5456825]kal eh[/MENTION] That's weird!

Can you try a clean flash and get me a dump on stock kernel?

I ditched my OP2,so I don't know much about CM/Kernel changes for it.

__

v7

XDA Assist
[Android General] DB126:
No help needed. If an alarm/wakelock/service doesn't show up it is not impacting your device. Don't worry about it.
[Android General] jlb1959.01:
Just using, amplify, greenify, now i will add nap, i wanted to learn and understand green and amp, now i got to read how to use the rest of the post, im sure i will be a pain in the *** when i add nap etc..

---------- Post added at 04:13 PM ---------- Previous post was at 03:25 PM ----------

Thank you..
[Android General] githyanki:
I have requested to join the G+ community and no answer for 2 days...

I see on the Exposed framework download section there is version .7 available. Is this the most recient version, or would it be better to wait on G+ community and then become a tester for the latest version?

Thanks again for all your help, I regularly get .3% drain, but too often something is not sleeping properly and i get ~1.5% drain while screen off. Hoping that Powernap will help settle this down.
[Android General] v7:
0.7 is the latest one.

__

v7

XDA Assist
[Android General] thepomp:
How to attach the dump file to this thread?
[Android General] itsbudi:
Here is the dump, still happen last night.. From 100% (1.16 am) to 88% (9.50 am).. Hope you can fix this, thankss
[Android General] v7:
Either use XDA app from Play Store or upload the file to a server and share the link here.

__

v7

XDA Assist
[Android General] v7:
msm_otg (): 8 h 40 m 23 s

Did you connect the device in MTP mode to a PC last day?

Reboot and this issue should be gone.

__

v7

XDA Assist
[Android General] itsbudi:
Nope, i didnt connect it to pc.. Yess, a reboot always fixed it but should i do a reboot everytime after full charge.. It was annoying :(
[Android General] v7:
Happens with stock ROM too?

This might be an issue with your current ROM.

__

v7

XDA Assist
[Android General] itsbudi:
Stock rom, you mean miui? Im not in miui.. Im on aicp rom with custom kernel, but strange the other doesnt haven this kind of problems sir [emoji24] [emoji24]
[Android General] v7:
You're on a custom Kernel.Clean flash the ROM and see if the issue persists.

__

v7

XDA Assist
[Android General] jamu08:
I think these all tweaks like greenify, amplyfy etc. not exactly doing the job it supposed to do. I have tried all these with many suggestion but nothing worked. I unistalled xposed , greenify, amplyfy etc. now I am getting average battery life, slighgtly better without these apps. And last, got rid of being tweak freak!!
[Android General] v7:
I'm happy that you're getting good battery life :)

__

v7

XDA Assist
[Android General] thepomp:
Im using the xda app? It is the xda premium one??
[Android General] v7:
XDA App

__

v7

XDA Assist
[Android General] thepomp:
Here you go
[Android General] Andiii:
I found some Google Alarms are listed double. Did I Limit the right one?

Here my latest Loghttp://cloud.tapatalk.com/s/57b0150bbe210/BetterBatteryStats-2016-08-14_080726359.txt
[Android General] v7:
Limiting those alarms will break Location services.

Limit

1.com.google.android.gms/.checkin.EventLogServiceReceiver to 93600 seconds.

Add CONTEXT_MANAGER_ALARM_WAKEUP regex.

__

v7

XDA Assist
[Android General] NickosD:
Any help here? The ipc wakelocks are more down on the list. Anyone knows what's the 1st?
[Android General] suaverc118:
Hi @7 how's it been? I haven't been here in a while. I just wanted to dump this file here since I had a 4% battery drain last night. I hope you or whomever can help me solve it. Also when using recents, whatever app I open, it starts all over again, it doesn't start where it ended. Is that something I need to fix in greenify or somewhere else? I have a OPO. Thanks
[Android General] itsbudi:
Okayy, will try.. Thx
[Android General] Freddycom:
Guys, using BetterBatteryStats, which part of the wakelock really matters when checking partial wakelocks? Time duration, count or the percentage?
[Android General] Speedspaz:
Bump.
[Android General] v7:
Should be a kernel bug.Happens after you charge the phone.Try a different kernel.

__

v7

XDA Assist
[Android General] v7:
Limit 1.com.google.android.gms/.checkin.EventLogServiceReceiver to 93600 seconds.

2.CONTEXT_MANAGER_ALARM_WAKEUP_91971 -> add regex

Google app is consuming a lot of juice.

Recents issue won't be related to Greenify.Might be a ROM bug.

__

v7

XDA Assist
[Android General] suaverc118:
What is add regex?
[Android General] zevzek:
Regex is like adding a rule that, in this case, would block all CONTEXT_MANAGER_WAKEUP alarms instead of having to add them all manually

You open regex menu by tapping the icon that looks like a sheet of paper in top right corner and adding new regex by tapping the plus sign in top right corner.

The regex you need to block the context manager wakeup alarms should look something like this, or at least I think so: CONTEXT_MANAGER_ALARM_WAKEUP_[0-9]+

And set the interval to a large number, for instance 86400 seconds (24 hours) or even 9999999 seconds (as that is the maximal time amplify can limit)
[Android General] suaverc118:
Oh that's right. But wouldn't I add the 91971 at the end? Also like alarm_wakeup do I add the [0-9]+???
[Android General] zevzek:
Well you shouldn't add 91971 at the end because we want the rule to block all alarms that begin with CONTEXT_MANAGER_WAKEUP_ALARM_ and a set of numbers after that

Yeah, I think you can add another regex to block all ALARM_WAKEUP alarms
[Android General] suaverc118:
Should it look like this?
[Android General] githyanki:
You put them in the wakelocks section, should be under alarms. See post 3 or 4.
[Android General] marlborakis:
Hello! What about this? It's OK?

Στάλθηκε από το SM-G935F μου χρησιμοποιώντας Tapatalk
[Android General] marlborakis:
[/IMG]Hello! What about this? It's OK? View attachment 3843456

https://mega.nz/#!iwd3ALjS

Στάλθηκε από το SM-G935F μου χρησιμοποιώντας Tapatalk
[Android General] esbatulembek:
What are these launch & alarm? Can i limit them?
[Android General] killerm:
Well, thank you very much. So I restricted all those wakelocks and alarms (again), and reinstalled greenify (again) but apparently everything has gone from bad (0,8%/h) even to worse (1,2%/h). :(

Any ideas?

http://cloud.tapatalk.com/s/57b29bd060df6/BetterBatteryStats-2016-08-16_061956707.txt
[Android General] v7:
Can't access MEGA.Upload to another mirror :)

__

v7

XDA Assist
[Android General] v7:
No need to limit them.They don't drain despite showing up in the stats.

Get a dump on WiFi or mobile data.

__

v7

XDA Assist
[Android General] v7:
Limit

1.com.google.android.gms/.checkin.EventLogServiceReceiver to 93600 seconds.

CONTEXT_MANAGER_ALARM_WAKEUP_4868738-->>Add regex

Tasker caused some drain.Location alarms are high too.

__

v7

XDA Assist
[Android General] memocatcher:
What is Greenify "Deep Hibernation (alpha)" doing?

Should I turn it on?
[Android General] killerm:
Oh, thank you very much for your quick response! :)

OK, so this is what I did, what I will try next and where my problems are (might maybe might help in other cases as well):

1. EventlogServiceReceiver: Done.

2. Context_Manager: I had done the regex fix exactly as mentioned in post #4 ("CONTEXT_MANAGER_ALARM_WAKEUP_[0-9]{3,}"/9999999s), but apparently I missed out on one of the regex arguments. I still cannot see what I did wrong, but I will simply try again with copy/paste :)

3. Tasker: That was one of my biggest concerns. I entertain quite a lot of profiles and of course ;) I feel that all of them are crucial to reduce power consumption (!), for comfort and for security. I have already considered Tasker's strategies for low power consumption. So I will grudgingly try to disable some of the less needed profiles and hope and then report under which conditions things become better.

4. Location Service: Yes, that's another issue:

In tasker I am only using "cell near" states with a quite low consumption.

Apart from that I used to run "Life360" on all devices in our family to track our children, but power consumption was awful. Now we are on "Familonet" with less power consumption but apparently still too much. I already tried to carefully restrict some of the app's own alarms and wakelocks with amplify so that the app still works flawlessly. I will now throw that app off my phone, at least for testing purposes.

Finally there is Google App. I had already disabled location tracking for this phone, but I believe that Google still tries to track me even if I am not using maps etc.

If my efforts are to no avail, I will also disable the location based services mentioned in Post #4 - but actually I didn't want to lose all functionality in that direction :(

5. Greenify: Unfortunately, the reinstalled Greenify/donation app is a pita. Maybe it's fine to restrict all those background apps waking the phone up again and again, but although I believe that I have very carefully white listed all messaging, e-mail- and timer apps, I only receive e.g. e-mails via Gmail app once an hour. This is the same issue that I always had when I installed greenify on my S6 before, that has apparently nothing to do with shallow/aggressive doze settings and that always made me uninstall the app after a few days. PNF is installed as mentioned in Post #6 with the settings as recommended in PNF. Any ideas in that connection? Better ask in Greenify support thread?

6. Sensors: I found in my BBS log that "sensors" were active 5:15h (of 5:45). Is this a power drain issue? I believe it's not tasker's fault, I use sensors only extremely restricted in my profiles. I cannot clearly read the cryptic details in BBS log file but it appears that the sensors have been used by Android System? Any ideas on this issue?

Best regards

Mick