yashsingh1/xdaforums huggingface dataset:
[Android General] Portgas D. Ace:
Facebook tends to wake up by using other apps which have some kind of Facebook-Login in it. You can try to cut off those so-called wake-up pathes. If you don't know how to do so, search for it in the Greenify thread. From my experience, you can tame Facebook from waking up by enabling Deep Hibernation in experimental settings of Greenify as well, but this may break some functionality of other apps.
[Android General] rtorres01:
[MENTION=5867207]v7[/MENTION] help :crying:
[Android General] suaverc118:
Goodmorning @v7. Here is the dump you requested, sorry its long. I have screenshots too.
[Android General] v7:
1.Will have to test and see if the Greenify performs hibernation after limiting it.

2.android.appwidget.action.APPWIDGET_UPDATE is related to your widget.If you have weather/other widgets,this limits the interval in which they are updated.

3.android.content.syncmanager.SYNC_ALARM handles the sync interval of your accounts and apps.Can limit it if you don't want your accounts to sync every now and then.

4.This alarm is triggered while using Mobile Data.Can be limited to 7200 seconds.

5.Try limiting *syc*/com.androide.contacts/com.whatsapp/Whatsapp to 84000 seconds.

6.I'm testing both those wakelocks.Will post in the thread if I find them worth limiting.

v7
[Android General] v7:
That's perfect 0.0%/hr drain :)

This is on Mobile Data right?If so,there's nothing to tweak.Enjoy your battery life :)

v7
[Android General] v7:
Wifi On (): 7 h 9 m 15 s 100.0%

Wifi Running (): 27 m 10 s 6.3%

Wifi during sleep is turned off?

The wakelock is reduced.Still there are counts.Shouldn't worry about it as it is not causing much drain :)

v7
[Android General] suaverc118:
I think it turns itself off because I don't touch it. What caused the 2%drain over night? And how's your day going?
[Android General] v7:
Check if SmartManager Framework Thread is present.

I don't think other Kernels are supported as this ROM is Note 5 FW based.

v7
[Android General] v7:
You had data enabled?

Having a bad fever and I'm bedridden :crying: :(

v7
[Android General] albion93:
Yes,mobile data on. I just wanted to perform my battery life in usage. I usually do around 2.30h screen on in 50% sometimes only 2 hours but i think more than it i can't expect. I just use whatsapp, instagram, lite Facebook and sometimes browser. Anyway i'm happy for theese results also because i'm always in 3G i have no Wi-Fi at home.

Inviato dal mio HTC One utilizzando Tapatalk
[Android General] suaverc118:
Yup WiFi and 3g enabled.

Sorry man, get some rest and drink lots of water, stay away from salt.
[Android General] rtorres01:
[MENTION=5867207]v7[/MENTION] Thanks for the answer. There I located the SmartManager Framework hair Titanium , there is another way to find ?

For this ROM Can Test Suemax , Ultimate and Srhegg 2 Kernel . I will check and bring new BBS .

Thanks so much for the help
[Android General] v7:
Ignore the app.No need to freeze it.It doesn't cause much issues :)

v7
[Android General] rtorres01:
ok , I'll try another kernel and come back with a new BBS .

Thank you,
[Android General] hawkdown77:
What is the whatsapp services, alarms or wakelocks which can not limit? I am receiving late messages
[Android General] Portgas D. Ace:
Please upload a screenshot of the Whatsapp-related alarms/services that you have limited.
[Android General] thiagofbrito:
Any of these settings are somehow related to proximity sensor? Because I followed OP and now I lost its functionality during calls. Thanks!
[Android General] v7:
What all apps did you whitelist in PoweNap?

v7
[Android General] thiagofbrito:
Here it is
[Android General] v7:
Add AndroidSystem.

v7
[Android General] gh0stzk:
Hello, good morning, great guide v7 thanks 4 ur work.

I have a problem, some wakelock or alarms are causing me delay in notifications ONLY when i start the phone from deeeep sleep.

I just wake up here are 9:53 am and i take my phone open whats app and pumm a lot of messages arrive, not only from whatsapp, tapatalk, gmail, all came at the same time.

Enviado desde mi GT-I8190 mediante Tapatalk
[Android General] thiagofbrito:
Added then reboot but nothing changed.
[Android General] v7:
Unlimit com.google.android.gms.gcm.ACTION_CHECK_QUEUE.

v7
[Android General] v7:
Freeze PowerNap and see if the sensor work properly.

v7
[Android General] mrrocketdog:
[MENTION=5867207]v7[/MENTION] , when you have time would you check these services out and tell which and by how much any of them can be limited ? searched OP and none match that i can tell.

apologies for not knowing how to "hide/spoiler" so many , only have mobile. no PC.

thank you.

"all i can really do is stay out of my own way and let the will of heaven be done"
[Android General] thiagofbrito:
I have just found out what was the culprit. I have messed up with Phone's apk permissions by unticking Keep screen awake. Now after reticking everything is fine. Thanks for your help really appreciate that! @v7
[Android General] v7:
From the screenshots,I couldn't read the services label completely so can't tell :/

Use

content [/ hide](without the space after '/' ) to hide things :)

v7
[Android General] v7:
Good to know that you fixed it :)

Also make sure you keep AndroidSystem in PowerNap whitelist.

v7
[Android General] gh0stzk:
Thanks 4 ur answer i will try it

Enviado desde mi GT-I8190 mediante Tapatalk
[Android General] Ajju^:
Every time i install Powernap i can't see statistics i got selinux permissive plus battery drain is quite high.
[Android General] eu queria:
nice tutorial, thanks
[Android General] Ph0z3:
Regex fixed!

-- get yourselves updated!
[Android General] ashvincj:
Idle Battery Drain

I have attached the BBS dump file. My Zenfone 2 phone just went from 100 to 80 overnight with 0 screen on time. :( Can someone please help me on this?
[Android General] v7:
Follow the settings in the OP and then post an idle dump.

v7
[Android General] Portgas D. Ace:
I am not entirely sure, but from your second screenshot it seems that you have limited the following alarm (last one on screenshot with number 5 next to it):

com.google.android.intent.action.MCS_HEARTBEAT

This one is related to push notifications. Limiting it breaks push notifications and thus may be the cause for the delayed push notifications from Whatsapp. Unlimit it.
[Android General] hawkdown77:
OK.. I unlimit it now....i will try and see what heapens... Thank you for help.
[Android General] ashvincj:
I have already attached the idle dump. Noob here, what is the OP?
[Android General] v7:
OP->Opening Post

Setup your phone according to the opening post and then post an idle dump.There are lots of alarms/wakelocks in your dump that is in the OP.

v7
[Android General] ashvincj:
I have already limited all wakelocks/alarms as per the post using Amplify..
[Android General] v7:
Limit the following wakelocks according to the OP.

ConnectivityService (Android System): 1 m 54 s Count:84 0.4%

*net_scheduler* (Google Play services): 21 s Count:303 0.1%

GpsLocationProvider (Android System): 4 s Count:87 0.0%

Alarms: 38, Intent: android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED

v7
[Android General] ashvincj:
Many thanks for the response, could you kindly tell me which wakelocks/alarms from the OP exactly to block for these 4 wakelocks.

---------- Post added at 04:15 PM ---------- Previous post was at 04:07 PM ----------

I just checked, all these 4 wakelocks are already limited as per OP.. :/
[Android General] v7:
Post your Xposed log.

v7
[Android General] ashvincj:
Xposed log attached...
[Android General] jason8612:
Latest bbs

Starting to look better.

How can I de greenify a app?
[Android General] Portgas D. Ace:
To permanently de-greenify an app, open Greenify and long press on the app you want to de-greenify. There will be an X in the statusbar. Press it and you are done.
[Android General] v7:
Reset Amplify and setup again.Report back with an idle dump tomorrow.

v7
[Android General] foxsprout:
I'm getting constant Google Play Services drain (sometimes it's replaced with Google Services). I'm guessing this two particular part of services are the culprits. Since in OP I didn't find info to disable these, I want to ask what would be the aftereffect? I limit them just now so it's too early to tell me myself. Pics below.
[Android General] v7:
Do you use Location Services a lot?

Disabling them will break Location.Can you drop me a dump?I'll check and tell you.

v7
[Android General] foxsprout:
Occasionally... I use it for weather updates and some check-in sometimes so I set it on Battery Saving. I also use features on Google Now. I figure the second one is location using network (data), CMIIW.

I'm sorry I never did it before. Any how-to link?
[Android General] v7:
FAQ in post #6 :)

v7
[Android General] foxsprout:
Lol sorry I missed that. Here is for this cycle (I swap battery so it's from boot), will post again tomorrow after 6-hour idle.
[Android General] v7:
Stats looks good.Anyway post an idle dump tomorrow.

Have you disabled the Wakeup and Keep Awake permission of GooglePlayServices in AppOpsXposed?
[Android General] garthybarthy:
Still getting ALARM_WAKEUP with regex.

Using ALARM_WAKEUP [0-9]{4,}

Is it not working for others?
[Android General] v7:
Tried different permissive Kernel?Should be an issue from the app side as it isn't updated for so long time.Can you try another Kernel and report back?

Also read FAQ and post a dump later :)

v7
[Android General] nola mike:
Wlan_ wakelocks?

Running Aurora Galaxy S6 ROM on an AT&T S4 phone. When I first unplug the device (and let it sit overnight), I get very little battery drain. However, it seems that once I use it once (first thing in the morning here), the wifi goes nuts. I have it set to always on, and I start getting a ton of wlan wakes. It happens on multiple networks. Any ideas? I'm on a locked bootloader, so it's an AT&T kernel (and I can't use a custom kernel).
[Android General] foxsprout:
Here it is...

I disabled 'Keep Awake', but there is no 'Wakeup' settings nor anything that close to wakeup.
[Android General] v7:
This is kernel/ROM related.Can't do much about it.Try another ROM.

v7
[Android General] v7:
Wifi Running (): 6 h 39 m 16 s 100.0%

WiFi was active and not connected?

radio-interface (): 21 m 25 s Cnt:(c/wc/ec)1266/850/0 5.4%

lli_pm_wlock (): 19 m 17 s Cnt:(c/wc/ec)1534/975/0 4.8%

umts_ipc0 (): 11 m 44 s Cnt:(c/wc/ec)1415/886/1416 2.9%

bcm4773_wake_lock (): 11 m 3 s Cnt:(c/wc/ec)1330/885/1330 2.8%

Radio issue.Can you try another Kernel?

v7
[Android General] foxsprout:
It's carrier issue unfortunately. By the time I want to keep it idle, the network is unstable in my area, it even loses signal. I think my carrier is doing network upgrade or something

I set wifi to keep scan in background, isn't it for location purposes? Should I turn this settings off?

Also, there is a settings in my kernel for Wifi DTIM Interval while screen on and off with value from 0-100 (0=stock). I don't quite understand what this means and whether this will impact battery much
[Android General] nola mike:
I'm wondering what triggers it, and what can reset it. Maybe could do a tasker script, or find some combo of network settings. I don't really need wifi always running; could use the network as well. Unfortunately, my choice of roms/kernels is severely limited because of the bootloader. I need a TW lollipop rom, only 2 out there that I can find...
[Android General] v7:
Ah I see These wakelocks should be related to poor signal.

If you want Google to track you and monitor you,keep the 'Scanning always available' ON :).Disabling it helps to save some battery.

Read about DTIM.Seems insignificant here.

v7
[Android General] ashvincj:
@v7, xposed and BBS idle dump attached. I could not get it to 100% before I went to sleep though.. Drain from 85% odd.. I hope it is okay.
[Android General] foxsprout:
Okay... I'll keep that in mind ;) thanks a lot for info and help. I assume the stats are okay? I'll turn off the always scanning to see whether the drain still exists
[Android General] nola mike:
Kind of strange. Tried flashing the OC3 modem/kernel, and then wifi wouldn't work. Reflashed OC4, and still no luck. Tried multiple times, then wiped cache, then factory reset. Finally restored a nandroid backup, and it worked. Curious to see if it was a fluke. Reflashed OC3, no joy. Eventually restored the backup again and now all is working. That doesn't make sense to me. Wondering if I have a dying wifi module causing my problems?
[Android General] Portgas D. Ace:
What superuser app are you using? SuperSU by Chainfire is the only one that seems not to have issues with PowerNap. Install latest SuperSU app and reboot. Then check again for statistics in PowerNap.
[Android General] ma.ramli2013:
Hello OP,

I am trying to use BBS on cm13 ROM,

for oneplus one.

I was wondering why BBS is not working

for CM13 or android 6?

Thx
[Android General] jason8612:
Installed greenify. Didn't change any settings (or I don't think I did)

Went from 0.7%/hr to over 2%/hr
[Android General] Ajju^:
Already using SuperSu v 2.52 m at MM
[Android General] ma.ramli2013:
Your BBS working on MM?

Can share link of BBS?

Thx
[Android General] Portgas D. Ace:
Then I guess Power Nap isn't fully compatible with Android Marshmallow right now.
[Android General] Ajju^:
I got same problem with lollipop though.
[Android General] xxsashixx:
Hello v7

Great guide. love it

Attached is my log. Currently on marshmallow. Any way to improve this?

Thanks !
[Android General] v7:
Nope.The reference couldn't be found in the stats.Post another one from 100%.

v7
[Android General] v7:
Any other Kernel works?

v7
[Android General] v7:
Greenify isn't the reason.

v7
[Android General] v7:
bluesleep (): 12 m 4 s Cnt:(c/wc/ec)82/15/82 2.3%

Band/Watch connected?

v7
[Android General] xxsashixx:
Yea pebble time steel
[Android General] v7:
10150 (Mobile) (com.chrome.beta.Chrome Beta): 53.0 MBytes 84.8%

Screen On (): 16 m 38 s 3.2%

Post a complete idle dump later.

v7
[Android General] ma.ramli2013:
Hello Guys,

Good morning. Pls have a look at

My idle dump. I lose 0.4 % overnight.

What app that suck the battery?

https://drive.google.com/file/d/0B7TbpaMz3aHPb09sZkotbnhya2c/view?usp=docslist_api

Thx
[Android General] v7:
729.6 MHz (): 13 m 33 s 2.1%

Couldn't find any issue in the stats.I think the weather widget caused the trouble.

v7
[Android General] ma.ramli2013:
Thank you @v7

For ur fast reply.

I will have a look

After not using that widget

If battery improve.

Regards
[Android General] nola mike:
No. Very strange. tried going with another rom/OC3 and still couldn't get back to wifi. Got frustrated, tried replacing my cracked screen, broke the digitizer :( On to an LG G3!
[Android General] suaverc118:
Good morning @v7. Flashed a new ROM and almost made it to 6 hours but woke up too soon. Hopefully it doesn't effect it too much. Hope you're doing well too. Anyways, here it is and I appreciate all your help.
[Android General] v7:
AudioOffload (1013): 1 h 5 m 39 s Count:14 20.0%

ROM bug!

v7
[Android General] hawkdown77:
I change ROM....im using mokee ROM and im getting this partials Wakelock and alarms...what can i do for it??
[Android General] suaverc118:
That is something I can't block or limit correct?
[Android General] v7:
You shouldn't worry about *alarm* wakelocks.They appear on all LP/MM,ROMs.Doesn't cause any issues.

If you want me to check the stats,read the FAQ in post#6 and post a dump later :)

v7
[Android General] v7:
That'll pop up even if you limit it.Moreover,it is causing minimum/no drain but that wakelock shouldn't be there.
[Android General] hawkdown77:
Im getting high wake up screen off time
[Android General] v7:
*alarm* shows up in high numbers/times in BBS but it doesn't drain.Anyway,post an idle dump when you get time.I'll definitely take a look :)
[Android General] sintro:
Powernap gives me SOD on a Samsung Galaxy S6 920r4. That's with android system whitelisted too.

Luckily, amplify works great in conjuction with leandroid/smart network. I got only 2 or 3 percent drain while sleeping for 8 hours, which is awesome!
[Android General] v7:
Are you on stock FW?There should be some important Samsung apps that needs to be whitelisted.Unfortunately I don't own a Samsung device,so I couldn't test it out :/

v7
[Android General] Traxex_:
I'm getting random reboots since a few days, Android system, GPS, GPS framework whitelisted and only limited things from op.

Not sure if you can tell from this log why the reboot happened.

http://pastebin.com/BFspArC8
[Android General] v7:
Need the k_msg to know the know what caused it.If you're on Marshmallow,there's a chance of Powernap causing issues So stay away from PowerNap and use my Doze settings.

v7
[Android General] jordirpz:
@v7

maybe I'm wrong, but my mobile radio make battery consumption is high in google play services. Do you know any way to fix it? thank you
[Android General] v7:
Connection type isn't relevant for GooglePlayServices drain.Can you drop me a dump?

v7
[Android General] jordirpz:
Is in op how make and send a dump?
[Android General] v7:
FAQ in post #6 :)
[Android General] LKHN:
Solve headphone controls when screen off

#1. in Poweramp Endurance Mode and tick(allow) to Poweramp(or your favourite music app) and Poweramp Full Version Unlocker.

#2. also Degreenify Music app

#3.(for Poweramp) Choose High priority in Poweramp control settings and volia all controls working perfectly when your phone in your pocket :)
[Android General] Traxex_:
Here's the k_msg, still got the reboot after disabling Powernap.

I didn't find your recommended doze settings in op, where can I find them?

Thanks for your support.

edit:

Here it is

https://drive.google.com/file/d/0B78D-aajjVnPVW5Ld2NTV3phbUE/view?usp=docslist_api
[Android General] v7:
Can't find the log.

Here's the link to doze settings.

________

v7

XDA Assist
[Android General] v7:
Couldn't find anything related to the apps.Something related to the kernel/ROM I believe.Clean flash may help.Don't install PowerNap,it is having issues with MM.

________

v7

XDA Assist
[Android General] locolyric:
just flash cm12.1 and remove power nap for awhile to see any changes without it.

Feels like power nap didn't help that much in power saving.
[Android General] hawkdown77:
Hi...here is my dump and screenshots

Dump:

http://pastebin.com/snc2YUtb
[Android General] v7:
Limit

1.Alarms: 58, Intent: android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED to 7200 seconds.

2.Alarms: 14, Intent: android.app.backup.intent.RUN to 84000 seconds.

3. Alarms: 24, Intent: com.google.android.gms/.checkin.EventLogService$Receiver to 84000 seconds.

Rest is all good :)

__

v7

XDA Assist
[Android General] Midomad:
Didn't know PowerNap isn't recommended with MM,Thanks.

So Greenify and Amplify is enough?
[Android General] v7:
+my doze settings.

________

v7

XDA Assist
[Android General] Midomad:
Sure,already using them ;)
[Android General] hawkdown77:
Thanks for help....

In this dump and screenshots i forgot activate mobile data. Stay on only WiFi.

There is a problem??
[Android General] v7:
Nope.This is enough :)

________

v7

XDA Assist
[Android General] sintro:
Yeah, I'm on stock FW. Just running Unikernel from the sprint forums. It does pretty minimal things, like change governor. But mainly it's for root. Amplify on its own, combined with leandroid, and little bit of greenify seems to do okay. It's usually about a percent an hour, with going on my phone a few times during that hour. There's a few alarm and wakelocks Im still researching, but other than that, fantastic guide!
[Android General] Traxex_:
Is it safe to limit bluedroid_timer?

Is doze still working when I limit Anymotiondetector? It's causing many wakelocks even with your recommended settings.
[Android General] v7:
bluedroid_timer is related to the wear connected.Limitting it'll break bluetooth.

Yes,doze should work with the MotionDetector limited.I haven't got time to test if it disables motion but I don't think it does.I may remove AnymotionDetector from the Amplify list later.

Apps with priority GCM messages are allowed to pass notifications.Maybe that's why you see wakelocks coming in.

__

v7

XDA Assist
[Android General] Traxex_:
I just limited bluedroid_timer to 1800s and my Huawei Watch + Moto 360 v2 are still working just fine, gotta investigate that the next few days if anything Bluetooth related is broken.
[Android General] mrrocketdog:
EDIT : found in OP of amplify thread. [MENTION=5867207]v7[/MENTION] , just checked in amplify and under "safe to limit" found this (new to me & didnt see in OP) audioln. would you happen to know how much time to limit it ? thanks again for your work/time/knowledge & maintaining this thread so well. :cool:

"all i can really do is stay out of my own way and let the will of heaven be done"
[Android General] madboymatt:
https://drive.google.com/file/d/0B22Py-kwWlGVek83V0EtMExuSUk/view?usp=docslist_api

could you please check that BBS dump and let me know If my device is actually entering doze? Barely touched the phone all day, seems like it didn't enter doze, but very little wakelock too.

Thanks.
[Android General] mrrocketdog:
[MENTION=5867207]v7[/MENTION] , really likin the new avatar.:thumbup:

"all i can really do is stay out of my own way and let the will of heaven be done"
[Android General] ashvincj:
Hi I have attached the BBS dump and Xposed log as requested. :) Phone went from 100 to 87 with 3G on overnight... :(
[Android General] v7:
Limit it to 7200 seconds and see if the Hotword detection from the Google App is affected.

__

v7

XDA Assist
[Android General] v7:
Check my signature too :)

All credits to [MENTION=329570]malybru[/MENTION] for this awesome work.

__

v7

XDA Assist
[Android General] v7:
Awake (): 8 m 19 s 2.2%

Screen On (): 48 s 0.2%

This looks good.8min awake time isn't bad.But the drain is so high (2.1%/hr).Either an issue from the ROM side or the battery is weak.

__

v7

XDA Assist
[Android General] ashvincj:
I don't know if this is a common hardware issue with Zenfone 2. Thanks for the help though! Considering to switch to LG G4..
[Android General] jordirpz:
@v7

Can you post you doze settings in op please?
[Android General] v7:
I'll edit the thread tomorrow.My exams will be over then :D :highfive:

__

v7

XDA Assist
[Android General] jordirpz:
Thanks v7, and good luck with you exams!!!
[Android General] suaverc118:
Flashaholic here! Good morning @v7, hope all is well. Flashed a new update of a ROM and had more of a drain than usual. Not sure if I forgot something. Have a good one.
[Android General] v7:
No issues in the stats.Let the ROM settle.Post a dump after a couple of charge cycles :)

__

v7

XDA Assist
[Android General] mrrocketdog:
i dont use hotword detection. can i go 999999999 ?

yes , really nice work on sig. love the countdown. great work [MENTION=329570]malybru[/MENTION]. might be contacting you soon. :D

"all i can really do is stay out of my own way and let the will of heaven be done"
[Android General] jhuff83:
[MENTION=5867207]vaisakh7[/MENTION] can any of these be limited?
[Android General] Flyview:
[MENTION=5867207]vaisakh7[/MENTION] Have you heard of LeanDroid? Would be cool to see you try it out and if you find it useful include it in this guide!

http://xdaforums.com/showthread.php?t=2743316
[Android General] v7:
Post an idle dump.Charge the device to 100%.Leave it untouched for a few hours,say 6 hours or so.Wakeup the phone and pull a dump immediately.Post it here.

Tapped from my furious dogo ;)
[Android General] v7:
They are useful services and are not causing any trouble.Why would you care limiting it?Let it run :)

Tapped from my furious dogo ;)
[Android General] v7:
I'll definitely try it.Looks promising.But have to look into the app more seriously.

Anyway thanks for the suggestion :)

Tapped from my furious dogo ;)
[Android General] xerxes76:
I think this is a good guide for beginning optimizations.

Everyone needs to check himself which apps or services are needed.

As a side note: Removing the facebook apps gave me about 35% more battery time, very funny.