yashsingh1/xdaforums huggingface dataset:
[Android General] abhijeet715:
Damn. I had clean flashed the rom. Wasnt usong the cam either. Have clicked dont optimize for some apps as i need their notifications whilst in deep sleep. My brothers op2 on stock oos also has orange color in network i guess, we both are on same carrier but my moms phone is all fine with full green color (same carrier) but thats not an op2 anyhow. Sorry for being impatient, i was a lot tensed due to this drain. Thanks for letting me know ill check this out :)

Edit: will flashing the stock rom for once and rebooting help ? Also wanted to know whether limiting google app is given in the op ? Ill try to solve this..

Usually when im in college the signal is all fine with green color, it happens only at my house that its orange. But not the problem with my moms device... Will have to look for some solution.
[Android General] TNSMANI:
I have noticed that OnePlus phones are better at battery conservation out of the box. It is not only my personal experience but also from reading this and other similar threads on XDA. I am getting 7+ hours SOT without trying to choke anything (except UC browser).

So my advice would be to flash the stock ROM, configure it and run it for sometime and then check with BBS.
[Android General] abhijeet715:
My brother has stock oos, no mods nothing except xposed and gb. He loses like 10% overnight, that too with wifi and mobile data off. Thats due to network i suppose. I was on another unofficial cm13 before this, and i barely lost 5% overnight with wifi on, or mobile data on. This is definitely a problem of the rom
[Android General] Nishblueweapon:
Should I allow powernap to modify system settings?

Sometimes I am getting a bug after installing powernap, the phone doesn't wake & after sometime, soft reboots. I am on stock marshmallow. Done as per the op but didn't see any drastic change in the battery life.

---------- Post added at 09:10 PM ---------- Previous post was at 09:06 PM ----------

Yes, I too lost 10% overnight. My phone is always in airplane mode at night. Earlier I used to lose just 2/3%. I have installed powernap today so maybe it ll improve. I'll update you tomorrow on it.
[Android General] abhijeet715:
Sure. Pm me if you can. I guess PowerNap is creating some problems here and there, i get soft reboots, Today happened while a call came in, and also the phone doesn't wake at tines and has to be rebooted

Edit: after the reboot whilst the call, all my settings of the phone became to stock, all were gone. I had to do all the settings all over again, set the ringtone, etc
[Android General] Nishblueweapon:
Here's what I found in 12 hours. Descent SOT, battery life. I think it will still improve. No reboots with powernap. Just something will 'lte', sucks up the battery like anything. I used Jio sim in 4g, 20 to 14 in no SOT in 15 mins. & 14 to 6% in just 8 mins of voicecall. Overnight stats were again the same, I guess the alarm sucks up 10% of battery (not sure though). Pm me if u want powernap tweaks.
[Android General] Nishblueweapon:
You can use titanium backup & restore the data. Pm me if u want the files. ?
[Android General] abhijeet715:
It can still improve, rom has a few bugs here and there. In another rom i got 6 hours of sot. Anyways now i know that it's a problem of the rom.

I just noticed that when i was on 2g and using the internet, it got stuck up for a few seconds and tge whatsapp message showed only a clock, as if the network was on hold, but when i unlimited rilj wakelock, the message went immediate. Was it really due to the rilj wakelock or something else ?

Sorry for the OT posts above
[Android General] Goku80:
Hi guys. Want to start using Greenify and Purify together. Non rooted and was just wondering what are the best points for a newbie like me. Any help welcomed thank you.
[Android General] combo157:
Thank you so much!
[Android General] sharmakartik93:
How are my log?
[Android General] Portgas D. Ace:
From my point of view there is no need to use Purify at all. Greenify does offer the same functionality and even more.

I used purify once and it caused a lot of strange issues on device, so I dumped it. Even after this, some of the issues continued (apps force closed, some others randomly opened themselves), so I had to reflash my ROM again. Since this time I am quite suspicious when it comes to Purify.
[Android General] Bewildered Wolf:
I got the same problem.

Phone didn't wake after call.

So I refreshed the rom and whitlisted phone in powernap.

No problems till now.

How did you tried to fix?
[Android General] abhijeet715:
Disabled wakelock of rilj. I had previously limited it
[Android General] Bewildered Wolf:
What does this wakelock does.

Mine is still limited to 800 seconds.
[Android General] abhijeet715:
Something related to phone actions only i suppose
[Android General] Bewildered Wolf:
I guess ll stick to my settings.

If the problem will arise again, then ll disable rilj and report back.:good:
[Android General] sdembiske:
Power Nap xda thread is active again with a new version release.

NB:XDA Thread for PowerNap is closed down due to lack of activity from the developer.

Please note: Power Nap XDA thread is active again with new version release 8.1 that is in beta testing. Newest version is available on the XPOSED modules site

Thank you for your work here, it led me to Power Nap and the other apps originally.

Cheers, S.
[Android General] Bewildered Wolf:
Bro its been 15 days. 0.8.1 was released on 27/10.
[Android General] sdembiske:
Yes, I KNOW, however ...

Yes, I know ... I was informed by the developer via his Google Plus group email on October 22 and installed it right away. However, this site still indicates the XDA thread is not active - it is, so I wanted to let those who might be less informed that the Power Nap XDA thread is still active. I think you missed the point of the post, bro.

Cheers, S.
[Android General] Singh5:
Please have a look..
[Android General] saqiB.:
https:// userscloud.com/ c0r83abvfjqx

Can you please check battery drain like hell most of the apps are hibernated.
[Android General] Oswald Boelcke:
What did you do with your file? Did you modify it? Can't be that you don't have any kernel wakelocks?

@sdembiske, @Dr. Death

My experiences with PowerNap: http://xdaforums.com/showpost.php?p=69077899&postcount=6

http://xdaforums.com/member.php?u=6302635
[Android General] Singh5:
I rest amplify to default setting and then I posted dump file. I didn't modify any file..
[Android General] v7:
Getting error 404.Upload to another mirror.
[Android General] v7:
Alarms: 6, Intent: CONTEXT_MANAGER_ALARM_WAKEUP_329362

Add the regex as mentioned in the OP.

Alarms: 5, Intent: com.google.android.gms/.checkin.EventLogServiceReceiver

Limit to 93600 seconds.
[Android General] saqiB.:
http: // s000.tinyupload.com /?file_id=36472499685773457084
[Android General] v7:
I think the kernel is keeping the device awake.

Clean flash the ROM and report back.
[Android General] kekko91:
Hi,

want to ask some question, I'm pretty new on wakelocks, amplify and other stuff like this, I'm noticing that google play services keeps draining my battery, I've installed wakelocks detector and amplify but i'm not sure on how to fix it, the screen shot attacched can show the situation, I think I have to disable that "PackageMeasurementServices" but in amplify I cannot find it.

Thank u.
[Android General] jlb1959.01:
I am only on my second day and still have many alarms,etc to be set however my question is am I missing something as I have cm wakelock and alarm both very high..sorry in advance for my ignorance but this is bothering me,I am running jasmine 9.1 ...
[Android General] Singh5:
Thanks for reply.... some wakelock WifiSuspend SCREEN_FROZEN and GCM_HB_ALARM

Can I limit these wakelock.it's safe
[Android General] saqiB.:
i have already clean flash this rom 2 days ago and if my wifi is off battery drain is 5-10%
[Android General] DJ aliasz3d:
[MENTION=7408621]noc.jfcbs[/MENTION] ,g'day noc I have successfully set *alarm* wakelock to 600 with no ill effects after 4 days [emoji106]

Sent from my Resurrected and Remixed GT-I9305
[Android General] Rakuu:
No ill effects, but did it help anything? Just cause the number is high doesn't mean it's bad.
[Android General] DJ aliasz3d:
Actually yes it did, battery life has improved, it was my highest wakelock. We have been testing what limit is safe.

Sent from my Resurrected and Remixed GT-I9305
[Android General] Sepuii:
Are the spaces in the wakelocks typos or... am I supposed to type them like that?
[Android General] githyanki:
You don't type any of them(Unless you mean search). If they are not showing in your wakelock section, ignore them.

And, yes any spaces are typos.
[Android General] mele80:
Fsstdormancy needs to be disable. But what's with the play service's geofence pending intent wakelock? Any other things to block?

Thanks in advance
[Android General] Oswald Boelcke:
Thanks for the information and the advice. Interesting to read! Normally, I'd follow your approach.

However, for two days now I'm GApps free!!! System is running thousand times smoother, fixing the location is very fast even without GPS, blanketstore does what it's supposed to do, and in a few days I'm going to observe my battery drainage more closely; just this morning resetted my Amplify statistics.

But talking Amplify: Obviously due to the lack of the original Google Play Store, it doesn't recognise my donation anymore i.e. no pro-features available and by this now useless to me. Most likely, I'm going to uninstall Amplify having also in mind that some very experienced guys like @Davey126 doubt its necessity anyway.

Alternatively, I hope that @Paget96 is eventually forking Amplify to his great application L SPEED.
[Android General] DB126:
FYI - I am Amplify free on most of my devices and have profited from reduced maintenance (monitoring/tweaking/optimising blocks) and undesirable side effects that often manifest in subtle ways. In some cases I accepted a modest increase in drain rates while still enjoying overall performance that ranks in the top 20% based on values reported here and similar threads. All day battery life is a must; no compromises there. Arguably drain rates improved a bit with the removal of Amplify but hard to isolate (hint: reset stats on occasion and observe results with no other changes). I do have Amplify running on a couple of older devices that rely on stock ROMs and tight Google Play Services integration. I find a minimal configuration works best with carefully selected conservative blocks (items/durations) along with a weekly stat reset.

Amplify continues to be a fine (albeit stagnant) tool with no apparent equal. It is the right solution for many who experience excessive battery drain and/or wake time due to unconstrained alarms/wakelocks. I prefer to go after these pups at the source which mitigates the need for Amplify.
[Android General] DJ aliasz3d:
Congratulations :highfive: it takes a brave man to go Gapps free, I'd like to try it out myself one day :D

I've gone the opposite, I'm using tbo Gapps with black wallpaper,launcher and blakzent dark theme to see if it actually does affect battery like they say, but I'm skeptical.

Sent from my Resurrected and Remixed GT-I9305
[Android General] j4v1lol:
Does really PowerNap make a difference in ROMs with marshmallow (Doze)?
[Android General] hipziro:
Dear all, please help to take a look at my dumb file? Many thanks:silly:
[Android General] DJ aliasz3d:
Deleted

---------- Post added at 08:57 AM ---------- Previous post was at 08:40 AM ----------

I've found for me it has but my device lacks a significant motion sensor that's needed for doze to function correctly.

Edit: I find greenify is where battery really gets saved.

Sent from my Resurrected and Remixed GT-I9305
[Android General] Oswald Boelcke:
No difference to me i.e. uninstalled PowerNap a few weeks ago; however, please check my device and configuration in the hidden part of my signature.
[Android General] marcdw:
One of my ROMs has been GApps free for some time using microG. Since I multi boot I also had the same ROM setup almost identically but with gapps. Sort of a side by side comparison. Then employed Amplify and whatnot to manage drain while comparing performance. Fun stuff.

Regarding Play Store, I use the real one on the gappless setup. Works fine and paid apps are installable. Had to have my Nova Prime. ?

Using flashable from TBO (black or clear on Mahdi w/microG) or Theme Ready (via AROMA package on LP+).

LG G3 D851, PAC-MAN LP ROM, Tapatalk 4.9.5
[Android General] --jenana--:
The way I see it, yes Doze or PowerNap can make a difference. It doesn't change the behavior of your phone in idle time, but it helps you to go earlier in idle mode, after you leave your phone. On the other hand, it doesn't help anything if you pick your phone up all the time, or like to get realtime notifications 24/7 about everything.
[Android General] j4v1lol:
I understand. I only get realtime notifications on Whatsapp/Telegram so...
[Android General] Imba90:
Here's my dump file, the battery life is good I guess but I'm having some issues with whatsapp calls, not getting them, and messages sometimes late.

https://www.scribd.com/document/331425300/BetterBatteryStats-2016-11-17-172634139
[Android General] shahfaishal:
supporting you work, but how? I want to learn app/rom development and want to make battery life more durable. Can u assist me? maybe i can be helpful.
[Android General] Oswald Boelcke:
Just click on the yellow "Donate to Me" button below @v7's name.
[Android General] shahfaishal:
sorry i dnt have money bro. im unemployed. i just wanted to learn things!
[Android General] DB126:
Some of the best learning opportunities come from simply browsing the XDA forums and benefiting from an amazing pool of contributors who unselfishly share their time and expertise. Enjoy!
[Android General] shahfaishal:
if u know how to make great android app, can u assist me?
[Android General] DJ aliasz3d:
I've just uninstalled it as well just to see if it changes anything.
[Android General] DB126:
Off topic (besides not what I do these days). There are many forums/threads in XDA for those interested in learning how to build android apps.
[Android General] ProudRed:
http://cloud.tapatalk.com/s/582e7732bd655/logcat-2016-11-18_085447031.txt

http://cloud.tapatalk.com/s/582e77421dcf9/BetterBatteryStats-2016-11-18_085446981.txt

New phone.. please have a look if things are normal or can be tweaked further.
[Android General] puturaya20:
thanks for share :D
[Android General] TNSMANI:
99% of your wakelocks have the same time duration, I don't know why.

You also seem to have WiFi issues. Try assigning a static IP for your phone and see if it improves things.

Xiaomi health app fired 66 alarms. Look for alternatives.

Use Amplify regex function to limit the Context Manager alarms. Use Amplify to limit alarms like checkin, action check queue, action update world etc.

---------- Post added at 02:39 PM ---------- Previous post was at 02:32 PM ----------

For us to help you, we need an idle dump from BBS. Charge your phone to 100%, unplug and leave your phone idle for 6+ hours. Unlock your screen and immediately save the dump. The screen on time should be less than a minute.

---------- Post added at 02:46 PM ---------- Previous post was at 02:39 PM ----------

Screen on time should be less than one minute. Apart from that you have to update BBS to RC3 and post a dump. As per the current dump, you have 0.3% per hour drain which is good.
[Android General] ProudRed:
Any unnecessary wakelock or alarm ?
[Android General] xringo:
Anyone know any good settings for naptime? I'm on nougat, running franco kernel. Any values I should change? Also in battery optimization settings. Should naptime be optimized or not optimized?
[Android General] ProudRed:
One more issue I am having is that in my new phone I am using location service, but it cant locate my position. From the OP I have enabled the alarms, wakelocks and services with 'Location' tag.
[Android General] God Terrible:
Thanks pls recommended me.
[Android General] ProudRed:
Have updated my BBS now to the latest version. Please have a look, I dropped 4℅ on a 3600 mah battery over night.

I have enabled all the location related services, alarms and wakelocks.

http://cloud.tapatalk.com/s/5832a053d4f6c/logcat-2016-11-21_102802562.txt

http://cloud.tapatalk.com/s/5832a05c6c0ba/BetterBatteryStats-2016-11-21_102802285.txt
[Android General] TNSMANI:
As I said earlier, Tasker and tvleanback are the culprits. Can you minimise the use of Tasker?

In addition, your WiFi was on and connected only when you unlocked the phone. So some mobile data usage is there which will drain more battery than WiFi.

The screen on time was also more than a minute whereas ideally it should be less than one minute for our purposes.
[Android General] tycoon78[stoner]:
S7 Edge stat running custom rom.

Please have a look at my stat and recommend.

Kernel wake lock is high.?
[Android General] DB126:
This is true on most (nearly all) devices but there are exceptions. I service an aging Droid Mini (rooted/unlocked bootloader) that scores a 30-40% reduction in idle radio drain on 3G vs WiFi N. Engaging LTE reverses situation. Likely due to poor WiFi power management on stock rom. Still, it happens and worth a quick check depending on device type and local situation. In above example WiFi and 3G signals are strong; LTE moderately weak.
[Android General] :
WiFi does drain less but only when the connection is actually used. If a phone is completely idle then keeping WiFi on will drain more than simply staying on mobile data only (because a 2G/3G data connection uses the same radio as your regular cellular signal which is always on anyway).

I have done some tests on my phone(s) and keeping WiFi on all the time always drained more than when it was switched off during sleep. I do not receive many notifications though so your situation may vary, especially if the phone is woken up and has to download data very often.
[Android General] ProudRed:
I use tasker to automate everything, cannot reduce use of tasker, but if there are alternatives that ensures I can have less battery usage, I'll switch to that.

Regarding Wifi, how can that be avoided ? I normally automate Wifi on/off when screen goes on/off.
[Android General] Bewildered Wolf:
I want to know more about tasker and how it can be used?
[Android General] ProudRed:
Its impossible to explain over here everything.. You can have a look at the Tasker forum here to get some Idea or check out other database.. when I started off even I knew nothing of it.
[Android General] silverkin:
Can someone tell me what's "cast.service.CastDeviceScannerIntentService" and ".chimera.GmsIntentOperationService" is?
[Android General] TNSMANI:
Mine is also automated but I don't use Tasker for that. I don't use Tasker at all. What happens when you completely shut off WiFi is, your mobile data gets enabled and that is used by the various processes. What I do is, disable data completely and disable WiFi some time after screen off and periodically switch WiFi on and off while screen is off.

I use an app called LeanDroid available in Play Store and it is very convenient.
[Android General] ProudRed:
But mobile data stays disbled in my phone. Does leandroid automate everything ?
[Android General] TNSMANI:
I don't think that mobile data is disabled in your phone. This whole conversation started since some data was used as reported in one of your BBS dumps.

Anyway, LeanDroid controls WiFi, data, GPS, BlueTooth, 2G, 3G, 4G switching etc. Check out its XDA thread: http://xdaforums.com/showthread.php?t=2743316
[Android General] fridrik:
New cell phones and new wakelocks have appeared. ?

Can be tweaked? ?

http://cloud.tapatalk.com/s/583780f17d2f4/BetterBatteryStats-2016-11-23_081245158.txt

Enviado do meu Mi 5 Pro
[Android General] TNSMANI:
Netscheduler and RILJ wakelocks can be limited with Amplify. If you are not using it, start using it with the donate version.

Likewise for the following alarms:

Alarms: 65, Intent: android.appwidget.action.APPWIDGET_UPDATE

Alarms: 18, Intent: com.google.android.gms.gcm.HEARTBEAT_ALARM

Alarms: 6, Intent: com.google.android.intent.action.GCM_RECONNECT

Alarms: 5, Intent: com.google.android.gms/.checkin.EventLogServiceReceiver

Alarms: 5, Intent: CONTEXT_MANAGER_ALARM_WAKEUP_288921

You also seem to have some WiFi issues. Despite WiFi connected the whole time, some mobile data was used. Try assigning a static IP for your phone and see if it resolves the issue.
[Android General] gordonpn:
Isn't limiting Heartbeat alarm and GCM reconnect going to delay push notifications?
[Android General] fridrik:
Yes, I've tried and delayed push notifications ðŸ˜ž

Sorry for my english guys.

Enviado do meu Mi 5 Pro
[Android General] :
Guys, I am at my wits end. Can you tell me the reason for so many wake ups during sleep? I am not using gapps at all. Not even microG. I use forcedoze+greenify+powernap. And I am sure that the battery is not calibrated properly because no matter the number of wake ups, it never reduces. Sometimes the battery never reduces even if I use the phone for an hour and then when I restart the phone, the battery drops 10-15percent just like that. So don't mind the battery.
[Android General] TNSMANI:
Please post an idle dump.
[Android General] :
I dunno what to say. My phone seems to magically fixed itself following a reboot. But this won't last. I will keep taking bbs idle dumps continuously and post here when I get that abnormal drain. I do have a doubt though. Why does those "launch" partial wakelocks occur in bbs stats. This only happens on MM. It does not happen with N. Thank you.
[Android General] TNSMANI:
I also have them (and also *alarm*). I have read people here advising that despite their high numbers, they don't drain and that they can be ignored. I have also read one member's post that he has limited them in Amplify to 600 seconds without any side effects. My *alarm* and *launch* wakelocks remain as they are, not limited.

If you are adventurous enough, you can try to limit one of them. If you have any issues, you can revert the change. Don't forget to report here.
[Android General] DB126:
While I have stepped away from Amplify (any form of direct wakelock limiting) I also experienced high *alarm*/*launch* occurrences on several devices and concluded, over time, that they were not a source of drain when idle or active. Just another data point to consider.
[Android General] silverkin:
Google Play Services are eating battery...

Messenger draining a lot (everytime I am using it I have to close it from recent apps), couldn't change the app for anything, because every app was giving me a delayed or no messages...
[Android General] bodomfan:
My battery is improved using all the apps in op, haven't set all Amplify tweaks yet but slowly getting around to it
[Android General] v7:
Screen On (): 1 h 11 m 20 s 5,7%

Read the FAQ in post #6 and get a dump.
[Android General] v7:
Good to know pal :) :highfive:
[Android General] v7:
Congrats [MENTION=5488402]Davey126[/MENTION] for the RC title :)

You deserve it bud ^_^

Keep up the good work.
[Android General] danecr7:
Hello @v7,

Could you kindly take a look at my BBS ?

I've followed your instructions on my note 4 and it worked well as you can see in screenshot below, but on my OnePlus 3 it is not working the same, please find the BBS log file in attachment thanks again for this tutorial.
[Android General] v7:
setDeviceIdleMode (Système Android): 1 h 16 m 15 s Count:3031 15,6%

This kept the device awake.Are you running OOS?
[Android General] danecr7:
This is my actual nightmare :( .

I'm actually on Freedom OS CE but the version 1.10.
[Android General] v7:
I guess it has something to do with OnePlus doze.

Disable doze mode in Developer Options and send me an overnight dump.
[Android General] danecr7:
That setting was already disabled and I did not even know there was a toggle for doze mode.

Maybe I should activate and send you the overnight dump ?
[Android General] danecr7:
Here is a screenshot of amplify with some warlocks I did not touch.
[Android General] v7:
Yeah, please :)
[Android General] v7:
Did you limit anything apart from the OP?