yashsingh1/xdaforums huggingface dataset:
[Android General] Android2003:
I still have the wlan_wow_wl-bug at my phone.

Another kernel (Lonas 1.1) killed my phone and freezed it.

Theres no other kernel for my phone :(

The setting of wlan to static ip wasnt working. I read this in a motorola thread as a fix.

Got still wlan_wow_wl 1h awake at 8h log.
[Android General] v7:
Post the full dump.

Tapped from my latuca virosa ;)
[Android General] v7:
If it's a kernel level issue,there's nothing much we can do about it.Maybe you can try another ROM.

Tapped from my latuca virosa ;)
[Android General] sh4d1t0:
What are this two wakelocks?

Can I restrict it without problems?

Device Monitor Service have 11284 wakelocks

Activity Manager-Launch have 8008 wakelocks
[Android General] v7:
DeviceMonitorService is related to the debugging and usage stats service, which collects anonymous data and sends them to Sony to improve the updates updates.You can freeze or uninstall the package using TiBu or any app managers.

Make sure you take a nand before trying.

ActivityManagerLaunch isn't safe to be limited.

Tapped from my latuca virosa ;)
[Android General] aidy.lucas:
I have activity manager launch limited to 420seconds. Phone still working fine

D2303,18.3.1.C.1.15 kk, deodexed, debloated, rooted, philz touch recovery, bravia engine 2+x-reality+z3 super vivid, viper audio, xposed mods.
[Android General] pillopoulos:
Στάλθηκε από το 831C μου χρησιμοποιώντας Tapatalk
[Android General] v7:
Where's the rest of the dump?

Have you limited android.content.syncmanager.SYNC_ALARM as per OP?
[Android General] pillopoulos:
[MENTION=5867207]vaisakh7[/MENTION] I don't know where is the rest dump... Yes,I did limit that,at about 2 hours. It's it wrong?

Στάλθηκε από το 831C μου χρησιμοποιώντας Tapatalk
[Android General] v7:
Post the dump as a txt file instead of posting the entire text.

Tapped from my lactuca virosa ;)
[Android General] pillopoulos:
https://www.dropbox.com/s/zje2e00k9tjpmea/BetterBatteryStats-2015-08-22_070942485.txt?dl=0

Sorry,I couldn't upload it with other way...

Στάλθηκε από το 831C μου χρησιμοποιώντας Tapatalk
[Android General] v7:
The awake time is high.But the drain is okay.Alarms and Wakelocks are under control.

Update BBS from the XDA thread and post another dump later.

Tapped from my lactuca virosa ;)
[Android General] pganguly0093:
This was very useful
[Android General] Aroch925:
Here's my log. I have a Moto X 2014 and I'm only getting like 2 hours of SOT which I feel like is pretty low. Please Help!
[Android General] v7:
How's the cell signal at your place?Post a dump on Aeroplane mode when you get time.

Also,SOT depends on your usage pattern.

Tapped from my lactuca virosa ;)
[Android General] popy2006:
Using PowerNap on my G4 with very good results. My only issue is that smart lock does not work correctly. Anybody knows what app I have to Whitelist?

(Android System is whitelisted, also tried GSF and GPS with no luck)

pOpY
[Android General] pillopoulos:
https://www.dropbox.com/s/olixqn7b0g9p2b2/BetterBatteryStats-2015-08-23_042303191.txt?dl=0

I hadn't a SIM card inserted. Does it make a difference? Also,I think that the drain was big now... What do you think?

Στάλθηκε από το 831C μου χρησιμοποιώντας Tapatalk
[Android General] v7:
Awake (): 41 m 59 s 10,9%

1,04 GHz (): 19 m 5 s 5,0%

Something is keeping the phone running at higher frequencies during idle but it's not visible in BBS.

If you get time,dirty flash your ROM.

Tapped from my lactuca virosa ;)
[Android General] pillopoulos:
Basically,I'm having too much awake time from my kernel. If I dirty flash only the kernel,maybe could be a better attempt...

Στάλθηκε από το 831C μου χρησιμοποιώντας Tapatalk
[Android General] v7:
Dirty flash both the ROM and Kernel.

Tapped from my lactuca virosa ;)
[Android General] Aroch925:
Here's my log with airplane mode on. The 822 is with airplane mode off and the 823 is the one with airplane mode on
[Android General] Android2003:
New log with a new kernel looks fine. 0,2%@6h. Wlan-wow bug is gone.

That was the problem vaisakh7. Thank u.
[Android General] sh4d1t0:
Hi!

I had 0.5% /hr after use your guide and want to said thank you, now I'm apply L Speed patch test 7 and I had 6 hours of SOT (before I had 5 hours 30 minutes)

Now I was testing with L Speed test 8, and my idle time it's better after 6 hours 53 minutes I lost only 0.4% /hr (I have the same configuration, WiFi on, bluetooth on, SmartBand, and Sony Lifelog App).

Here is my log. And I think if the users use your guide and L Speed they have better battery life. Thank you for your guide and your time and thank you to L Speed creator too.
[Android General] v7:
0.3%/hr on aeroplane mode is quiet high.You can try another Kernel/ROM which may help you to improve the stats.

Tapped from my lactuca virosa ;)
[Android General] v7:
Still you're having a lot of Kernel wakelocks.Can you post a dump with bluetooth off?Just to identify the root of the kernel wakelock.

Tapped from my lactuca virosa ;)
[Android General] sh4d1t0:
Yes I can, tonight put the phone on airplane mode ;)
[Android General] haseogu:
Hi vaisakh finally find a way to fix my deep sleep problem.. I wipe cache and dalvik cache. And all go well

Sent from my X9076
[Android General] Quigly:
I get fantastic battery life now. Thank you!
[Android General] pillopoulos:
Haven't found my Rom yet,but when I have my screen on, my battery life is really good....
[Android General] v7:
Then you shouldn't worry.

Tapped from my lactuca virosa ;)
[Android General] sh4d1t0:
Here is my log on airplane mode, only 1% after 5 hours :D

Oh idk what happen here.. My battery said 99% but bbs said no no no 100%
[Android General] suaverc118:
Good morning! Here is my custom dump from a knew bliss build. This is with smart network as well. Hope you had a great weekend and have a blessed day.
[Android General] néonaloj:
It's not bad! 0.6%/hour (from 51% to 48%) for 5H21, let's wait for the chief's [MENTION=5867207]vaisakh7[/MENTION] conclusions...
[Android General] suaverc118:
Wow. Well last week I had .2% per hour. I wonder what happened. I need to figure out if I had smart network turned off or something last time. Time to find my old post I guess. Lol
[Android General] v7:
Seems to be the signal issue.You had some bad signal in between.Double check Smart Network.

Tapped from my lactuca virosa ;)
[Android General] néonaloj:
I'm pretty sure you had smart network disabled! as we were talking about it... Plus for your signal:
[Android General] suaverc118:
I think you are right. I may just disable it because its been nothing but problems for me anyways.
[Android General] Purerawenergy:
I just wanted to throw this out there for what it's worth. I'm flashing Tobi's unofficial build as fast as they come out, which is about every 3 to 4 days and it takes at least 2 to 3 days for my battery stats to get to where they normally are to 1 to 2% drop after a full charge, but IMHO this is to be expected. Any time you flash a new ROM or start changing kernel settings (in addition to all the other little tweaks) it takes time to settle in. So of you want the best battery life you can either stay with the official builds or give your phone around 3 to 4 days to completely settle in. I may be wrong, but this is how it's always been for me.

Tom
[Android General] suaverc118:
Very true but everything varies. The one I mentioned before was on the first cycle without smart network, I just toggled to 2g over night. Some ROMs respond immediately and some take a few cycles.
[Android General] v7:
^^^^This is something everyone should know :)

Tapped from my lactuca virosa ;)
[Android General] mikexmayhem:
It would be incredible if there was a way we could export our amplify settings and import them upon flashing a new rom. it takes me hours or even days to get this back to where they were, as posted above. but an import/export option would make things so much easier! I may post a comment about it in the amplify thread and see what they say
[Android General] pillopoulos:
How about saving your amplify's data with titanium backup somewhere that you could restore it?
[Android General] eshipp31:
hi

vaisakh7 I replace the battery and that was the problem look at my attachments I haven't charged my battery in almost 3 days I followed your guide and disable all unnecessary google and samsung and greenify some things
[Android General] haseogu:
Hi vaisakh help me, it still has a huge awake.

https://www.dropbox.com/s/doqn3gv8mgduoeo/BetterBatteryStats-2015-08-25_060455406.txt?dl=0

Sent from my X9076
[Android General] eshipp31:
hi

vaisakh7
[Android General] v7:
Post an idle dump.

Tapped from my lactuca virosa ;)
[Android General] v7:
There are a lot of kernel wakelocks.Should be a kernel issue.Is any other ROM/Kernel available for your device?

Tapped from my lactuca virosa ;)
[Android General] v7:
TiBU works!

Tapped from my lactuca virosa ;)
[Android General] agbazinga:
Hi vaisakh7

I tried both stock kernel and custom kernel , and was still getting mysterious awake stats on BBS dump. ( WiFi on )

So I decided to take a dump with flight mode .

Here are the BBS stats with stock exodus kernel .

https://www.dropbox.com/s/vumgjimiy8jz4pk/BetterBatteryStats-2015-08-25_063601546.txt?dl=0

So is it still a kernel issue ?? Now since drain in flight mode is negligible. What should I check next ??
[Android General] klmiciano:
Because in MIUI v5 Rom. Is doesn't support Xposed Framework. It will stuck on boot logo. That's the alternative app used in MIUI Roms. By the way, I'm using WSM Tools and Greenify, Amplify and Power Nap is already installed in the modules. :cyclops:
[Android General] v7:
I've never used that app myself.Maybe you can try it out.

Tapped from my furious dogo ;)
[Android General] Traxex_:
Already did with all gps and frameworks.
[Android General] v7:
Maybe related to your ROM /Gapps.
[Android General] marwanpro:
What's about WakeLock ?
[Android General] ZANIUM:
Thanks for the information.
[Android General] v7:
Make the question clear.

Tapped from my furious dogo ;)
[Android General] Ramer:
Thanks. I made some changes regarding the email, just allowing the syncing that I want in my primary email account and turn everything off except Inbox in my other two. Had also found two items from the OP that I missed the first two times I went through it. I let my phone charge last night and then unplugged it on a full charge to let it sit overnight. I went from 100% to 92% in 8 hours of idle time. I just looked at Wakelock Detector and Google Fit is my primary wakelock hog so I went into Amplify and found the two items for it and changed it from 240 to 7200. Recharging my phone now and will let it sit for three hours before taking another BBS log. I'll post that later on today (or tonight for you). Thanks again for everything you do for the community.
[Android General] boni091:
Only greenify and donation packages thats ok i try to install and follow instruction but it didnt work it drain my battery any suggestion ?
[Android General] v7:
You need Amplify and Greenify modules activated in Xposed.

Tapped from my furious dogo ;)
[Android General] Traxex_:
I disabled power nap and still got a reboot, only using Amplify and Greenify now, so it must be relate to one of them.

Trying without Xposed to check if it's ROM/Kernel related.
[Android General] jhuff83:
Here is my BBS dump after 3 hours of idle. Insane!!
[Android General] edios123:
Is this normal?
[Android General] jhuff83:
Did you greenify the first one in that list?
[Android General] Looki75:
Hello! Very nice thread!

I have a question : is it safe to greenify (i.e. Am force-stop) com.google.android.gms?

Or might it break some functions and which ones?
[Android General] v7:
Perfect :)

Tapped from my furious dogo ;)
[Android General] v7:
Post an idle dump of about 5 hours.

Tapped from my furious dogo ;)
[Android General] v7:
Greenifying GooglePlayServices is not recommended.It'll wakeup one way or the other.Frequent Wakeup and hibernation causes drain.

Tapped from my furious dogo ;)
[Android General] badrsj:
Good article and excellent guide. I'm reverting to not being a power user, no rooted devices and no problems that come work them.

I'd like an unrooted version of this guide, I know that's harder. Thanks for your time.
[Android General] v7:
This stat is good.Now post a dump on WiFi.Kernel wakelocks are gone.

Tapped from my lactuca virosa ;)
[Android General] Purerawenergy:
Are you serious? Bro I just wipe cache, system and dalvick cache, flash my new ROM, reboot and let it optimize, then flash Xposed, reboot and I'm done. If I had to reset everything, every time, I would've just rooted my phone and never flashed a new ROM and kept it stock. That's way too much work. Are you deleting data as well as caches? Don't do it unless your having problems with your ROM and absolutely HAVE TO.

And you can always back up your apps and/or their settings with Titanium.

Tom
[Android General] beeshyams:
Hi [MENTION=1675436]mikexmayhem[/MENTION]

The easiest way is to use something like Ti Backup.* Alternatively, you can copy the files in /data/data/com.ryansteckler.nlpunbounce/shared_preferences
[Android General] suaverc118:
Looky at what I woke up to this morning! No smart network just dropped to 2g.
[Android General] suaverc118:
Here is the dump as well.
[Android General] néonaloj:
Waow, that's insane! :)

You lost 0.2% in 7h24... Even if your signal was not optimal.. (Moderate Signal (): 2 h 9 m 26 s)

I never had a so good night... Jaelous lol

Wait the input [MENTION=5867207]vaisakh7[/MENTION] !
[Android General] Portgas D. Ace:
Congratulations, mate. There is nothing to tweak anymore that can achieve a better battery life :)
[Android General] mikexmayhem:
oh beautiful!!! thanks!
[Android General] suaverc118:
Thanks to y'all and [MENTION=5956955]Purerawenergy[/MENTION], he also guided me on some other things too.
[Android General] haseogu:
No kernel or custom oem rom for me :(

Sent from my X9076
[Android General] v7:
Clean flash your latest firmware.

Tapped from my lactuca virosa ;)
[Android General] suaverc118:
Am I good [MENTION=5867207]vaisakh7[/MENTION]?
[Android General] v7:
Oh yes!I saw your stats and everything's fine.Enjoy a little more time on your phone bud!

Tapped from my lactuca virosa ;)
[Android General] CounterC:
Can you refer to a guide or post you followed please? I have powernap, amplify and better battery stats installed...

Sent from my A0001
[Android General] Purerawenergy:
You're already in the best place for that. Just read the OP.

http://xdaforums.com/showthread.php?p=60425051

Tom

---------- Post added at 04:01 PM ---------- Previous post was at 03:26 PM ----------

I'm sure opening up battery and seeing those stats got you off to a good start this morning. And doing away with SN saved you even more wake locks which is great. I'm gonna freeze SN tonight because it appears the WiFi issue is gone, now which was why I was using it in the first place Even when everything connected to the WiFi was off, it stayed on. Well I know you're happy, you've been working on this for a while now. And I'm happy for you my friend. Told you this thread was a lifesaver.

Tom
[Android General] suaverc118:
Amen bro! This place was a life saver. I was so frustrated with poor battery life. Now I easily get 7 to 8 plus hours of sot.
[Android General] agbazinga:
Same setup , but stats with Wifi On. Again mysterious awake appears and some kernel wakelocks.

https://www.dropbox.com/s/ahwwsf0m5dbc753/BetterBatteryStats-2015-08-26_062051932.txt?dl=0

Kernel wakelocks are for around 4m but awake time is 22m , so would it be a kernel issue ??
[Android General] v7:
Getting error on download.

Do you have any warez/patching apps running on your device?

Tapped from my lactuca virosa ;)
[Android General] agbazinga:
Uploaded again

https://www.dropbox.com/s/ahwwsf0m5dbc753/BetterBatteryStats-2015-08-26_062051932.txt?dl=0

Patcher/warez apps ?? You mean pirated apps ??

Some apks are quite old , may be one or two apps are those which I downloaded from Google.

Should I flash ROM + gapps again on multirom and take stats with stock apps ? and as far I remember this awake also occurs without WiFi ( with cell network on , data off).
[Android General] v7:
Yeah get me a stat on clean flash with stock apps.Do it on WiFi.The current stats shows Kernel wakelocks.

Tapped from my lactuca virosa ;)
[Android General] Android2003:
Is it recommended to use greenify in cooperation with power nap ?
[Android General] v7:
Yes.Greenify helps to save battery while using the device.

Tapped from my lactuca virosa ;)
[Android General] Blue305:
Sorry for my question. But greenify kills my push notifications. Example: facebook messenger, whatsapp etc.. Does the donation package fix that? Thnx in advance guys!
[Android General] v7:
Yes! Get the donation package and enable "GCM-push for greenified apps" in the Experimental Settings.

Tapped from my lactuca virosa ;)
[Android General] Blue305:
Thanx a lot homie ;)
[Android General] milojoseph:
Anyway to fix this

Sent from my SM-G900T powered by AllianceROM

and boosted by speedy kernel

Lollipop ?
[Android General] CounterC:
What's this bam_dmux_wakelock?

Sent from my A0001
[Android General] v7:
It is related to the WiFi state.There's no need to worry about that.

Tapped from my lactuca virosa ;)
[Android General] v7:
bam_dmux is related to mobile data.So an active data connection triggers the waklock for sometime.

AudioIn ia triggered by google app.Do you have hotword detection activated?That should be the cause.If you don't use that feature,turn it off.

Tapped from my lactuca virosa ;)
[Android General] CounterC:
Is there anyway to reduce the bam_dmux_wakelock (maybe use 2G?) or is it because I have bad cell reception?
[Android General] v7:
Bad cell reception is a cause of the high numbers.If the 2G signal is good,you can switch to 2G during idle.

Tapped from my lactuca virosa ;)
[Android General] Android2003:
The app Network logger drains the battery.

Dont install it. Tested it, with this i got 5%/h, without i got 0,1%/h.
[Android General] sm753:
I don't have any good idle logs captures just yet but I'm getting like 3-4 hours of SOT max. I'm using Amplify and Greenify with most wakelocks blocked based on what BBS and WLD is telling me.

Android System is consistently the highest battery drainer for me...I'm really out of ideas on how to fix/reduce it. Under settings/battery - even after 3-4 hours of SOT, Android System is almost always higher than Screen by a significant margin. I've read that some apps run/sync/etc run under Android System but there's basically nothing online about how to figure out what apps are causing it.

Anyone have any ideas on how to reduce Android System battery consumption?
[Android General] Android2003:
Have u made a log of bbs as in post 1-4? Post it.
[Android General] sm753:
Will post as soon as I can get a "clean" log cap. Thanks.
[Android General] agbazinga:
Hi vaisakh7

BBS dump with stock apps and stock kernel.

https://www.dropbox.com/s/e3cbovckfacmkze/BetterBatteryStats-2015-08-28_062103194.txt?dl=0

Still no success :(
[Android General] v7:
Can you post a dump on mobile data on the same setup.?I suspect WiFi to be the cause of the issue.

Tapped from my wild tocino ;)
[Android General] agbazinga:
OK sure .
[Android General] o0sYkOo0o:
More improvement?

Hi vaisakh7,

Thx for great post with tips. I have done all and made a BBS dump. Can you check my dump?
[Android General] v7:
Tasker is draining a bit.How many tasks are scheduled?
[Android General] Portgas D. Ace:
I have approximately the same number of Tasker-related alarms with a 1% per hour drain. The next day I took one dump with Tasker deactivated but the drain remained the same. So I guess Tasker is not the main culprit (had a 0.1% per hour drain on KitKat with approx. 10 Tasker profiles activated, by the way).
[Android General] v7:
Might be different in his case.Let's see.

Tapped from my wild tocino ;)
[Android General] :
Hey guys,

Can any of you comment on this app called DS Battery Saver. It seems to perform the same function as PowerNap. It has been around for a long time.

Is there a difference between the two? Which is more advantageous and why? Thank you by the way :)

I am learning a lot from this forum

2+2 = Omeleto Frumage
[Android General] eshipp31:
hey

vaisakh7
[Android General] v7:
DS Battery Saver

Deepsleep battery saver constantly puts the device to deepsleep mode while screen off. During deepsleep mode, Wifi, 3G are turned off, background apps are stopped. Therefore, most apps are not working, including Facebook, Google Service, etc,. It then constantly wakes up in order to download email, sync Facebook status, etc, which is defined by deepsleep frequency and woke up duration

By constantly put device into deepsleep mode, we will save battery life due to no Internet connection, and therefore most of network-based apps, such as Facebook, Gmail will not work.

Power Nap

Power Nap for Xposed is the best app for saving battery. When your screen is off, Power Nap maximizes your device's deep sleep time by stopping services, alarms and wakelocks from waking the device when the screen is off. This means you can leave Wi-Fi/data on and still get the notifications from apps you have whitelisted, while all others are unable to wake up your device, leading to an increase in your battery life.

Tapped from my wild tocino ;)
[Android General] v7:
Level lost [%]: Bat.: -10%(100% to 90%) [0.4%/h]

Screen On (): 2 h 43 m 37 s 11.1%

You kept the screen ON without using the phone? :eek:

Tapped from my wild tocino ;)
[Android General] o0sYkOo0o:
27 profiles. I will do a test without tasker and make a new dump. Do you have other point of improvements?
[Android General] eshipp31:
I was just basically checking messages and light usage
[Android General] v7:
The stats looks good.How's the cell signal at your place?

Tapped from my wild tocino ;)
[Android General] v7:
The rest is fine.Post a dump with tasker disabled.Let me see.

Tapped from my wild tocino ;)
[Android General] eshipp31:
How do I disable tasker
[Android General] v7:
Freeze it.

Btw the last post wasn't pointed to you.
[Android General] madboymatt:
I've installed AppOpsXposed via the xposed framework, and I've noticed that it is not getting su permission when it loads up.

Looking at my SuperSU logs, AppOpsXposed is never shown as being granted access.

Does this mean its not actually working?
[Android General] :
I installed all those except greenify on galaxy s5. Everything working fine, except the clock alarm which doesn't sleep the phone the appropriate time to remind me..

What could be the problem? Probably i should set some exception in power nap?

Thanks
[Android General] v7:
AppOpsXposed doesn't require SU access.

Tapped from my wild tocino ;)
[Android General] v7:
Is Android System whitelisted?Do you have a third party alarm app?

Tapped from my wild tocino ;)
[Android General] :
Now it is... :)

Thanks man. No i haven't android system but, haven't any other problem except of alarm clock. Because alarm clock was auto selected i supposed i hadnt to do anything..

I also selected now amplify and apopsxposed. Did i done right or to deselect those 2?

Thanks again.
[Android General] madboymatt:
Ok great. Thanks!
[Android General] v7:
No issues!Keep them on the whitelist. :)

Tapped from my wild tocino ;)
[Android General] Ikkuh84:
You can also just long press the icon left upper corner in Tasker, which disables Tasker.

Verstuurd van mijn GT-I8190
[Android General] sh4d1t0:
I can't found google services framework on CM 12.1 Ressurrection Remix

Enviado desde mi Xperia Z2 mediante Tapatalk
[Android General] v7:
Which GAPPS package are you using?

Tapped from my wild tocino ;)
[Android General] agbazinga:
Hi vaisakh7

This is a dump with mobile data ( exactly same setup )

https://www.dropbox.com/s/ea5miiq0abw3iad/BetterBatteryStats-2015-08-29_064557532.txt?dl=0

Indeed it seems to be WiFi issue . From 1% to 0.4%/h and no mysterious awake. But there anything that I can do for WiFi ??
[Android General] o0sYkOo0o:
Hi vaisakh7,

Made a new dump without tasker. Can you please check again?

Thx