yashsingh1/xdaforums huggingface dataset:
[Android General] v7:
Limit com.cyanogenmod.lockclock/.weather.WeatherUpdateService and com.cyanogenmod.lockclock.action.CANCEL_LOCATION_UPDATE to 3600 seconds.

Try to assign Static IP on your phone.

Tapped from my 1+2=3 ;)
[Android General] v7:
0.4%/hr is not that bad.Alarms and Wakelocks are under control.My part is done.Now you can try tweaking your kernel for more improvement.

[MENTION=5901790]orville87[/MENTION] Take a look at this mate :)

Tapped from my 1+2=3 ;)
[Android General] Azmat Roomi:
https://filetea.me/t1sltoZhnw3RfyOItNsqUhCVw
[Android General] v7:
Reupload in another site.I'm getting error 404.

Tapped from my 1+2=3 ;)
[Android General] Azmat Roomi:
https://userscloud.com/vrtdg3fp92bk
[Android General] v7:
Limit android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED to 7200 seconds and post another dump on WiFi/Mobile Data.

Tapped from my 1+2=3 ;)
[Android General] Azmat Roomi:
i am not using amplify
[Android General] v7:
Install and setup Amplify as per OP and post an idle dump on WiFi/Mobile Data.

Tapped from my 1+2=3 ;)
[Android General] TheNML:
vaisakh7 is it safe to limit this?

com.android.email.intent.action.RESTART_ALL_IDLE_CONNECTIONS

com:android.vending/com.google.android.finsky.services.ContentSyncService

com.cyanogenmod:lockclock/.weather.WeatherUpdateService
[Android General] v7:
You can try to block the first two services.Let me know if it breaks anything.

The last alarm can be limited to 3600 seconds.

Tapped from my 1+2=3 ;)
[Android General] gregferns:
Hi [MENTION=5867207]vaisakh7[/MENTION]

How's the OP2 coming along??? Issues with Amplify ??

I wanted to ask you a question,,,, since amplify is not working i was wondering if i can use the INBUILT WAKELOCK BLOCKER built into the ROM itself... only problem is that it allows you to ONLY BLOCK THE WAKELOCK.... NOT LIMIT them...

Wonder if that is a good idea >?? i can post screenshots of which wakelocks are shown to BLOCK DIRECTLY....

What do you advise please ?

thanks

Greg
[Android General] v7:
OP2 is just brilliant.Still I'm waiting to comment on the battery life.Amplify issue should be solved by this week as per [MENTION=526666]cryptyk[/MENTION].

Blocking the wakelocks using the inbuilt Wakelock Blocker completely breaks it's functionality.Most of the wakelocks mentioned in the OP isn't safe for blocking.So better wait for [MENTION=526666]cryptyk[/MENTION] to fix the issue.
[Android General] sh4d1t0:
Delta GAPPS

http://xdaforums.com/showthread.php?t=2997368
[Android General] v7:
Is GoogleServicesFramework missing in PowerNap?

Tapped from my 1+2=3 ;)
[Android General] arrigo13:
It is for me and I'm using Banks Gapps
[Android General] :
Hey guys,

When I block the OP mentioned wakelocks and alarms, my automatic call recorder is getting screwed up. It starts skipping audio and records only every 10min or so. I have double checked this with Amplify disabled and found that the automatic call recorder worked fine then. I have used multiple call recorders and found the result to be the same. Is there a certain wakelock or alarm from the OP that I shouldn't disable in order to get the functionality of my call recorder back?

BTW, my idle drain has reduced to 1% for every 6 hours by using blocking these nasty things.

Thank you :)

2+2 = Omeleto Frumage
[Android General] v7:
Reset stats in Amplify and record a call.See if any alarms/wakelocks from the OP is triggered.

Tapped from my 1+2=3 ;)
[Android General] Smittels:
Hey [MENTION=5867207]vaisakh7[/MENTION],

I lost 4% battery the last couple of nights, although I greenified and amplified as much as possible.

So, something eats my battery. Could you have a look at my bbs-stats?

Thanks in advance!

Greets!
[Android General] v7:
The alarms and wakelocks are minimum.Update BBS to 2.1.0.0_B5 from BBS thread and post a dump with WiFi and Mobile data off.

Tapped from my 1+2=3 ;)
[Android General] Borz93:
Hi! Thanks for this guide.

Anyone know why it occurs the suspend_backoff battery drain? Its not permit enter in deep sleep my phone, and only on the minimum frequency.

I on stock xperia Z2 lollipop 5.1.1 and wifi turn off.

Enviado desde mi D6503 usando XDA Forums
[Android General] v7:
suspend_backoff

suspend_backoff is triggered whenever there's a rapid succession of sleep-wakeup-sleep transitions in a short period of time (10 occurrences within x ms IIRC). When that happens, SB makes sure the device is continuously awake for a bit instead of alternating a lot.

Do you have chrome installed and running?

Tapped from my 1+2=3 ;)
[Android General] Borz93:
Thanks for quick answer. I use Firefox and no installed Chrome.

Enviado desde mi D6503
[Android General] v7:
Try to clean flash the ROM.

Tapped from my 1+2=3 ;)
[Android General] Borz93:
Okey, If I found other solution, I post this here.

Enviado desde mi D6503
[Android General] jhuff83:
What causes the Google play to force close? I don't think I disabled anything to cause that.
[Android General] v7:
It FC at boot or random FCs?

Tapped from my 1+2=3 ;)
[Android General] jhuff83:
Random.
[Android General] v7:
Is anything blocked apart from the OP?

Tapped from my 1+2=3 ;)
[Android General] jhuff83:
Don't think so. I also used some items from celestials thread but nothing that should be blocking Google play service
[Android General] v7:
Is ads.jam.NegotiationService blocked in Amplify?

Tapped from my 1+2=3 ;)
[Android General] jhuff83:
Just checked, it's enabled.
[Android General] v7:
Can you disable Amplify and see if it fixes the FC?

Tapped from my 1+2=3 ;)
[Android General] jhuff83:
Did that and no issues so far. This is driving me nuts.
[Android General] Portgas D. Ace:
Yeah, saw it. But for me disabling Tasker does not solve the issue. It seems that most battery drain is caused by Android System, according to in-built battery stats. I suspect that the cell network isn't running properly for any 5.1.1 ROM for my device, because the same issue is present in all LP ROMs I tried so far. For KitKat ROMs, this issue does not occur.

[MENTION=5867207]vaisakh7[/MENTION]: I think I found the problem. Right after I wrote this post I came across this article on XDA News. Seems that there is a bug which keeps mobile radio network active all the time and thus draining battery. I applied the Xposed module which should fix the issue and will report back tomorrow.
[Android General] jhuff83:
[MENTION=5867207]vaisakh7[/MENTION] I think I might have found the culprit. I had wakefulintentservice[notificationservice] blocked. When I unblock it I haven't received anymore force closes yet.
[Android General] v7:
Then it should be the device specific issue :/

Tapped from my 1+2=3 ;)
[Android General] Portgas D. Ace:
Check my edited post :)
[Android General] v7:
I've heard about the module once.Didn't try it.Hope it helps you :) :fingers-crossed:

Tapped from my 1+2=3 ;)
[Android General] AlanDS:
[MENTION=5867207]vaisakh7[/MENTION]

I tried flashing the ROMs from other regions too(as per your suggestion). But suspend_backoff comes again. It goes off after a restart and returns after sometime.

I really not able to understand what triggers it.

I have Chrome, Whatsapp & Viber installed. This happens even if I turn off Wifi and there is no data connectivity.
[Android General] v7:
I've seen posts that relate the wakelock with Chrome.Can you freeze/uninstall Chrome and see if the issue appears?

Tapped from my 1+2=3 ;)
[Android General] :
I don't know if this thread is about the idledrain only, but I suggest you to add Afwall+ to your guide. Most of the commercial apps upload usage statistics and track, blocking the internet access can help immensely. Especially games download adds (recommended apps etc.) even when AdAway is enabled.

I generally block every app that doesn't truly require internet access.
[Android General] renguer0:
Still don't working on lollipop?
[Android General] v7:
That'll need testing before I implement it in the thread.Let me try the app myself :)

Tapped from my ①+②=❸ ;)
[Android General] v7:
What are you mentioning?

Tapped from my ①+②=❸ ;)
[Android General] sh4d1t0:
Hi guys, TypeMail app it's draining so fast my battery, has a lot of wakelocks and alarms with high consume.

I need push notifications, but this is excesive, Gmail app is better in this situation, but I don't like it.

I can stop a little of this if I change push notifications to every hour, but I like more push notifications.

What email app recommends me?
[Android General] v7:
Try Aqua-Mail/Blue Mail.I personally use Gmail.Maybe you'll get better suggestions from others.

Tapped from my ①+②=❸ ;)
[Android General] :
I found out the wake lock causing this issue.

It is "audio in". Although the amplify description of it only says that it is used in identification of Google hotword something. By disabling this particular wake lock, I was able to auto record calls without any issues.

2+2 = Omeleto Frumage
[Android General] madboymatt:
Can anyone advise on the capptain wakelock? It's caused by Next Lock screen. Wondering if it's safe to limit. Trying 1800 seconds for now...

Thanks.
[Android General] Andreas_Chronopoulos:
Dear vaisakh greetings from Greece. I was between many roms with my Xperia z and I decided to go 4.4.4 stock Sony again and root to try your settings. I am a heavy user as I play clash of clans a lot.I have to say congratulations to you.First of all I had easily 3 hours s.o.t without changing my usage pattern. Last night 00:04 I was on 5% battery. I said leave it like that until morning. Until 08:30 I was still 5%!!!!! No drain no loss nothing. Conrats mate and ty. No need to pull dump file. Here some screen shots

Στάλθηκε από το C6603 μου χρησιμοποιώντας Tapatalk
[Android General] v7:
Limiting the 'Lock Screen' wakelock may break the app itself.Anyway try and report.

Tapped from my ①+②=❸ ;)
[Android General] Andreas_Chronopoulos:
I can't post screens as new members or something

Στάλθηκε από το C6603 μου χρησιμοποιώντας Tapatalk
[Android General] JetBrowser:
Thank you so much for taking the time to write this jumbo post! :good:

I managed to extend my battery life by just under an hour using some of the more simple tips at the beginning.
[Android General] der_Kief:
Hi @ All,

since a while different ROMs have a problem with *alarm* wakelocks. Mainly this are ROMs which have a builtin wakelock blocker.

See here and here for example. Some people suggest to completely block this *alarm* wakelock but im not sure if this is a good idea !?

Does anybody have an idea how to solve this ?
[Android General] v7:
Actually *alarm* doesn't drain although it shows high numbers.Blocking it with the Wakelock Blocker doesn't help.It is present in all lollipop ROMs.If you have abnormal drain,read FAQ in post #4 and post a dump here.

Tapped from my ①+②=❸ ;)
[Android General] ovizii:
anyone here ever ran into the problem of not being able to receive SMS text messages? I tried the built-in messages app as well as the hangouts app but the last one I received was 2 months ago. Asked someone to send me one just now and it never arrives.

Just trying to narrow down the problem, might not even be related to this thread :)
[Android General] der_Kief:
Thanks for fast clarification :)
[Android General] v7:
Tried to contact the carrier?

If it is not a carrier issue,can you try to clean flash your ROM?
[Android General] v7:
Good Evening Fellas,

I've made some changes in the layout of the thread.Now things are arranged well and easy to access.Hope you all like it :)

Regards

vaisakh7
[Android General] m0han:
good job. easier on the eys now, i feel. suggestion: you could rearrange stuff in posts like #4 in alphabetical order -

under

sub-headings, at least. not sure if i got this entirely right. ;)
[Android General] gregferns:
[MENTION=5867207]vaisakh7[/MENTION]

nice work on the OP.... good ....

tell me one thing ,,, in POWERNAP,,, do i have to whitelist GREENIFY and its DONATION PACKAGE also ???
[Android General] v7:
Yeah!Add both.

Tapped from my ①+②=❸ ;)
[Android General] :
[MENTION=5867207]vaisakh7[/MENTION]

I have a general query regarding idle battery drain.

I had left my phone unattended for 7 good hours over night. In the morning, I noticed that there had been a drain of about 6% battery. I checked android's in built battery monitor only to find that there was no activity under "awake" and "screen on". However my general radio signal and WiFi was on during these 7 hours.

Now my query is :-

Does no activity under "awake" denote that my phone was under perfect deep sleep without any wakelocks and alarms bothering it?

If so, was the battery drain due to leaving the WiFi on for 7 whole hours?

Thank you and I would love to learn more about this.

2+2 = Omeleto Frumage
[Android General] v7:
Yeah the phone should've been in deep sleep.

BBS can explain more.WiFi won't be an issue since you can achieve 0% idle drain with WiFi active all the time.

How's the cell signal at your place?Do you have a dump to share?

Tapped from my ①+②=❸ ;)
[Android General] v7:
Morning Fellas,

A quick update!

If the AndroidOS is the top consumer in the in-built battery stats and the 'Mobile Radio Active' shows high numbers you can use the Xposed Module mentioned under

Known Issues

in Post #6 to address the issue.

Tapped from my ①+②=❸ ;)
[Android General] netinetinet:
..

If I use powernap, MobileRadioActiveFix.apk must be in Whitelist..I suppose..
[Android General] pillopoulos:
[MENTION=5867207]vaisakh7[/MENTION] Can I somehow,reduce the awake time of the wakelock "audiomix"?

Στάλθηκε από το 831C μου χρησιμοποιώντας Tapatalk
[Android General] savagebunny:
You have sound notifications on when you get a text/call? That's what Audiomix is
[Android General] pillopoulos:
Shouldn't I? How else could I be notified?
[Android General] v7:
Do you have touch sounds/keypad sounds active?
[Android General] pillopoulos:
No.

Στάλθηκε από το 831C μου χρησιμοποιώντας Tapatalk
[Android General] v7:
Did you play some music/video/did you get some notifications on the phone?(Calls/Alarms/Messages)?
[Android General] pillopoulos:
[MENTION=5867207]vaisakh7[/MENTION] Yes I get some viber notifications mostly

Στάλθηκε από το 831C μου χρησιμοποιώντας Tapatalk
[Android General] v7:
Might be related to that.Can you post an in-use dump later?

Tapped from my ①+②=❸ ;)
[Android General] GjorgiDxc:
I couldn't find anything about my question with search, so I'm just going to ask. Should I whitelist PNF in PowerNap?
[Android General] arvylas:
Could any of the suggested settings of the OP for amplify mess with the alarm clock? It never goes off. I'm not 100% positive that the problem is due to amplify but it couldn't be something else. I have a note 4 and it's happening in both 5.0.1 roms and 5.1 roms.

Sent from my SM-N910F using Echoe Forum Pro
[Android General] :
[MENTION=5867207]vaisakh7[/MENTION] Please download AfWall+ from F-Droid, the Google Play build is outdated.
[Android General] v7:
You needn't do that.

Tapped from my ①+②=❸ ;)
[Android General] v7:
Is AndroidSystem whitelisted in PowerNap?

Tapped from my ①+②=❸ ;)
[Android General] v7:
Please post the full BBS dump.Screenshots expains little.

Tapped from my ①+②=❸ ;)
[Android General] pillopoulos:
I've done a restart but the latest dump I have is this: https://www.dropbox.com/s/f85hpdwlzs87e2d/BetterBatteryStats-2015-09-03_010249105.txt?dl=0

Στάλθηκε από το 831C μου χρησιμοποιώντας Tapatalk
[Android General] arvylas:
I don't use power nap. Only greenify and amplify

Sent from my SM-N910F using Echoe Forum Pro
[Android General] v7:
You needn't worry about it.It is related to your notification sounds.It doesn't drain.You're getting pretty good results.

Tapped from my ①+②=❸ ;)
[Android General] v7:
Disable Amplify and see if you can reproduce the issue.

Tapped from my ①+②=❸ ;)
[Android General] gregferns:
[MENTION=5867207]vaisakh7[/MENTION]

Can you ple see the dump attached ??

I have limited nearly all wakelocks and alarms as per your op and even used some from [MENTION=5401012]Celestial Fury[/MENTION]'s guide

Drain is horrible.. Something wrong some where..

This is a dump from mid-night till morning 6.30 am

My data is off as i don't have a data pack..
[Android General] v7:
Do you have bad cell signal at your place?The radio is keeping your phone awake.Either bad signal/Kernel issue.

Tapped from my ①+②=❸ ;)
[Android General] gregferns:
I generally have strong signal at my place,,, but mostly on the yuphoria (lettuce) some roms give me bad signal on the 1st sim...

you think your radiofix apk may help ??
[Android General] v7:
Do you have AndroidOS as the top consumer in the inbuilt battery stats?Click on AndroidOS in the inbuilt stats and post me a screen.

Tapped from my ①+②=❸ ;)
[Android General] Enterprise-D:
Please delete

Envoyé de mon SM-G920F en utilisant Tapatalk
[Android General] Crazy-Silver:
Guys how can I solve this?

Wakelocks are (in order)

Com.oasisfeng.greenify.CLEAN_NOW

Com.google.android.intent.action.MCS_HEARTBEAT

Com.google.android.gsm/com.android.libraries.social.mediamonitor.MediaMonitorIntentService

Andorid.app.backup.intent.RUN

Android.net.wifi.DHCP_RENEW

DELAYED_KEYGUARD
[Android General] v7:
Limit

com.oasisfeng.greenify.CLEAN_NOW and

andorid.app.backup.intent.RUN as per OP.

Tapped from my ①+②=❸ ;)
[Android General] Crazy-Silver:
The others? Can't be amplified?
[Android General] :
[MENTION=5171556]vaishak[/MENTION]7

Here is my text dump file. Left the phone idle for 8 hours. Received one call. Didn't pick up [emoji14]

I started off with 35% battery and after 8 hours, am left with 24% battery. Using PowerNap with white listing Amplify, Greenify, Android System, Viper4Android, N7player, BBS. That's it. Not even any social media apps. The BBS records are "from boot" since I rebooted my phone before leaving it idle.

Thank you sensei

https://onedrive.live.com/redir?resid=BB14C58E8FA67B75!200&authkey=!AFfjh0gQPz9_ZsU&ithint=file,txt

2+2 = Omeleto Frumage
[Android General] v7:
Limit

android.content.syncmanager.SYNC_ALARM to 7200 seconds and report back.

Tapped from my ①+②=❸ ;)
[Android General] v7:
No!Limiting others may break PUSH/WiFi.

Tapped from my ①+②=❸ ;)
[Android General] tomei:
Thanks @vaisakh7! I have good battery life now. :highfive:

Anymore improvements or alarms to limit?
[Android General] v7:
Perfect!Enjoy your battery life :)

Tapped from my ①+②=❸ ;)
[Android General] xnknown:
Won't limiting those Facebook alarms prevent it from receiving push notifications?
[Android General] mafsi:
Just curious... I followed the post with limitations in amplify and change values that i have. I noticed also that Alarms, Wakelocks are much short in terms of numbers than the ones that appear in : "Safe to be limited"

What about them? Should we let them not limited or shoud we put the standard value of 240?

Thanks in advanced
[Android General] mvlad:
You should add L Speed to this. I haven't yet tested the battery consumption, since it's all init.d scripts, but overall the performance boost is amazing.

Sent from my GT-I9105P using RR ROM
[Android General] v7:
It shouldn't break notification.If you encounter any issue,report here.

Tapped from my ①+②=❸ ;)
[Android General] v7:
The safe to limit ones doesn't drain much. You can refer this spreadsheet to limit them.

Tapped from my ①+②=❸ ;)
[Android General] v7:
No.I'm not gonna add any Kernel Tweaks/Scripts to the guide.This current setup looks perfect for me.I don't wanna mess things up.

Tapped from my ①+②=❸ ;)
[Android General] haseogu:
Hi vaisakh , so I want to test the power nap once again and find that the power nap makes bbs stats goes wrong even though the phone still in deep sleep. Do you have any idea so the bbs stats won't go wrong

Sent from my X9076
[Android General] v7:
Thats odd! Without Power Nap,BBS works fine?

Tapped from my ①+②=❸ ;)
[Android General] haseogu:
Yeah it works when I disabled powernap

Sent from my X9076
[Android General] v7:
Try this.Keeping Power Nap active,reinstall BBS and report back.Also whitelist BBS in PowerNap.

Tapped from my ①+②=❸ ;)
[Android General] haseogu:
Ok it works now

Thank you

Sent from my X9076
[Android General] :
[MENTION=5867207]vaisakh7[/MENTION] (Sensei)

Here is my latest BBS Dumpfile with the limiting of android.content.syncmanager.SYNC_ALARM to 7200 seconds.

Still lost 1% every hour. However, this time, android.content.syncmanager.SYNC_ALARM was not the cause. My JIT Call Recorder showed maximum Wakelocks. So I kinda limited that now. No loss of functionality (double checked). Will report back to you tomorrow with the new dump file. If there is anything that I missed, kindly tell Sensei.

Thank you :)
[Android General] haseogu:
After I restart my phone the stats goes blank any idea how to fix this ?

Sent from my X9076
[Android General] gregferns:
Dear [MENTION=5867207]vaisakh7[/MENTION]

Please see this dump from today's overnight....

Can you tell me whatever needs to be done ??

I had removed some tweads i had done in the kernel...

Next i will have to remove powernap and see if i can stop getting this type of drain...

thanks

greg
[Android General] v7:
AudioOffload (1013): 2 h 18 m 41 s

Seems to be a ROM issue.Can you try to clean flash/move to another ROM?
[Android General] v7:
Is auto backup/drive sync enabled in TiBu?TiBu was keeping the device awake.
[Android General] v7:
Disable Power Nap,Reinstall BBS and see if the stats appear after reboot.
[Android General] gregferns:
Yes, i have it taking backups at night... along with CALL LOGS and SMS BACKUPS.

I will change the scheduled backups to day time and then see if all is well at night...

But even then,,, TB takes max about 10 minutes and the other 2 apps take a few minutes only... i wonder why there is so much drain of nearly 10 percent if these backups run...

there must be something else also at play... will try today and see if i can narrow down the issue.

thanks man.
[Android General] m0han:
excuse the ot. can this launcher help in slowing down battery drain?

Cold Launcher is a simple yet revolutionary launcher which can freeze/defrost apps right on the desktop, it's also the first Android launcher to have this functionality. After freezing(disabling) apps, they are just like uninstalled but actually not, you can defrost them with a single touch! No more annoying background services or auto start! It can help save battery life by freezing apps you don't use so often, perfect for people who like to install lots of apps but don't want to slow down their Android devices because of background services or auto-starts.
[Android General] v7:
Not sure of that!Greenify handles the background apps well.I don't think there's a need for this.

Tapped from my ①+②=❸ ;)
[Android General] f0xy:
https://www.dropbox.com/s/ml5bpco9tl97155/BetterBatteryStats-2015-09-04_075517518.txt?dl=0

What's eating my battery? 9% last night :(
[Android General] Portgas D. Ace:
Limit all Whatsapp-related alarms according to the OP. you have 30 wake-ups per hour due to Whatsapp-related alarms.

com.whatsapp.messaging.MessageService.CLIENT_PINGER_ACTION

com.whatsapp.alarm.CLIENT_PING_TIMEOUT

EDIT: those alarms are not listed in the OP, as I noticed. Therefore limit both alarms to 43200 and report back.
[Android General] v7:
Lots of WhatsApp alarms.But that alone wouldn't cause issues.

How was the cell signal at home?

Tapped from my ①+②=❸ ;)
[Android General] arvylas:
I froze amplify with TiBu and alarm works as intended. I don't have custom settings only the ones mentioned in OP and not even all of them.

Sent from my SM-N910F using Echoe Forum Pro
[Android General] v7:
That's strange.Nothing in the Amplify section affects alarm.Can you share your screenshots of the Amplify alarms,wakelocks and services?

Tapped from my ①+②=❸ ;)
[Android General] suaverc118:
Good morning [MENTION=5867207]vaisakh7[/MENTION]! Went away from xp for a bit but now am back with latest bliss by Tobi and started over with XP. I'm running amplify, greenify, mobile radio fix, appops and power nap. I woke up to this mess as I put my phone to 2g and had an 11% drop. Please help sir. Thanks.
[Android General] suaverc118:
And the funny thing is BBS showed 100% deep sleep
[Android General] v7:
As I can see,signal is the issue.

Tapped from my ①+②=❸ ;)
[Android General] suaverc118:
No alarms or wakelocks I can tweak? Thanks.