yashsingh1/xdaforums huggingface dataset:
[Android General] nikolai7:
Maybe Im being something but I just checked the list... Isnt some way to automate all of those settings for the apps? -.- The list of things I have to config after a flashing is becoming extremelly high.

Is there a method to save the options of several apps but being compatible between phones and ROMs?

A question, about this:

I dont see that option. Im using CM13 and I have these options: Network notification (toggle), Keep wifi on during sleep, wifi frequency band, install certificates, wifi direct, wps push button, wps pin entry.
[Android General] si1233:
Can you guys look into my BBS log file? I have battery drain issues help me
[Android General] Portgas D. Ace:
First, update BBS to the latest version (can be found in the XDA thread for BBS).

Wifi On (): 9 h 12 m 54 s 100.0%

Wifi Running (): 17 m 43 s 3.2% -> seems that WiFi wasn't connected all the time, which might lead to some battery drain

wlan_rx_wake (): 1 m 15 s Cnt:(c/wc/ec)119/0/119 0.2% -> check this thread for a possible solution

"alarm" stats are incomplete because of the outdated BBS version. Update BBS, implement the proposed changes and post another idle log file.
[Android General] h_maharaj:
Go to settings>location, tap the three dot menu and select scanning. Turn off wifi and bluetooth scanning.
[Android General] cristixperia:
What's happening if I will set 999999 seconds for Connectivity Service? Default was on 7200 now is on 10800.
[Android General] zputnyq:
It could be slowing down your connectivity service response.

CMIIW
[Android General] kheviin01:
Can someone take a look?

View attachment BetterBatteryStats-2017-03-09_084918777.txt
[Android General] bearthing:
thanks for this mate
[Android General] Portgas D. Ace:
UC Browser and FB Lite are two things that can be limited by greenifying them. Otherwise, nothing can be done currently as Xposed isn't available for Nougat yet.
[Android General] si1233:
I have updated my BBS. Can you give me a feedback to improve battery life?
[Android General] :
Good job, nothing in the OP is listed so you got all of them already.
[Android General] wogooo:
i hope xposed comes to 7 soon >(
[Android General] ewokmojo:
Direct Track wakelock.

Has anyone limited it?

It's eating my battery.

I'm using a Galaxy s4 on Stang5litre
[Android General] dingdong3000:
I know this guide is specifically for people with xposed but any advice on how to save battery on Nouget Roms?
[Android General] zputnyq:
You can still use greenify, it can be used without xposed
[Android General] kheviin01:
I dont know if this is the right thread for my question, but since this is a guide for battery life ill ask. Someone told me in our forum that charging faster also drains fast, and charging slowly will give better battery backup, he said its because of battery voltage per cell. Is is true?
[Android General] DB126:
Nope. Lithium-ion battery health relative to charge rates is largely dependent on the current (and sometimes voltage) management algorithm used by the device. Most 'fast charge' devices have a fairly sophisticated mechanism to tapper charge rate to insure battery safety/longevity. There is no correlation between charge/discharge rates.
[Android General] AGgup8:
Any idea on how to improve? It shows as always partial wakelocks being the same for some reason. Only using privacy guard and greenify.

Thanks in advance.
[Android General] Portgas D. Ace:
I think this isn't a proper idle log file. Read post #6 again and produce another idle log file.

By the way, update BBS to the latest version (can be found in the BBS thread here on XDA).
[Android General] chiragoyal:
I have following problems after doing all the above mentioned steps(mobile k4note)

1 finger working too much slow and sometimes doesn't work

2 i have to press key 2-3 times to switch on the display

3 have to swipe 2times to take the call

4 every time mobile hangs after hang up of call and soft reboot happens automatically and 2-3minutes.

5 mobile responds too much slow

2-3more issues

plz help me in solving these issue thanks.
[Android General] Bewildered Wolf:
Not happening with me.

You should clear the cache and then try bro.

Also try disabling one xposed module at a time so that you can see which is the maine cause of these problem.

//Press thanks if it helped.
[Android General] DB126:
Disable Amplify​. If that solves the problem re-enable Amplify and then enable a few limits at a time until you find the culprit(s).
[Android General] chiragoyal:
ok i will try .Thanks for ur time.
[Android General] dieccast39:
Hey guys I can power nap with force doze without problems right ??
[Android General] Bewildered Wolf:
Chances are there of conflicts.
[Android General] chiragoyal:
plz see the logs battery consumption is 2.5percent/hour
[Android General] githyanki:
Uninstall sleep cycle alarm clock.
[Android General] chiragoyal:
but i use the sleep cycle app
[Android General] Emmago:
Alright would do that.. Thanks
[Android General] Phelicks:
The problem was in Google play services and framework active mode. When them are enabled Google Fit works properly.
[Android General] JekyllInside:
[MENTION=5867207]vaisakh7[/MENTION] Can you take a brief look on my data?
[Android General] daniel2744:
I want to use MLB at Bat on my Z3 so i want to know which services from the OP do I need to keep on because the app uses location when i'm access live games?

edit: nvm i figured it out. i had mock locations on the developer settings and i read it wouldn't work without it but eveything seems good now
[Android General] danigraham:
I don't use system calendar or SReminder. Nothing scheduled. I can do another dump but don't know if there will be this mysterious scheduled alarm. We shall see.
[Android General] Xanis:
[MENTION=5867207]vaisakh7[/MENTION] Alright done.
[Android General] v7:
[MENTION=4588796]JekyllInside[/MENTION] Sorry for missing out :)

Limit com.google.android.gms/.checkin.EventLogService$Receiver to 84000 seconds.

and if you don't use Gmail sync,turn it off.Post another dump later.

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=6778843]Xanis[/MENTION] No further tweaking needed.You're good to go :)

Tapped from my furious dogo ;)
[Android General] m0han:
phone untouched through the night, yet no signal/data for almost 10 min. :confused:

losing 1.9% per hr on data. should(n't) i be concerned? please check..... thanks.

bbs ss: http://postimg.org/image/6pkmipvhh/

bbs stats: http://pastebin.com/K1fyUHF9
[Android General] v7:
[MENTION=4620757]m0han[/MENTION] AudioOffload is related to your Audio Player.Try a reboot and see if it comes up again.If it does,its a bug in your ROM.

For now limit com.android.internal.telephony.data-stall to 800 seconds.

Post a dump with mobile data on later today/tonight.

Tapped from my furious dogo ;)
[Android General] ShawnFreakzilla:
[MENTION=5867207]vaisakh7[/MENTION] Sorry disturbing you for awhile. I would like to ask is there any suggestions on amplifying the wakelock / alarms related to android wear?

Thanks in advance :D
[Android General] m0han:
AudioOffload (1013) does not come up, but AudioMix (1013) does. limited com.android.internal.telephony.data-stall to 800 secs (from 600 secs). immediately, my data got disconnected. waited long and after an hour, (dialled *#*#4636#*#*) turned off radio and turned it back on and data got connected. but, between then and now, my phone rebooted 2-3 times. not saying it's related to that 'limit increase'; all 5.1.1 roms for my device seem to have this 'freeze-reboot routine' bug. will post a dump when i manage to get one. :good:
[Android General] v7:
[MENTION=4620757]m0han[/MENTION] Then relimit com.android.internal.telephony.data-stall to 600 seconds.I think you should change your ROM.

Tapped from my furious dogo ;)
[Android General] m0han:
did so. and, i'd prefer to wait for a fix for the freeze/reboot issue, as i kinda like this rom the best, atm. :D
[Android General] v7:
[MENTION=4620757]m0han[/MENTION] The wakelocks appears only on mobile data.Something to do with the radio.

Tapped from my furious dogo ;)
[Android General] jackyaway:
Hi all. Is there something i can do to save more battery? Thank you

http://pastebin.com/g9YQthBF
[Android General] v7:
[MENTION=2210500]jackyaway[/MENTION] 0.3%/hr over 8 hours is good.You can't always get 0.0% drain.This is good.Enjoy your battery life.

Tapped from my furious dogo ;)
[Android General] closee91:
If I reset my amplify stats to zero, will it un-limit the stuff I have limited ?

Update: nevermind I did it, it doesn't :p :good:

Sent from my LG D851 running Blisspop ROM

If I helped you out, hit thanks!!! :D
[Android General] milojoseph:
OK I really need to tackle the culprit
[Android General] v7:
[MENTION=4852315]milojoseph[/MENTION] I don't find anything suspicious.Everything seems to be alright.

Tapped from my furious dogo ;)
[Android General] githyanki:
Then you will have to live with the drain.

Keep your phone on the charger while sleeping, see if you can disable it while awake.
[Android General] chiragoyal:
i have disabled amplify now it is working fine.Can u plz share the services which belongs to call so that when i cut the received call mobile does not hang and soft reboot.
[Android General] DB126:
I stopped using Amplify long ago due to various side effects that manifest in different ways sometimes taking days to sort. That said, it remains a useful tool for containing certain types of drains but should applied only as needed. Suggest you use your phone for a few days without Amplify to see if drain rates are acceptable. Post an idle log if you need further help.
[Android General] Ad.Shk2:
I've got a weird issue with BBS. I know this may not be the right thread, but considering the high number of users of BBS here, i thought I'd post it here to get done ideas.

When i unplug my phone from the charger, the battery usage stats do not reset. It says unplugged since the last time i installed the app.... Does this have something to do with the phones hardware (battery connector pins etc) or the software??

Nexus 6p, Nitrogen OS rooted, flash kernel.
[Android General] githyanki:
Try clearing app data. It should work just fine with that combo, but if it continues, ask in the bbs thread.
[Android General] Ad.Shk2:
Tried clearing the data several times :/
[Android General] MikeRogers:
Help with battery life

Here is a dump from BBS. I have followed all advice in this post and then some with no luck. One thing that seems odd is when I view the running services, greenify and amplify aren't there as if something is killing them but I do not have any other cleaning app installed to my knowledge...

Any help is appreciated, thanks.
[Android General] DB126:
Device only entered deep sleep for ~45 sec of the 6+ hour window most of it with screen off. There is a nasty ttcy0 kernel wakelock that is a contributing factor. A quick internet search was indecisive but it appears network related. Assuming Lollipop 5.1. Thoughts:

- disable Amplify (temporary measure); access impact

- manually Greenify targeted apps before sleeping device

- disable WiFi during sleep; access impact

- power down, pull SIM card, reboot, sleep device. Check deep sleep interval after 30-60 min. Should be 75-90% on average.

Above is intended to help identify culprit. Mitigation may be more challenging. Typically need to update/change kernels to stop bogus kernel wakelocks.
[Android General] kheviin01:
Battery drain

Help please.
[Android General] DB126:
With what? 0.6%/hour drain rate over 6.5+ hours (98.7% in deep sleep) is quite acceptable for this device.
[Android General] kheviin01:
Last time i posted, i also have 0.6%hr 6hrs+ drain rate using Nougat. Someone said i could use greenify to limit some apps other than that nothing else because xposed is not available for nougat. So i tried MM Rom, used greenify and amplify but still the same. I Just thought it would be better.
[Android General] DB126:
Might have received bum guidance. Android 7's implementation of doze does a decent job taming background activity which overlaps Greenify's primary functionality. Greenify does offer some additional control over individual app behavior but generally won't improve battery longevity significantly over stock Nougat. Amplify can help in specialized situations but offers marginal power-saving benefits unless you are wrestling with proven drainers that can not be reined in by other means. General thoughts:

- most nougat builds are fairly well optimized as evidenced by your prior 0.6% idle drain rate

- most marshmallow builds the only need to be augmented with Greenify (or equivalent) to emulate nougat's 'doze-on-the-go' functionality

I realize this is an "Extreme" thread where some folks will go to great lengths to achieve small gains. If you are looking for that probably best to wait for a response from another contributor.
[Android General] kheviin01:
Actually its a contributor who helped me. Thankyou for your help and great explanation. I will wait if there will be other responses. I will probably go back to nougat later.
[Android General] Portgas D. Ace:
10038 (Wifi) (com.miui.analytics.Analytics): 229.0 KBytes 46.1%

This is the only thing I would go after. Nothing more to do here. Maybe restrict network access for MIUI system, but I am not familiar with MIUI, so I would recommend to do some research about how to restrict network access for MIUI analytics.
[Android General] MikeRogers:
This is a BLU Vivo 5 updated to Marshmallow via this thread ( it was rooted so no OTA): https://xdaforums.com/vivo-5/development/root-stock-lollipop-to-marshmallow-t3512947

I have attached another BBS dump with Amplify de-activated. It's about the same, battery life actually a touch better. I actually did also Manually greenify apps before screen off. Google Play Services and Google App will never hibernate (either automatically or manually via greenify).

I can not find much information on the ttyC0 at all. One thread suggests it has something to do with older Sim cards and handling something with 2g/3g/4g. If I don't find any other options maybe I'll get a new SIM card from Cricket and see if that helps. (Other suggestions for this?)

I will try the other two things you suggest for at least an hour each and check back. Thanks for your help.
[Android General] DB126:
Nothing earthshaking in the latest log. Still thinking it's network/radio related. Gotta loose that nasty ttyC0 wakelock. Not really surprised about the modest improvements after disabling Amplify. Might consider disabling/uninstalling Naptime as stability issues have been reported. Google Play Services should never be hibernated. You can try disabling/uninstalling the Google App; don't think it is related to the core issue though.
[Android General] jlb1959.01:
I'm starting to agree with you as far as amplify and naptime on MM,the difference truely is minute,I know you can go to extremes and gain however the average person using average phone the results aren't justifying chacing down the wakes etc,don't get me wrong I do use greenify and have since it first came out,but in the 3 yes worth of chacing the wakes I gave up,and see no difference.its unfortunate that the Google wakes can't be control tho...
[Android General] alichiddy:
I read the OP but I'm here because my phone's battery was working great untill I changed something for sure but I don't know what. So I don't want to install new apps like Amplify but I want to try to find what I did that changed the way my battery is draining.

In the screenshots there's alarm_temp and etc which has something to do with my change, even if my mobile is on Airplane mode it's draining bad, I really want to know what they are to try to find out the change that I done to my mobile.

It's with different charge cycles as well.

Thanks in Advanced
[Android General] DB126:
Suggestions:

- temporarily disable location services (from Android settings)

- clear Google Play Services cache and data

- power off device (not reboot); wait 5-10 sec before restarting

- see if drain persists
[Android General] alichiddy:
Thanks for the suggestions

- The location is turned off (I've even disabled the location permission from the apps that ask for it long ago)

- Just deleted the Google Play Services data which had over 100 MB used

- Will power off and see....
[Android General] Lither:
I'm using CM13 ROM and in Privacy Guard, should I disable keep awake and start at boot for apps like Google Play Services Facebook and instant messaging apps or will that cause problems and delay notifications?

Also, should I hibernate Facebook, Instagram and instant messaging apps?

Thanks
[Android General] peterlee928:
do not disable or hibernate msg apps or google play services

ok to reduce frequrncy of/disable specific wakelocks and/or alarms related to play svcs
[Android General] DB126:
Leave Google Play Services alone. Everything else is personal preference. I tend to rely on doze + Greenify to rein in rogue drainers and ignore the rest. Occationally a power tool like SD Maid comes in handy to block startups and/or other broadcast receivers. Privacy Guard can manage some of that too.
[Android General] jlb1959.01:
Dave126 how to use Sdmaid to control start up??
[Android General] peterlee928:
apologies in advance if this is a noob q or answered elsewhere (just pt me in the rite direction if the latter).

how do block startups using sd maid? read thru the sdmaid github and a few other sites but not exactly clear on how to do this.

also to clarify some pts from my prior post:

1) if u do not use any google apps (gmail, google maps, etc etc), then u can kill many of the google play svcs broadcast receivers and save urself battery life.

2) be very careful when shutting down play svcs-related broadcast receivers. shutting down a seemingly innocuous receiver can lead to unforeseen issues (eg no more notifications from other apps, gps cant find ur location, etc). if ur new to this, then i recommend shutting down 1 receiver at a time and test that out for a few days. then do another... rinse wash repeat. there r lots of xda forums that address which receivers/alarms/svcs can be shut down in google play svcs.
[Android General] Lither:
I do use aggressize doze and doze on the go in Greenify, so it is best to not hibernate those apps and let doze do the job?
[Android General] DB126:
App control -> {select app} -> broadcast receiver

Note: SD Maid (like MyAndroidTools) is not a novice tool. Easy to disable an app and/or device by taking inappropriate actions. I will do exactly as you ask.

Obviously highly controversial but I find the effort to identify and limit Google Play Service receivers while avoiding side effects (some of which manifest in strange ways) far outweigh the benefits. There are clearly exceptions but most newer devices running Android 6/7 are not severely impacted by rogue GPS and/or app wakelocks provided doze and (as needed) Greenify are working and properly configured. I am aware of the various XDA threads that detail alarms/receivers/wakelocks that are safe to block/limit. My devices rock 0.2-0.5% per hour idle drain rates with all radios enabled and most apps running in their native configurations. That said, I do have a handful of apps that need some extra attention whether that be simply adding to Greenify's hibernate list or blocking auto-starts and other receivers. But they are the exception.

Enjoy your device more by managing it less. :)

---------- Post added at 03:05 AM ---------- Previous post was at 02:54 AM ----------

Yes - until (if/when) conditions suggest it not working effectively. I'm not a fan of aggressive doze but if it works for you don't change anything. Doze on the go (or similar functionality) is essential on Marshmallow to prevent extended wakeups due to device motion and other triggers. Android 7 has this built in.
[Android General] peterlee928:
yep generally agree

nougat on my pixel xl is solid wrt doze

yet i still have some wakelocks that go cray

and myandroidtools does a good job of shutting them down

but def not for the novice user :)

ive had plenty of screwups

hence the suggestion to go 1 at a time

IF one chooses to go down this rabbit hole

---------- Post added at 03:09 AM ---------- Previous post was at 03:07 AM ----------

and thx for the sd maid tip!

been using the app for yrs

had no idea abt this functionality

learned something new today :)
[Android General] DB126:
It's been enhanced in recent months but the core functionality has always been there. You may have to twiddle some switches in settings to see everything. Really boils down to presentation as there is considerable overlap between MyAndroidTools and SD Maid (pro) wrt receiver management.
[Android General] alichiddy:
Thanks a lot

You're a life & battery saver [emoji4]

Your suggestion worked (clearing Google Play Service's DATA)

Keep it up [emoji6]
[Android General] jlb1959.01:
thanks davey126,,I knew SD was a great app,I've never gone beyond cleaner..way too much for the average guy,lol..I will have to look up exactly how to use it as I do not want to mess up my phone.I always appreciate your help,your very informative..
[Android General] javitolopez69:
Hi.That is an application for the battery save non root?
[Android General] Brentboy:
Does anyone have the app sleep as android? Just wondering cause Amplify was causing my alarms to be delayed. Any fixes, I pref using sleep as android over the regular clock alarm
[Android General] :
Using it with Geenify, Amplify, Power Nap. I don't see any delays whatsoever.
[Android General] Brentboy:
Do you use the exact same setup as the OP?
[Android General] Bewildered Wolf:
Even i have the same setup as OP. Using greenify , Amplify , Appopsxposed. No delays this side bro.
[Android General] :
I use a different setup now, but this one worked with sleep too.
[Android General] Brentboy:
Hmm maybe it's just me then
[Android General] cbroeter:
Most of the tools are not as good as they where before N. This is related to N not having an Xposed support. What are you guys using to enhance battery life at Android N?
[Android General] peterlee928:
myandroidtools

greenify
[Android General] DB126:
Plus SD Maid (pro) which overlaps MyAndroidTools with a different UX. I use both depending on function.
[Android General] ProudRed:
http://cloud.tapatalk.com/s/58d3517bb9f79/BetterBatteryStats-2017-03-23_095926352.txt

New Rom.. have lost 4% in 6 hours while at sleep. Please help.
[Android General] DB126:
Looks like a stuck Google Play Services wakelock while performing updates. Clear cache and data from Google Play Services then reboot.
[Android General] Oswald Boelcke:
@Davey126: Just for your information. Months ago, you gratefully examined one of my BBS idle dumps and suggested to replace the email client I used (K9-Mail) by another one. At that time, I'd to refuse this recommendation as I don't install anything e.g. coming from some specific countries.

Meanwhile I changed my email client to R2Mail2 (coming from Vienna), actually only because R2Mail2 is one of the very, very few email application, which not only support PGP but also S/MIME signature and encryption. Surprisingly, I could additionally recognise that my battery duration has increased since this chance. I attached a connected idle dump.