yashsingh1/xdaforums huggingface dataset:
[Android General] v7:
2.Try CONTEXT_MANAGER_ALARM_WAKEUP_[0-9]{4,}

5.Did you limit any Sync wakelocks or Alarms from OP?

6.Not sure about the sensors stuff.Can't get much data from the BBS log.

Anyway get me another dump with Tasker disabled(just too see if that improves the idle drain and can check if Tasker kept the sensors awake).

__

v7

XDA Assist
[Android General] v7:
Deep Hibernation allows the apps too deep sleep.GCM won't wake the app.Most of the services won't be able to trigger the app.It's not recommended.

__

v7

XDA Assist
[Android General] memocatcher:
So you mean basically apps won't wake up anymore till I start them?
[Android General] marlborakis:
http://cloud.tapatalk.com/s/57b2e1b28d670/BetterBatteryStats-2016-08-15_231822882.txt

Στάλθηκε από το SM-G935F μου χρησιμοποιώντας Tapatalk
[Android General] killerm:
Again, thank you very much for your time!

2. OK! (simply added an additional rule with the new regex value)

5. I left android.content.syncmanager.SYNC_ALARM unrestricted and carefully set SyncLoopWakeLock to 240s. No other sync settings available on my device (e.g. async/pushbullet). I have now removed the only restriction but I believe it's a Greenify issue because it's gone as soon as I uninstall Greenify.

6. I will try to provide another dump after next night without Tasker and Familonet. Tomorrow I will happily start to investigate within Tasker :)...

Best regards

Mick
[Android General] v7:
Exactly!

__

v7

XDA Assist
[Android General] v7:
Update BBS to 2.2.0.0RC1,read FAQ in post#6 and get me a dump!

__

v7

XDA Assist
[Android General] v7:
5.Maybe the aggressive doze is causing the issues for you.Try this->Goto Settings->Battery->Battery Optimization->All apps->Gmail->Choose Don't Optimize

Report back later :)

__

v7

XDA Assist
[Android General] suaverc118:
You mentioned Google app is claiming a lot of juice. This is what I found when I opened greenify. Should I force it through greenify to deep sleep or do I need to do something else? Thanks.
[Android General] v7:
If you relay much on the app,force hibernation may break some functionalities of it.

Anyway try and report back.See if the app is still functional.

__

v7

XDA Assist
[Android General] suaverc118:
What is my other option so I don't rely heavily in it?
[Android General] v7:
Then you can force hibernate it and select 'State always ignored for hibernation'

__

v7

XDA Assist
[Android General] killerm:
I've white-listed Gmail in this setting for a long time, but apparently to no avail. Just to be safe, I have now again turned on and then off app optimization for gmail, as to my appearance, the switch sometimes might not correspond correctly with the real settings. I also reinstalled greenify and again set and confirmed PNF settings. Then delete cache&dalvik and reboot.

I don't want to be the only one with this issue ;) - I will report.

Best regards

Mick
[Android General] pettigrew95:
Hey guys, I posted previously and was told to use a newer version of BBS. Here is the dump from that version. Any recommendations, anything eating my battery unnecessarily? I seem to have IMO excessive drain when in deep sleep and my SOT is horrendous. Thanks!
[Android General] sgsleeping:
Can help check?
[Android General] marlborakis:
Good morning

http://cloud.tapatalk.com/s/57b4131606dc8/BetterBatteryStats-2016-08-17_102207668.txt

Στάλθηκε από το SM-G935F μου χρησιμοποιώντας Tapatalk
[Android General] Portgas D. Ace:
wlan_rx_wake (): 7 m 30 s Cnt:(c/wc/ec)578/147/579 1.8% -> check this thread for a possible solution

Beside this, several location-related alarms that are par tof the OP.

10019 (Wifi) (Google Services): 1.0 MBytes 30.7%

10154 (Wifi) (com.texty.sms.MightyText): 1.0 MBytes 28.6% -> apps/processes downloading data

backupdb (com.whatsapp.WhatsApp): 1 m 38 s Count:12 0.4% -> WhatsApp's database backup

Alarms: 5, Intent: CONTEXT_MANAGER_ALARM_WAKEUP_413411 -> use Amplify's regex function as described in the OP

Any specific reason why you are using Malwarebyte's Antimalware? There should be no reason to do so on Android at all.

Some kernel wakelocks, see recommendation for other user on top of my post.

Alternatively, you could flash a different custom kernel for better battery. Couldn't find any more obvious things in your log.
[Android General] itsbudi:
Heloo sir, just want to report that msm_otg still on even i used stock kernel, how do i fix it? :(

Thx
[Android General] killerm:
[MENTION=5867207]v7[/MENTION] - Sorry, no new log: Although I have tried to avoid all issues with Greenify, the app has prevented my alarm-clock from ringing (timely), I received no e-mails (gmail), no status messages for my parcels (deliveries) and my rss reader (greader) and tapatalk did not sync at all in standby (all apps white-listed, PNF installed) while I had a battery drain of 2,1%/h. So the disadvantages overweigh the advantages by far and I had to remove Greenify from my s6 and BBS won't report the "typical" usage with Greenify installed so that all current logs are of no value for evaluation.

I will try to find a better solution and report back :)

Best regards

Mick
[Android General] fridrik:
✭[GUIDE][26-07-2016]Extreme Battery Life Thread(Greenify+Amplify+Power Nap)✭

Many wakelocks kernel ?
[Android General] 4bdu1:
In the Amplify app I have safe to limit wakelocks that aren't included in your post. To what values should I set them?

Can't seem to attach a screenshot but here are the labels:

StartingAlertService

GpsLocationProvider

CdmaInboundSmsHandler

AudioIn
[Android General] githyanki:
Wasn't that only with a cable plugged in?
[Android General] itsbudi:
Yeah but this happen after i fully charged my phone then unplugged it, that wakelock keeps awake untill i do a reboot [emoji31]
[Android General] v7:
Limit ConnectivityService to 10800 seconds.Rest is all good :)

__

v7

XDA Assist
[Android General] v7:
Try the default values.They don't drain much.

__

v7

XDA Assist
[Android General] fridrik:
ConnectivityService is already limited here.?

Enviado de meu GT-I9505 usando Tapatalk
[Android General] pettigrew95:
Hey, thanks for the reply! I don't see these in Amplify settings in the OP:

"10019 (Wifi) (Google Services): 1.0 MBytes 30.7%

10154 (Wifi) (com.texty.sms.MightyText): 1.0 MBytes 28.6% -> apps/processes downloading data"

Are they named something else in OP? Thanks again!
[Android General] :
Google Device MAnager

HI, I'm using Power Nap and Greenify only, no Amplify.

I whitelisted all that's mentioned in OP, set greenify also to that setting, but still cannot remotely access my device. Neither location service, nor letting it ring works. ANy idea what I need to have enabled in Greenify and/or Power Nap to get this running again?

Have not found any hint in this thread, all what I found I already excluded from the Apps.....

Thanks, Gescha
[Android General] Portgas D. Ace:
No, those are not part of Amplify, just wanted to point out that some services were active during idle period. Downloading data causes some drain. Nothing you can do about this if you rely on instant push notifications from all kind of apps.

Within Power Nap, whitelist Google Play Services, Google Service Framework and every other app that you need for remotely accessing your device.
[Android General] pettigrew95:
Ah gotcha, thanks. So other than that nothing that I can adjust aside from the WiFi wakelock can be done? I get pretty horrible SOT as well. Auto brightness is disabled and I barely put the brightness at max.
[Android General] :
These 2 I whitelisted already. Any idea what else could be needed for the Google Device Manager?

Gesendet von meinem D5803 mit Tapatalk
[Android General] sgsleeping:
How bout this? Lost 2%.

Anyway. I'm using paranoid rom, when j tried to install power nap, alot of stuffs crashes such as my keyboard, etc
[Android General] v7:
Can you disable PowerNap and see if it works?

__

v7

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

Have you enabled Alarms using API in BBS settings?

__

v7

XDA Assist
[Android General] sgsleeping:
How do I do that?
[Android General] Portgas D. Ace:
This could either be an issue with your ROM or your kernel. If you are willing to do some flashing, I would suggest to flash a different custom kernel for your device, maybe even a custom ROM. If you are okay with this, start with the custom kernel. If this doesn't improve your battery drain, flash a custom ROM.
[Android General] pettigrew95:
I was running Viper 2.7.0... I flashed LeeDroid, going to try that for a few days now. Thanks for the advice, much appreciated!
[Android General] abhijeet715:
My phone's drain is 1.3%/h in standby. I lost like 10% in nearly 7 hours. Attaching the dump file below, can anyone please advise me what is to be done. I have read the post and limited many wakelocks and alarms using amplify, but i couldnt find all the alarms and wakelocks in amplify as mentioned in the OP. Using greenify as well with aggressive doze and doze on the go (there are two options for activating doze on the go from which one works, and one says that your rom doesnt support the same). plus power nap but nearly 10-15 apps are whitelisted which seem important to me.

Should i use naptime to see if there can be any difference as i feel that naptime and greenify might clash with each other.

Device details: OnePlus 2, running Unofficial CM 13.0 by Seraph08, everything stock.
[Android General] Neuz:
What do you think @v7?

Thanks
[Android General] Portgas D. Ace:
*sync*/com.yahoo.mobile.client.android.mail.smartcontactsprovider/com.yahoo.mobile.client.share.account/abhijeet715 (com.yahoo.mobile.client.android.mail.Yahoo Mail): 2 m 42 s Count:6 0.6% -> Yahoo Mail synchronizing during idle period. You could greenify Yahoo Mail if you don't rely on instant push notifications from it.

Some kernel wakelocks. Check this thread for a possible solution. If this doesn't work, you could flash a different custom kernel.

By the way, please update BBS to the latest version (2.2.0.0 RC1, can be found in the BBS thread here on XDA) as alarm stats are incomplete. Reboot your device afterwards and repeat the procedure to save an idle log file.
[Android General] :
Thanks, I tried that. Seems to make no difference. Sometimes it works, sometimes not. Even on the device, using Google's App (Device Manager App for Android) it does sometimes not find itself....so seems to be a Google issue, not a Power Nap or Greenfy issue. Maybe some service is not running permanently. Then, suddenly it's found, 1/2 an hour later or 1 h later. Also the remote ringing sometimes happens hours later and the device shows "Device found"....

I have in total 5 devices linked via one "find" yoount in google, some work, some not. Some always, some partly....not all of them rootet at all. So strange....

Last question:

I had Amplify running and disabled lots of services, and wakelocks, but seen no major difference, so removed it again. Might there be anything left from it that still disables services altough not installed any more?
[Android General] abhijeet715:
Thanks a lot. Hibernated yahoo and set it to allow gcm push messages to wake app. Updated bbs to latest version and will put phone on idle again tomorrow morning and post dump file here.

Thanks again :)
[Android General] v7:
It's not related to the guide then.

You can find the Amplify tweaks in the OP.Follow it and get me a dump.(Read faq in post#6)

__

v7

XDA Assist
[Android General] v7:
[MENTION=3680390]suaverc[/MENTION]18 The stats seems good.0.5% drain on mobile data isn't bad.Have you limited Icing?

__

v7

XDA Assist
[Android General] :
Thanks for trying to help, but how shall I get a dump if the App in the meantime is not installed any more? I removed it from ym device as I do not see a big benefit for me personally. I was just wondering if there is any special proceedure I need to follow when removing, or if all my settings and tweaks are for sure gone again when I delete (uninstall) the App, or if (former, while the App was still available) stopped services could still be stopped altough the App is uninstalled.

PS: I also do not think it's related to this (extraordinary) guide, so I need to find other reasons why this is not working any more....funny thing is that from time to time I get my device found....
[Android General] v7:
Uninstalling the app restores all stock settings.No special procedures needed.
[Android General] Neuz:
Don't know why but in the previous post I don't attach the log file:v
[Android General] suaverc118:
Hmmmmmm, I wonder why my wifi is shutting off then. It should be on wifi over night. Doesn't icing break something important? I thought someone told me that one time.
[Android General] v7:
10109 (Wifi) (com.whatsapp.WhatsApp): 31.0 MBytes 99,1%

Whatsapp downloads caused some drain!Rest is all good.

Arter's kernel is fantastic!Thanks to him :) [MENTION=4898097]arter97[/MENTION]

__

v7

XDA Assist
[Android General] v7:
Do you have 'Keep WiFi on during sleep' enabled in WiFi settings?

__

v7

XDA Assist
[Android General] Neuz:
Ye it's the night whatsapp backup I think.

Arter97 rocks!
[Android General] suaverc118:
No, I haven't changed a thing from my awesome days of using Roms to now, so I don't know what's going on
[Android General] v7:
Do you use Smart Network?

__

v7

XDA Assist
[Android General] :
Thanks!

I in the mentime found out that on WIF everything works fine, just when I'm on LTE/3G Data network, my phone cannot be found.

So thanks for all your help, I need to find the root cause for that. Have a Z3 in company where it works fine (full stock, but other network) and also my wife has a Z1c (full stock) on same Network as my Z3c....so currently clueless, but not related to any of these apps here!
[Android General] suaverc118:
Nope
[Android General] v7:
Send a screenshot of WiFi settings.
[Android General] Looper_98:
I am on LG G4 H815 6.0. What to do if I can't find some of the services listed to limit through Amplify? Is it fine to manually add them with regex and interval?
[Android General] v7:
If you installed Amplify recently,wait for a day or two for the alarms/wakelocks to pop up.

__

v7

XDA Assist
[Android General] ryandxter:
My last few moments tried OP instructions I've got good battery life and good SOT (11 hrs) in LP, but since recently updating to newer MM 6.0.1 got worse battery life with xposed related

Anyone give me suggestion which best xposed version for battery life? I don't think battery drain is ROM issue but incompatible framework related... For now I'm pain with no xposed frame, then beat me
[Android General] v7:
Read FAQ in post#6 and get a dump.

__

v7

XDA Assist
[Android General] v7:
[MENTION=4620757]m0han[/MENTION] Limit com.internal.telephony.data-stall to 600 seconds.

You get a lot of bam_demux wakelocks.They are triggered during an active data connection.I assume it's because of Whatsapp running in background.

Can you post a dump with Wifi usage rather than Mobile Data?

Tapped from my furious dogo ;)
[Android General] m0han:
no wi-fi now. i usually run data always and just turn wi-fi on at home.

should data be disabled before turning wi-fi on

? or, any way is fine?

com.internal.telephony.data-stall limit increased to 600 secs from 480 secs.
[Android General] v7:
[MENTION=4620757]m0han[/MENTION] I need to confirm that the wakelock goes away while using Wifi.So post a dump with Wifi on and Mobile Data off.

Tapped from my furious dogo ;)
[Android General] Hussainally:
Can someone help me.. I can't seem to install Xposed.. I flashed the zip to my one plus device then installed amplify then flashed again but I keep getting this error can't link executable dependencies

---------- Post added at 05:41 AM ---------- Previous post was at 05:41 AM ----------
[Android General] v7:
[MENTION=618397]Hussainally[/MENTION] Which ROM do you have?

5.1 or 5.0?

Which Xposed Zip did you use?

Tapped from my furious dogo ;)
[Android General] Hussainally:
Exodus 5.1 on bacon

Xposed-sdk22-arm.zip..for lollipop 5.1
[Android General] v7:
[MENTION=618397]Hussainally[/MENTION] Which Xposed app(apk) did you use?

Alpha 2 isn't it?
[Android General] Hussainally:
14th may.. Isn't it alpha 4 now?
[Android General] v7:
[MENTION=618397]Hussainally[/MENTION] The Xposed Framework is alpha 4 but the app is still alpha 2.

Can you post an Xposed log and the Screenshot of the Xposed->Framework.

Tapped from my furious dogo ;)
[Android General] Hussainally:
https://goo.gl/photos/JbZsepktqbwgAg5FA

---------- Post added at 08:11 AM ---------- Previous post was at 08:09 AM ----------

https://goo.gl/photos/bkRQaNcwZjiVdKGE7
[Android General] v7:
[MENTION=618397]Hussainally[/MENTION] Uninstall the Xposed Installer you have and use the apk given in this thread.

You used the old installer.:D

Tapped from my furious dogo ;)
[Android General] Hussainally:
Thanks buddy.. U rock
[Android General] Grzesiek1010:
still google play service FC
[Android General] v7:
[MENTION=4857544]Grzesiek1010[/MENTION] Re-enable ads.jam.NegotiationService.That'll fix the FC at boot.
[Android General] closee91:
[MENTION=5867207]vaisakh7[/MENTION] why does it show no battery details? Probably a noob question haha

Sent from my LG D851 running Blisspop ROM
[Android General] v7:
[MENTION=5268098]closee91[/MENTION] too much battery usage xD

Tapped from my furious dogo ;)
[Android General] closee91:
Haha xD I hope not. I've limited so much in amplify and turned off location.

Sent from my LG D851 running Blisspop ROM
[Android General] closee91:
Can you limit any of the "location" wakelocks in amplify without breaking location? So that I can still go to maps and have it work if I need it?

Sent from my LG D851 running Blisspop ROM
[Android General] v7:
[MENTION=5268098]closee91[/MENTION] You can try limiting the Alarms one by one and see which one is safe.Currently I'm not using Location Services :)
[Android General] Grzesiek1010:
Ok try

Wysłane z mojego XT1095 przy użyciu Tapatalka
[Android General] githyanki:
You have a 12.5 hr SOT. That's nothing to be upset with.

Also, this thread is about minimizing the battery drain while the screen is off, which your phone seems to have very little of so don't expect much to change.
[Android General] ryandxter:
will back soon with my dump file

12,5 this is without xposed framework installed, this mean clean rom deodex and rooted

main point in my case is when I'm using xposed framework (I want it) will decrase battery endurance so I'm goes here hope get help much so I can enjoy using xposed

anyway my device xperia z3, stock rom ;) ps: I'm not upset at all my current performance just wanna enjoy xposed like others did :D
[Android General] v7:
Xposed itself won't cause any issues unless you have some modules that break stuffs.

__

v7

XDA Assist
[Android General] jlb1959.01:
after a day. still alarms, wake not found.
[Android General] flubber1911:
Hey Guys,

lost 5% over the night. I´m wondering what I could optimize. I attached the dump file :D

Thx in advance.

View attachment BetterBatteryStats-2016-08-19_074825992.txt
[Android General] Portgas D. Ace:
Alarms: 5, Intent: CONTEXT_MANAGER_ALARM_WAKEUP_180236 -> use Amplify's regex function as described in the OP

AudioOffload (1013): 19 m 7 s Count:7 5,0% -> this seems to be the main drainer. Any audio output or running a media scan?
[Android General] NickosD:
Hey @v7

I have a rogue app which I can't find. While screen is on, cpu will go up to 60 degrees. And ofc sot won't go more than 3,5 hours...

Should I post a dump file? I'm asking cause while screen off I don't have any wakelocks. Sometimes I don't have a drain at all in 3-5 hours of deep sleep...
[Android General] v7:
Go ahead!Post the dump!

__

v7

XDA Assist
[Android General] flubber1911:
No, not at all :(
[Android General] vergilbt:
Able to limit these alarm?
[Android General] rtorres01:
I have a doubt. I'm playing Pokemon GO , as the game use the GPS with the screen turned on , I can follow the tutorial Amplify normally?

Thank you very much,
[Android General] v7:
Will break push!

__

v7

XDA Assist
[Android General] v7:
Don't limit the Location alarms.

__

v7

XDA Assist
[Android General] charlesrobin:
I have an issue with xposed.. Every apps were working fine in my device .. but recently newest versions of YouTube, Facebook and every version of Instagram stopped working..

When I start it it just get closed.. any ideas regarding this..

I tried resetting device but this issue started after flashing xposed.

I'm on lollipop stock rom.. huawei honor 4x.

Please help me out.. :(
[Android General] v7:
Not related to the guide.Post in the Xposed discussion thread.

__

v7

XDA Assist
[Android General] NickosD:
https://www.dropbox.com/s/a4wuwg0qpcbmkdz/BetterBatteryStats-2016-08-20_151736467.txt?dl=0

Here
[Android General] v7:
Stats is all messed up.Did you charge the phone in between?

__

v7

XDA Assist
[Android General] NickosD:
No. I charged to 100 and then let the phone while I was sleeping for about 8 hours...
[Android General] suaverc118:
Good morning @v7. Had real bad drain this time after flashing new ROM. Here is my dump. In battery stats, Google play services is high.
[Android General] v7:
Then I guess the reference was set to 'Boot' instead of charged.

Anyway the dump is not useful.Post another dump :/

__

v7

XDA Assist
[Android General] NickosD:
Actually both boot and unplugged show the same thing....
[Android General] Sam Nakamura:
From amplify tutorial I'm unable to find 2 or 3 items on my resurrection remix 5.7.3, can it be that not all items match to certain systems?

What I could find is disabled..
[Android General] NickosD:
Post 6 #2
[Android General] v7:
Bat.: 75%(24% to 99%) [-3.1%/h]

qpnp-charger-ee137e00 (): 6 h 57 m 26 s Cnt:(c/wc/ec)5/0/0 29.2%

^^This means the phone was charged in between :screwy:

__

v7

XDA Assist
[Android General] NickosD:
Actually that's the time I charged in total yesterday. 4 hours while I was sleeping I the afternoon, and 3 hours (using power bank) before I get to bed.

I'll try re install. Maybe it will fix it this issue. In the meantime, can you get anything from that log? Even now my phone became hot again and I'm already to 88....

---------- Post added at 03:47 PM ---------- Previous post was at 03:43 PM ----------

Should I activate these? (the api options)
[Android General] dingdong3000:
[MENTION=5867207]v7[/MENTION] do you recommend nap time (https://play.google.com/store/apps/details?id=com.franco.doze&hl=en) if so what kinda setup do you think will suffice? think its kinda like the aggressive dose in Greenfiy right..
[Android General] Sam Nakamura:
Yeah.. I wonder too because in the videos in OP it's recommended but the actual guide doesn't mention it..

Did it became obsolete?
[Android General] v7:
Keep the stock settings.Let me see the next dump

__

v7

XDA Assist
[Android General] v7:
Greenify's Aggressive Doze will handle it's function.

__

v7

XDA Assist
[Android General] v7:
Limit

1.Icing to 800 seconds.

2.ConnectivityService to 10800 seconds.

Rest is all good.

Post a screenshot of your WiFi settings.WiFi gets turned off after sometime :confused:

__

v7

XDA Assist
[Android General] v7:
Set 'Keep WiFi during sleep' to 'Always'

__

v7

XDA Assist
[Android General] suaverc118:
That won't drain or be equivalent to always scanning?
[Android General] v7:
That won't cause any drain.It's the default settings.

__

v7

XDA Assist
[Android General] NickosD:
After a clean install, the phone won't get now. I actually changed my audio mod from xtreme music to arise. This was the issue. Now, at 17% and 2:50 sot, but it started from 65.
[Android General] v7:
Good to hear that you got it fixed!

A.R.I.S.E is dope :beer: :awesome:

__

v7

XDA Assist