yashsingh1/xdaforums huggingface dataset:
[Android General] rtorres01:
Speaks @v7

Follow my order . I got only doubt at the end of the tutorial related to AppOpsXpodes .

Not located at the application mentioned the permission options google play servies . I could set up [ Navigate to Settings- > Hacks- > Check FIX OP_WAKE_LOCK ]

Links two files, the right of the tutorial and using the appliance to see if any serious bug catches his eye .

w w w.dropbox.com/s/q6keogq24dkj1ka/BetterBatteryStats-2015-11-03_064110113.txt?dl=0

w w w.dropbox.com/s/wfut1xuolh2z5i8/Alterado.txt?dl=0

Once again thank you.

Hugs,
[Android General] v7:
The idle drain looke good!You had WiFi activated but was connected to the network only for some time.Is 'Keep WiFi during sleep' disabled?
[Android General] jason8612:
Here is my last BBS. I don't know what else I can modify.
[Android General] lunarken:
After I tweaked so much on amplify.. I can't see wifi connections. Anyone know which is for the wifi?
[Android General] v7:
Limit

NlpCollectorWakeLock to 84000 seconds.

The wear connected is contributing to the drain.The fitness app is also causing drain.
[Android General] v7:
List the one's you limited.
[Android General] grodave:
Hi every one , I had reinstall all my phone...

1-factory reset

2-full wipe user

3-wipe all cache

4-clean to install rom

I had again the

Anyone have another solution ?

Thanks in advance

Envoyé de mon SM-G901F en utilisant Tapatalk
[Android General] v7:
Tried different gapps?
[Android General] grodave:
No i just use the app's sms stock on my samsung but i tried another app and its the same .... ..

When i put at 0 the stat on amplify.

I closed the app and turn on ... the alarm is so awesome

Envoyé de mon SM-G901F en utilisant Tapatalk
[Android General] v7:
Can you try to limit the alarm to 240/480 seconds.Send an SMS to your phone after limiting Check the functionality and report back.
[Android General] kevinrubio1:
anyone else getting text messages late after applying all of these settings?
[Android General] rtorres01:
It was set to active only when connected.
[Android General] v7:
Anything limited apart from the OP?Is messaging app whitelisted?
[Android General] goutham kumar muvva:
please check it out and tell me if everything is fine about the battery

I have attached the dump .please check it .
[Android General] kevinrubio1:
No, and I don't see my messaging app in the app list, is that normal?
[Android General] v7:
Do you use third party messaging app?
[Android General] v7:
This is not a proper idle dump.

Screen On (): 9 m 13 s 2.3%

Alarms and Wakelocks are under control.Anyway post another dump later.
[Android General] kevinrubio1:
I use the stock massaging app
[Android General] v7:
Can you disable PowerNap and see if the messages come in instantly?
[Android General] rapiollymega:
Any suggestions for *alarm* wakelock? Sometimes I get it and sometimes I don't. Latley I've been getting it and it messes up my stats for keeping the phone awake longer than the stats were collected for.
[Android General] v7:
It doesn't cause any drain.It appears on all ROMs.
[Android General] proudh0n:
Many thanks for the guide!
[Android General] grodave:
Thanks for your answer.

Yeah its working with limit 800 seconds. It's weard ....

I block the service too...

I would like to know what is exactly with service and alarm

Envoyé de mon SM-G901F en utilisant Tapatalk
[Android General] v7:
It's related to SMS.I'm not sure why GooglePlayServices contains it.It's not related to Hangouts as you said you're using stock Messaging app,not Hangouts.
[Android General] grodave:
You right .... I think I must to delete all my message perhaps ... it's the last solution .... on internet there aren't any solution to solve it .... because it's suck a little my battery , when this alarm wake up.

Envoyé de mon SM-G901F en utilisant Tapatalk
[Android General] v7:
Deleting messages won't help Limit the alarm to a higher interval,try 7200 seconds.Send an SMS to your phone and see if the messages come through issues.
[Android General] grodave:
Don't worry I have try to limit at 99999 and it's working .... if I have another information in the future.. I will tell you .

Envoyé de mon SM-G901F en utilisant Tapatalk
[Android General] Android2003:
Is it normal that BBS make a huge wakelock in amplify? Its since the 2.1.0.0 update.

Its the third behind GCM....400 times a service called asksven.xdaedition.betterbatterystats.
[Android General] v7:
No need to worry.BBS needs some alarms/Wakelocks for proper monitoring.They are not supposed to cause drain ;)
[Android General] fideldesu:
Hi guys, I just want to ask about these wakelocks. Is it safe to limit them and if so, how many seconds to set ?

- GpsLocationProvider

- fingerprint_scanner_local

- AudioIn

- CdmaInboundSmsHandler

- StartingAlertService

thx in advance.
[Android General] goutham kumar muvva:
idle dump

I think I followed all the rules now :). please check the dump.

Sir ,the screen on time is after I kept the phone idle for 6 hours and then switched it on to send the dump .Sorry if I'm irritating you .
[Android General] v7:
Limit GpsLocationProvider to 40000 seconds.

Rest of them are not safe to be limited.
[Android General] Sportfreunde:
I'm not sure what com.google.android.gms/.icing.service.indexworkerservice is but it's showing a decent amoutn on services.

Also not sure what *alarm* and ActivityManager-Launch are but they're my two biggest wakelocks now. I'm using Viber and barely any messages on regular SMS.
[Android General] lovekeshramawat:
Are RILJ and RILJO same in wakelocks...

Sorry if it seems nooby but i really dont know..so asking
[Android General] v7:
Is Icing limited in Amplify?

*alarm* appears on all ROMs.No need to worry about it.

ActivityManager-Launch is an essential service for proper working of the device.
[Android General] v7:
Yeah,both are same.
[Android General] mohammedabbas:
Play store

am not able to open google play store and its showing that check your connection and try again., as u said "]Removing GooglePlayServices and GoogleServicesFramework from Power Nap whitelist may break functionality of Google Apps.So if you want them to work,whitelist both of them" i whitelisted the apps but stil am not able to open play store tried clearing data and cache and tried rebooting aslo...still am not able to open need a solution thank u
[Android General] shiruuu.samad:
Hey @v7

I have noticed an improvement of about 30m of SoT after following this guide.Which i consider solid.

But am having some sleeping issues.

I have attached a dump text of a night use where i lost about 19% battery

https://drive.google.com/file/d/0Bw3F7uh-qtstVE9JTTk2SW5wMkE/view?usp=docslist_api

Thanks hope you help

PS.S4 i9500

Omega LP Rom

Voltaqe kernel

Wifi.data and all OFF

Recents cleared i was slepping

Cheers
[Android General] v7:
Anything limited/blocked apart from OP?

Do you have some apps to manage networks?
[Android General] v7:
Seems like it's time to get a new battery.

Anyway post an idle dump after reading FAQ.
[Android General] shiruuu.samad:
Yeah batterys semi dead

But CM gives me 2% overnight without any tweaks.

I will post idle dump..now in hospital due to low blood sodium[emoji1]

Thanks mate and ur Xda name is intersting.
[Android General] v7:
Thanks.Get well soon brother :)
[Android General] shiruuu.samad:
Your a super fast cat ninja!Thanks
[Android General] Gabe2409:
Thanks

This has significantly improved my battery life and also, it really helped with the lag on my phone. now it runs smooth as butter. Running 5.1.1 on GNexus
[Android General] Sportfreunde:
Has anyone looked into LeanDroid and the XPosed module app settings to help with battery life? App settings is a bit more detailed in controlling permissions than AppOps plus some other options specific to apps though it's not that user friendly I guess without a guide and LeanDroid is like a more user-friendly tasker in relation to battery saving settings like turning off wifi except when certain networks are available.
[Android General] mohammedabbas:
No i haven't blocked anything else and i dont use any apps to manage networks
[Android General] v7:
It shouldn't be related to the guide anyway.Freeze all the apps in the guide and reboot.See if the issue occur again.
[Android General] mohammedabbas:
find the solution for it the freedom app was working dint stop it so i had the issues sorry for the trouble.
[Android General] cidlover:
Using this guide, I do get great battery life that does vary from a day and some hours to about 20 hours tops. But I too have got that SMS message issue but only none make it to my phone, I can send them fine but receiving one is a nope.

No, my APN settings are fine

I'm running a ported i9100 ROM on my S959G despite what my "sent from" says

PAC ROM 5.1.1 unofficial beta 3 with xposed

Google Messager as my texting app

And I applied the settings in this guide and this one.

http://xdaforums.com/showthread.php?t=2973588

Any help is welcomed.
[Android General] Eliminater:
Whitelist in power nap this or no?
[Android General] cidlover:
You mean checked or unchecked?
[Android General] v7:
Yes.
[Android General] v7:
Can you share screenshots from Amplify?
[Android General] cidlover:
Yes but I'll also include PowerNap too
[Android General] charlotte.at.buyai:
Okay thanks for your help, will try an idle drain when I'm on vacation with full signal and see what happens.
[Android General] shizuku:
AndroidOS keeping phone awake.... again?

I'm using the setup explained in this thread with good results, but once in a while AndroidOS is playing up badly. I just can't figure out what's the cause of this. For yesterday i saw that there was an update of Google+ installed, but can't say for sure that has anything to do with it.

I attached a dumpfile of BBS according rules mentioned in the FAQ. Can someone please take a look at it and maybe point me in the direction of a possible cause and solution?
[Android General] v7:
Do you use a third party messaging app?

If not, can you disable Amplify and see if the messages come through?
[Android General] v7:
Seems like it's a firmware bug.This resume_wakelock appears on some firmwares of Note 3.Can you try to change your Kernel?

If that doesn't help,perform a clean flash of your firmware.
[Android General] shizuku:
I can try that. will report back.

thnx.
[Android General] Primokorn:
Hey,

I've never seen something like that in a dump file (link):

A few suggestions:

Other ideas?
[Android General] v7:
Hi Sir,

Although BBS shows high numbers and awake time for *alarm* wakelock,it doesn't seems to drain.Blocking the wakelock causes random reboots.There's no point in limiting it as it doesn't cause drain and it reappears even if we block it.It appears on all LP ROMs and now in MarshMallow too I believe.

PS:The link is not accessible.410 gone!

Edit:Found the post:The 'doze' alarms are due to Ambient Display.The Screen was working for 6 minutes.It'll be good if we get a dump with <2min SOT.
[Android General] Primokorn:
New link added

The battery drain remains at 4.9%/h which is abnormal. He does have something to fix IMO (in-app settings to edit maybe).
[Android General] v7:
Edit:

Awake (Screen Off) (): 6 m 28 s 4.8% Screen On (): 6 m 7 s 4.5%

This looks perfect.Ask him to turn off Ambient Display and post a dump.Not sure if it's related to the ROM.As far as I can see,there's no app draining his battery.Issue is either ROM side or battery side.
[Android General] cidlover:
Yeah, I use Google's texting app.
[Android General] v7:
Add it in PowerNap whitelist.See if messages come through.
[Android General] verynuclear:
I found this app helpful to stop calendar provider and a perfect replacement for email app.

https://play.google.com/store/apps/details?id=com.cloudmagic.mail
[Android General] Blue305:
Will you provide support for Marshmallow or there wont be changes?
[Android General] v7:
I'm planning to split the guide to JB-LP and 6.0+.Anyway we'll have to wait a few months as Xposed and other apps needs to be ported to M.
[Android General] cidlover:
I sent myself a massage and I got it quick, does that mean it's working or is it quicker to send myself a message rather than to sense one to a friend of mine?
[Android General] Blue305:
Thanx a lot for your answer. We might get xposed in a couple of days :D
[Android General] v7:
Ask one of your friends to send a message to you.Need to confirm that the issue is solved.
[Android General] v7:
Still the apps need to be fully compatible.Anyway let's see :)
[Android General] injectx:
Thanks for this great guide. My stand-by time has greatly increased.

One thing though, on my oneplus 2, sometimes my PIN/Fingerprint on the lockscreen seems to disappear. So instead of showing the fingerprint icon in the bottom, it shows the lock(unlocked). I'm thinking maybe I blocked too much in PowerNap(I seem to be getting this issue zin en I've installed PowerNap.
[Android General] v7:
Post screenshots from PowerNap.
[Android General] lovekeshramawat:
I just found two services from list provided in the beginning and limited it.

Which services can still be limited from the screenshot ..

Although im very very much impressed with this thread and battery backup is exponentially increased..thanks to [MENTION=5867207]v7[/MENTION] for that..

Note3 n900

Arora rom s6+n5 port

Suemax kernel
[Android General] v7:
The services depends on your personal usage pattern.Disable the ones you find.

PS:Limiting services with 'location' tag will break Location services.If you use it,do not disable them.
[Android General] v7:
Guys,

I broke my PC last week and I'm looking forward to buy a new Laptop.If someone's willing to contribute,can donate to my paypal :) Find my donation email in my profile.Even a small amount is appreciated.Thanks for you support.

Guten Tag

v7
[Android General] injectx:
Oh and since you also own a Oneplus 2, are there any specific wakelocks/services/apps to block?

Btw, I wanted to donate but PayPal says currently only Indian accounts can make transactions.. Will try later.
[Android General] 3thman:
is it safe to limit all the wakelocks and alarms under SAFE TO LIMIT ? and how can I know every when should I allow them ?

Please help I really need to improve my battery life
[Android General] mrrocketdog:
post #4 looks like a good []scratch][ excellent starting point for what to limit and how long.

"all i can really do is stay out of my own way and let the will of heaven be done"
[Android General] v7:
Can you add 'ImageTool' to whitelist?

Actually PowerNap uses whitelist,so the ones in the list won't be blocked.

Thanks for trying to help.Can you try to send the donation as payment for goods and services?Personal payments not allowed in India. :)
[Android General] injectx:
Thanks, did that. Let's see what this does. Edit: I still get the "unlocked lock" on the lock screen instead of the fingerprint icon. Could you make a screenshot of your Power Nap whitelisted apps? Just curious since you own a OP2 too.

Will look into this now, really weird since I live in the Netherlands.

Edit: tried to just transfer money to your email adress using Paypal.com and not your direct "donate now" link and got a different error message saying this recepient cannot receive private transactions. Dude, you want my money or not? ;)
[Android General] v7:
[MENTION=3141010]injectx[/MENTION] Here you go ;)
[Android General] cidlover:
I had a friend send me a message and I got it like instantly, thanks that worked. :D
[Android General] v7:
Check your inbox.
[Android General] jason8612:
Weird. I'm at over 13%/hr loss now.
[Android General] v7:
Post me a dump with the wear disconnected and Bluetooth off.

Disable the UP app too.
[Android General] brisac:
SOLVED
[Android General] v7:
Did you install Amplify recently?If so don't worry,the alarms/wakelocks will pop up after a day or two.

Also the alarms/Wakelocks/services depends on individual usage.If you don't use certain app,the alarm/wakelock related to it will be missing in Amplify.Simple as that :)
[Android General] jason8612:
I'll do that later tonight.

Do you think k the battery can be not configed? When I plugged in the charger it went from 81% to 95%
[Android General] v7:
That's a calibration issue.Did you try to calibrate the battery?

Have you ever clean flashed the ROM?
[Android General] jason8612:
I think I have cleaned flashed the rom.

How do I calibrate the battery?
[Android General] v7:
100-0% and 0-100 in one go :)
[Android General] jason8612:
Ok. Do i use any special program to do so (like battery calibration) ?

I'll discharge all day today till it shuts off and then leave it off and charge till it's full.

It seems the battery isn't calibrated. It dropped to 88% and it's at 88% for the past 45min. I've been calling and browsing and it's still at that %
[Android General] v7:
I haven't tried any calibration apps,IMO manual calibration is better.
[Android General] brisac:
yes, i've installed it today. i disabled most of them in privacy guard and greenify Wake-up paths, but idk. it seems fine for now:D
[Android General] cobras3:
Hi here is my dump.

Could you Check this? tnx
[Android General] v7:
How old is your battery?

Stats looks good.Nothing to tweak :)
[Android General] lovekeshramawat:
Thanks [MENTION=5867207]v7[/MENTION] [MENTION=256754]vishal[/MENTION]pandey
[Android General] cobras3:
Thank you for your Quick answer. I Think 3 Years since Sept 2012. Its the Stock one of my galaxy s3.

So if you say that stats Looks good then I believe you.

I am Happy = 3.5 SOT

Thank you very much for your Time Sir!

Edit:

What can we do with activity manager service (See screenshot)
[Android General] Manuel Rodriguez Collado:
Thanks bro, my time in rom Montary

LG Optimus e970

Rom:CyanogenMod 12

Bootloader:MakoZ30f

Recovery: Philz Touch 6.23.3
[Android General] v7:
0.9%/hr is really good on a 3 year old cell.

ActivityManager-Launch is an important wakelock.It can't be limited.
[Android General] welder73:
Strange but I always have 0.6%/h,using Amplify+Power Nap or not...

But I guess it's ok,since my battery is over 3 years old.

Sent from my Razr XT910
[Android General] v7:
0.6%/hr drain on a 3 year old cell is excellent!
[Android General] welder73:
I know,I was just wondering,how come that Amplify and Power Nap doesn't makes any difference...

Sent from my Razr XT910
[Android General] v7:
You might have less apps installed that causes drain.Can explain if you post a dump with those apps installed and one with them running.
[Android General] v7:
Fellow mates,

Xposed is ported to M and the modules(Amplify,Greenify,PowerNap) is reported working on M.Anyway I'm gonna fetch my bud's Nexus 5 for testing.Will see what changes is to be made in the guide,so as to play nice with Doze :)

I'll split the guide to 4.x-5.x and 6.x+ ;) Bear with me a bit :D

v7
[Android General] nicolas vds:
Doze for lollipop

I don't know if it's the same doze as on marshmallow but this app is claiming to be doze for lollipop :

In playstore : doze for better battery life by yirgalab

Is it the same? Anyone tried it yet?
[Android General] suaverc118:
Hey long time no post @v7! Hope all is well. I've been playing with MM lately and all has been perfect until last night. Was wondering if you can help me with this dump. I don't think of lasted a full 6 hours but I woke up early and freaked out. Hope this helps and hope you can help me. Thanks good sir.
[Android General] v7:
The app you mentioned is different from the Google Doze.The app blocks data/WiFi connection while screen off and doesn't turn on until the screen is unlocked.This is same as Intelli3G/Smart Network module.

While Google doze allows the data/WiFi to run at certain intervals,that is it exists the doze mode for a brief time so that all pending syncs are done and notifications come through.
[Android General] v7:
Everything's going great bud :) Thanks ;)

video1 (): 6 h 19 m 10 s Cnt:(c/wc/ec)0/0/0 100.0% msm_cci_wakelock (): 6 h 19 m 10 s Cnt:(c/wc/ec)0/0/0 100.0%

This is related to the Flashlight in Quick Settings.Did you use the quick settings button to activate flashlight?

A reboot will fix it though.It's a bug from the ROM side :)
[Android General] suaverc118:
Awesome. Yes I used it for a bit last night and turned it off. So I just wiped cache and dalvik and all is good. I'll also let the dev know.
[Android General] v7:
[MENTION=5656100]tnsmani[/MENTION] [MENTION=4551715]suaverc118[/MENTION] and other MM users,I've made a doze profile here.

I would like you to test it out and report back with results.

Keep BBS,Amplify,Greenify,Xposed disabled in Battery Optimisation settings.Also disable PowerNap if you use it.
[Android General] milojoseph:
Hey guys it has been a while since I post on this thread. Just wanted to know if I am good
[Android General] v7:
Limit

1.GpsLocationProvider to 7200 seconds.

2.Icing to 7200 seconds.

LeanDroid is consuming some juice.Can you try Smart Network module for one night.It serves the same purpose as of LeanDroid.We'll see which app consumes more.
[Android General] jason8612:
Hmm I dont know why Im having such an issue. with this.

I did a battery config twice, but theres still some major drains. So what I did was uninstall amplify, greenify, etc. Reconfigured Synapse/AK Kernal with Stylo King settings, reinstalled Amplify and reset the settings.

Going to charge the phone up now and see what results I get.

I was having a issue with greenify where it would kill my spotify. Is there any fix to that?
[Android General] suaverc118:
Thanks brother. I'll test it out.
[Android General] TNSMANI:
Thank you for the effort.

For the moment I have uninstalled Doze Settings Editor as I have installed Amplify and am in the process of evaluating it. I also have Leandroid now. So it will take sometime for me to do the testing, sorry.

I note that in Doze there is no way (at least till now) to deactivate the motion sensor or block its signals. That is the main reason why I switched over to Leandroid and now Amplify.

Let me see.
[Android General] v7:
No problem :)

Setting sensing_to and motion_inactive_to to 0,the sensor is somewhat stopped.It'll run only for very few seconds.
[Android General] TNSMANI:
What I understood from the thread is that the phone will come out of Doze every time motion is sensed. And that practically means that it will be useful only in the night when I sleep.
[Android General] v7:
Once a motion is detected,motion_inactive_to comes to action.When motion_inactive_to is set to 0,the phone won't look for motion again.It'll immediately return to idle.

idle_after_inactive_to can be set to 0,and device won't wait for becoming idle after the motion_inactive_to is elapsed.The device will return to doze.
[Android General] suaverc118:
Good morning @v7. Here is my dump with your settings. With other settings in naptime I had about a 2% drop in battery life. Hope this helps. Let me k ow what else I can do or change
[Android General] shiruuu.samad:
Hey

@v7, Heres the idle dump,

The problem for me is that am loosing about 12% with your guide and about 5% disabling all the xposed modules when idle.But when screen is on and i see am getting better battery.

How to fix this?

What else can i tweaks?

Thanks and cheers!

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

[emoji1]
[Android General] v7:
Can you share screenshots from the battery stats?

Also what settings did you use in Naptime?Stock?
[Android General] v7:
The device is sleeping as it should.But you say you have better idle drain with the modules disabled.

Can you post me a dump with the modules disabled?

Also how old is the cell?
[Android General] gothy.gothy:
Hello,

I also tested your Doze settings.

Please review my BBS log and logcat because I remarked a great drain, maybe it's not cause by your Doze settings, but, anyway, I want to know the root cause.

Thank you
[Android General] suaverc118:
I forgot but I used what Franco suggested in his G+ which was change inactive to 60s I believe and max idle time out but don't remember. He said to double or triple that number.
[Android General] shiruuu.samad:
Yeah will post dump tommorow

Cell is about 1year and 6 months old.

Thanks