yashsingh1/xdaforums huggingface dataset:
[Android General] arunkafley:
This is the best I could achieve with my GT-I9300 with latest CM 13 nightly. With Amplify+Greenify(AD enabled)

View attachment BetterBatteryStats-2016-02-12_093747694(1).txt

Considering the phone is 3-4 years old I think this is the best we can get out of it.
[Android General] ProudRed:
On Mokee rom, LP Version. Getting high drains without even touching the phone. Was in deep sleep for over 5 hours battery became 88%.

If you get time, have a look at the stats and suggest me some limits.
[Android General] v7:
Awesome awesome!!

Enjoy your battery life :)

___

v7

XDA Assist
[Android General] v7:
Screen On (): 14 m 16 s 3.9%

Post an idle dump.

___

v7

XDA Assist
[Android General] ProudRed:
My Rom seems to have these in buillt wakelock blocker. Till now we have been limiting wakelocks, is it safe to block these wakelocks ?
[Android General] ProudRed:
Ok will provide you with one tomorrow. I was little late to save the dump file, what I saw most of the wakelocks were from *push* and cellbroadcasthandler.
[Android General] MohamedRaafat:
Is this ok ?

I am using the note 5 with amplify,greenify,and ops apps

and what can I do to increase my battery life as I think I followed the guide on almost everything except power nap as it gives me SODs
[Android General] Portgas D. Ace:
Blocking wakelocks isn't such a good idea, as you will loose functionality or even softbrick your device. Limiting them with Amplify is the best idea.

Screen On (): 22 m 24 s 4.4%

Read post #6 and post an idle dump. Don't use your device during the idle period.
[Android General] atrix4nag:
This is my dump from new ROM. All is well right.

I am seeing lot of wakelocks, I think those should be fine right?
[Android General] LucentBirch:
Has anyone seen a "LockboxAlarmReceiver" appear on their alarm list? It's been showing up on mine with a decently high count.
[Android General] aoleary:
Hi v7

Probably a stupid question, but does enabling both Shallow Hibernation and Aggressive Doze in Greenify cause any issues?

I find the screen of my phone very slow to light up to allow me to answer my phone, even though Phone is white-listed in Greenify.

Thx in advance..
[Android General] smatak:
Hi v7,

can I dissable Keep awake for android system or not? I did clean instal of new rom and i am not sure what I had before.
[Android General] v7:
They don't cause drain.No need to worry.All good :)

___

v7

XDA Assist
[Android General] v7:
Try limiting it to 93600 seconds.

___

v7

XDA Assist
[Android General] v7:
Those settings shouldn't cause issues.Do you use PowerNap?

___

v7

XDA Assist
[Android General] v7:
No shouldn't do that.Limiting it'll cause issues.

___

v7

XDA Assist
[Android General] smatak:
Thx :) Can I send you bbs dump tomorrow, for check? :P
[Android General] v7:
Sure :)

___

v7

XDA Assist
[Android General] aoleary:
No, don't use powernap. Disabled Amplify as well to see if that was causing any issues..
[Android General] v7:
Share your greenified apps.

___

v7

XDA Assist
[Android General] dukat0s:
[MENTION=5867207]v7[/MENTION] is this news affect the doze mode?so we can use it insant when we lock the device etc??
[Android General] v7:
I'm not sure about this.Doze uses the accelerometer to detect motion.

Some internal changes need to be done withdoze.I believe,disabling the sensor alone can't help.

___

v7

XDA Assist
[Android General] v7:
Limit

1.android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED to 10800 seconds.

2.com.cyanogenmod.lockclock.action.CANCEL_LOCATION_UPDATE to 3600 seconds.

3.Alarms: 13, Intent: com.cyanogenmod.lockclock/.weather.WeatherUpdateService to 3600 seconds.

How old is the cell?

___

v7

XDA Assist
[Android General] ProudRed:
Here is the dump which I promised about yesterday. 9% drain on LP in 6 hours.
[Android General] gulabsameer:
My yureka is exactly a year old.! Will limit and post the next dump tomorrow. Do you need any additional data?
[Android General] v7:
Post a dump after limiting it.

___

v7

XDA Assist
[Android General] MohamedRaafat:
Fixed :)
[Android General] v7:
Limit

1.RILJ0 to 800 seconds.

2.com.google.android.gms/.checkin.EventLogService$Receiver to 93600 seconds.

Rest is all good :)

___

v7

XDA Assist
[Android General] ProudRed:
Do check mine as well. Was idle for 6 hours.
[Android General] v7:
Wakelocks and Alarms and minimalI think the battery is weak.

___

v7

XDA Assist
[Android General] mrrocketdog:
finally figured out for my best battery life.

1) put my phone down

2) turn my phone off

thank you [MENTION=5867207]v7[/MENTION] for such awesome maintaing of this thread. cant be said enuff.:good:

"err on the side of kindness"
[Android General] ProudRed:
Battery drain has been very less on kitkat rom. And dont you think there were few alarms way too many ? Even on MM I never used to get this many wakelocks or alarms.. battery used to drain much more.
[Android General] v7:
Then it might be the ROM.I don't see any issues in the stats.

___

v7

XDA Assist
[Android General] smatak:
Hello v7 look on it please :)

https://dl.dropboxusercontent.com/u/42719441/BetterBatteryStats-2016-02-13_082929292.txt
[Android General] v7:
Looks good!No issues :)

___

v7

XDA Assist
[Android General] MohamedRaafat:
I already limited number 2 as there anything I should do ? and are there any services from the amazon underground app I should limit.Thanks for your reply and great tutorial
[Android General] v7:
Viber caused some alarms.Amazon is fine!

___

v7

XDA Assist
[Android General] smatak:
ok, thank you very much :)
[Android General] MohamedRaafat:
Thanks again :)
[Android General] smatak:
I found these 2 wakelocks in Amplify is it normal? Can I reduce them?
[Android General] stefano91av:
Hello and thank you for your immense work :)

Here are my data after I held with WiFi on and the screen turned off my i9100 with CM12.1 after about 10 hours.

Can you check that it's all right, please ? :)
[Android General] v7:
Yes.It's fine.

___

v7

XDA Assist
[Android General] LucentBirch:
I've read that limiting "StartingAlertService" breaks calendar notifications. However, it's kept 8 wakelocks open for 18 minutes. I haven't even used a calendar notification in forever. In fact, I barely ever put events in my calendar. Anything I can/should do with this one?

Also what is "*alarm*" and "*Launch*" wakelocks?
[Android General] one7dchevy:
Would you mind having a quick peak at my BBS dump? Phone keeps waking up multiple times overnight or during sleep and I cannot figure out why. This was a recent clean flash of PureNexus and EX Kernel. I do have xposed/amplify so I can modify as needed.

Charged to 100% last night and took off the charger before going to sleep.. Woke up, lost 6%.. Phone appeared to been kept awake for about 29 m 59 s

Wifi/bluetooth scanning is off, and location history is off. GPS Set to battery saving..

Any input would be greatly appreciated!
[Android General] v7:
Limit

1.*net_scheduler* to 10800 seconds.

"wlan_ctrl_wake" (): 25 m 58 s Cnt:(c/wc/ec)1559/0/1558 4,4%

"l2_hsic" (): 15 m 31 s Cnt:(c/wc/ec)1840/0/1840 2,6%

Seems to be router issue.Can you assign static IP and post a dump?

___

v7

XDA Assist
[Android General] v7:
Try to clear Calendar app data.

*alarm* wakelock appears on all LP and MM ROMs.They doesn't cause any drain.

I'm not sure about *launch* wakelocks,but from the few stats I saw,I,think they aren't causing any trouble.

___

v7

XDA Assist
[Android General] v7:
ALARM_WAKEUP321228->Add regex as mentioned in the OP.

Screen On (): 6 m 59 s 1.4%

Post a complete idle dump.

___

v7

XDA Assist
[Android General] one7dchevy:
Thank you! I added ALARM_WAKEUP321228 and set it to 9999999. I will try to get another idle dump with no screen on time sunday night.

Is my syntax correct? Or does it need the brackets? ALARM_WAKEUP321228 or ALARM_WAKEUP[321228]
[Android General] v7:
Edit it to ALARM_WAKEUP[0-9]+

___

v7

XDA Assist
[Android General] coolfire:
Hello mate! Been wanting to ask if this Custom Regex covers all under ALARM_WAKEUP(0-9){*}, please?
[Android General] v7:
The regex I mentioned in my last post covers all alarms.

___

v7

XDA Assist
[Android General] Razertje:
Hi @v7,

My new log :)
[Android General] anonymous nandi:
can anyone help me? my apps are not hibernating automatically (even after enabling auto hibernation ) in greenify.

In boost mode using xposed

Lollipop 5.1.1

jiayu s3 kernel

androium 6:crying:
[Android General] v7:
0.4%/hr drain is good.But the awake time is really high.(Awake (Screen Off) (): 35 m 8 s 5.8%)

Kernel Wakelocks are empty(Report in BBS thread).Need to see if the phone is held awake by Kernel Wakelocks.

___

v7

XDA Assist
[Android General] anonymous nandi:
please @v7

help me

can anyone help me? my apps are not hibernating automatically (even after enabling auto hibernation ) in greenify.

In boost mode using xposed

Lollipop 5.1.1

jiayu s3 kernel

androium 6:crying:
[Android General] Razertje:
BBS always shows "No stats have been collected yet" under Kernel Wakelock.
[Android General] v7:
Please report it in BBS thread.

___

v7

XDA Assist
[Android General] MohamedRaafat:
I accidently pressed accept at one of those prompts which asks to collect data and now location turns on by itself even though it's disabled so what should I do ?

Edit : I disabled it from google settings.I hope I doesn't turn back on again

Edit 2: It turns back on after locking the device
[Android General] v7:
Which apps are not hibernating?

___

v7

XDA Assist
[Android General] LuthfiKun:
Thank v7 for the great guide! :D

Already feel the difference, but I hope still can be improved.

Please look into my dump, thanks!
[Android General] v7:
Limit

1.ConnectivityService (Android System): 59 s Count:10 0.2% to 10800 seconds.

2."deleted_wake_locks" (): 12 m 53 s Cnt:(c/wc/ec)1459/0/1411 2.1% ->Reboot will fix this.

Post another dump later!

___

v7

XDA Assist
[Android General] dipro.tanvir:
Please take a look at my stats

https://drive.google.com/file/d/0B2WHuQwqeHO_RnZwWXVydnJ3eHM/view?usp=docslist_api
[Android General] :
Here's my log: http://www39.zippyshare.com/v/HRRuOXb6/file.html. I've noticed something odd. Just the other day my phone lost 5% of battery while idling for 6+ hours, with airplane mode turned on. Before I've taken this log, my phone lost 5% of battery with WiFi turned on, but with no airplane mode turned on.
[Android General] mannyalba:
[MENTION=5867207]v7[/MENTION] I am having some trouble with whatsapp while device is idling, AD enabled, boost mode, some exposed/experimental enabled too, no messages or calls, don't know if this is a common problem or what, it's whitelisted on powernap of course, what do you think? should I whitelist it on greenify/settings too?

Edit: Problem solved by whitelisting it on greenify/settings, what I don't know now it's how much will whatsapp take out of my battery...
[Android General] Razertje:
Installed a different rom, here's my new log. Any improvements I can make?
[Android General] bedofrosesss:
Hello,

Would you please check my log? Thank you.

https://mega.nz/#!OphXlbYS!EYP7NnIkZtFYnQYKlQsBcoDkiNLdueT8T4hHMuz3OS8

SM-910C E-ROBOT V.13.4 SUEMAXX 1.6
[Android General] Pauper:
Hi folks, I am struggling to improve my batterylife since I am constanly dealing with wakelocks. For diagnoses I let my phone sleep for about 6 hours and had betterbatterystats do its thing. I attached the log-file.

Could any of you batexperts be so kind to have a quick look at my stats and perhaps notify me on what improvements I could make?

Kind regards, Pauper
[Android General] Hatimu:
[MENTION=5867207]v7[/MENTION]: First of all thank you for sharing this great guide of yours :good:

I've tried to follow your instructions as much as possible by limiting/disabling all of those alarms/wakelocks/services that I could find at the time of this post. I'm sometimes using GPS in Sygic, so I wasn't too sure which of those services you've listed I'm actually allowed to block/deny, in order to still have a fully functional GPS system (help here would be appreciated).

Any who...by applying all of your suggestions I've noticed the difference regarding both the overall battery life and OS time right away. With the apps I normally use my battery now lasts me for almost 2 full days, and I'm reaching around 6-7h of OS time - which is almost double the fun I was getting before :) Before reading your guide's instructions my battery barely lasted me through the day, so I was forced into charging my phone each evening, and OS time was somewhere between 3,5-4h.

But since I'm still fairly new to the whole "android world" (especially when it comes to Amplify), I'd kindly ask you to take a look at my latest BBS dump/log, and let me know if there's something that's I've missed or if there are things that can still be improved - Thank you in advance :angel:

Btw: My battery is around 3 years old, and I've been struggling with the following issue for quite some time now: No matter if it's stock rom or any kind of custom CM12/13 ROM, I'm always losing the first 10% of my battery fairly quickly. Once the battery reaches around 89% though, it starts to behave normally. I've tried lots of various things so far, but nothing seems to help - even if I turn the device of for a few hours after charging it to 100%, and then inserting it back in, the first few % would still be gone. Applying your guidelines did help with that a bit btw, so I'm now usually greeted with 91-93% battery life when I wake up in the morning (and after charging the phone to 100% before going to bed), but I'd still like to hear your opinion: is there anything that you can see out of those - anything that I'd still need to adjust, or is this simply the cause due to the age of the battery?

Greenify - App List

:

Chrome

Dropbox

Facebook

Facebook Messenger

Gmail

Google+

Hangouts

Snapchat

Twitter

Sygic

Power Nap - App Whitelist

:

Amplify

Android System

BetterBatteryStats

CyanogenMod System

Google Account Manager

Google Play Services

Google Service Framework

Google+

Greenify

Hangouts

Facebook Messenger

Smart Launcher Pro

Snapchat

Twitter

Xposed Installer
[Android General] Magnifik81:
Guys, has anybody found the workaround for the infamous Kernel Os and Android system drain? My deep sleep is 100%, but the Kernel stuff, arghhhh.
[Android General] Razertje:
When deep sleep is 100% I think everything is fine and you don't need to bother. That your Android OS uses CPU is normal.
[Android General] Ikkuh84:
[MENTION=5867207]v7[/MENTION] is it possible to limit these services which contain the word 'widget'? I don't use widgets, so I don't know why they are fired, like the one in the screenshot about gmail. It's it also possible to limit wakelocks/alarms/services with the word 'wear' and 'fitness', because I don't use wear or the fitness app.
[Android General] wolfjj79:
Can you look at my log?

I was on the Optimized CM 12.1 (for Galaxy S4) and with just the basic limits for NLP, greenify, and Power Nap, the idle battery usage was down to 0.5%/h to 0.9%/h.

However, since I've moved to the AOSP 6.0 (MM) rom I can't seem to get the battery usage down as much. I've even gone through both the CelestialFury guide and this one. I've chosen to use this one since it seems to be more in depth. I've implemented all but the location services suggestions in this guide and the lowest I've been able to get the idle usage is down to 1.3%/h overnight.

Is there something that I'm missing?

https://drive.google.com/file/d/0B2LLcDEdVJwFb2FldzNYa1htNWs/view?usp=sharing

Another question: I've seen "XPosed BATTERY_STATS module enabled: true" in other logs but the one in my log shows "false". What is this?
[Android General] v7:
Looks good!No issues I could notice.

___

v7

XDA Assist
[Android General] v7:
Please upload to another filehost.MEGA is blocked by my ISP.

___

v7

XDA Assist
[Android General] v7:
0.0%/hr is just awesomeNothing to tweak :)

___

v7

XDA Assist
[Android General] v7:
Limit NlpWakeLock to 41400 seconds

How old is the cell?
[Android General] v7:
Read FAQ in post #6 and get me a dump

___

v7

XDA Assist
[Android General] v7:
Try blocking them and see if it breaks any Google Functionality.

___

v7

XDA Assist
[Android General] v7:
Do you use Watch/Wear?Disable it and get me a dump.

I think the ROM isn't optimized for battery life.

Xposed BATTERY_STATS module was made for KK ROMs when Google took away the permission for third party apps to access stats.It's no longer needed in recent Android Versions.

___

v7

XDA Assist
[Android General] wolfjj79:
No, I don't use that. The closest I come to watch/wear is Bluetooth headsets. I've only paired one calling headset since I flashed this rom.
[Android General] v7:
You had it connected during sleep?

___

v7

XDA Assist
[Android General] wolfjj79:
No, not Bluetooth, but I do leave the WiFi and location on but remove the scanning for both work and Bluetooth. I did the same thing while in optimized cm12.1 though. I'll try forming Bluetooth off during the night and see if that changes anything.
[Android General] aoleary:
So I tracked it down to having selected "Greenify system apps" and not having whitelisted anything in the "Aggressive Doze" section. I have enabled both "Shallow Hibernation" and "AG" in Greenify ( Silly moi :o ). So I have whitelisted the following in the "AG":

Amplify

AndroidSystem

AndroidSystem Webview

Google Play Services (default not optimized)

Google Services Framework

Greenify

Nova Launcher

Phone and Messaging Storage

Phone Call Management

Phone Services

Powernap

QKSMS (Text messaging app)

Ready (Dialer replacement)

Settings

Settings Storage

Smart Unlock

Telephone

Wi-Fi Matic

Xposed Installer

​

Of the list above, what can I remove.

I have been having issues with the screen staying black when receiving phone calls, so thats why I have added in all telephone related stuff..

I guess I can remove anything beginning with Phone?

Also, Settings, can that be removed? (Added it in in case greenifying it would affect wifi).

Also as you can see, I have activated Amplify and Powernap again :)

I am in the middle of testing this so will let you know how it goes over the next few days
[Android General] v7:
Doze is intelligent.I don't think you have to whitelist all those system apps.Add the apps you need notifications to come through while sleep(the apps which doesn't use priority GCM notifications) and the apps which stop functioning while sleeping.

What's your PowerNap whitelist?

___

v7

XDA Assist
[Android General] aoleary:
Hi v7.

I only reactivated Amplify and Powernap about 30 minutes ago so have not tested them yet (at work so not near any WiFi and havent received any calls yet)...

Powernap is pretty much exactly the same as I what put in my Greenify (I have edited the original post) whitelist.

You reply pretty fast, dude :)
[Android General] bedofrosesss:
Thanks. Dropbox will be ok?

https://www.dropbox.com/s/drmi2byg9vmmel5/BetterBatteryStats-2016-02-14_084818803.txt?dl=0
[Android General] Hatimu:
[MENTION=5867207]v7[/MENTION]: Meh...looks like I forgot about this one :silly: Thanks for reminding me. Set it now to 41400 seconds.

If I recall correctly, then it should have been somewhere around April in 2014 when the phone was bought. So what's your verdict here then? :confused: All good and running as suppose to, or still something I can do?
[Android General] rayzz1421:
Google Play Services

What could i do to these GPlay Services Alarms to get better standby here?
[Android General] v7:
0.1%/hr is really good.

Nothing to tweak :)

___

v7

XDA Assist
[Android General] v7:
No issues in the stats.I think the battery is weak.

___

v7

XDA Assist
[Android General] v7:
Can't access the pic.

___

v7

XDA Assist
[Android General] v7:
Update BBS to 2.2.0B5 and post a dump!

___

v7

XDA Assist
[Android General] v7:
Awesome ^_^

I love seeing these 0% drain :) :good:

___

v7

XDA Assist
[Android General] Hatimu:
[MENTION=5867207]v7[/MENTION]: Just what I thought then :( Thanks for looking into it - really appreciate it :victory: This guide managed to almost double the battery life and OS time I was previously getting, which is simply amazing, and should last me for a while longer.

I'll continue following this thread of yours and report back should I have any more questions regarding the individual alarms/wakelocks.

Thank you!
[Android General] cobras3:
Another Dump

Hi [MENTION=5867207]v7[/MENTION], here is my new dump with the new Configuration of your guide and the latest cm13 Nightly for my around 3,5 years old s3. (greenify 9.2 beta + AD enabled) The signal quality is not good here (around - 105 dBm) . Thanks to [MENTION=7228412]arunkafley[/MENTION] for his support. [MENTION=5944448]Hatimu[/MENTION] here you can see how it looks like after the guide, because we have the same device. :)

[MENTION=5867207]v7[/MENTION] I really appreciate your work and I hope you have also time for your exams. Awesome students like you don‘t need luck, so I‘m not gonna wish it to you. :)

Edit:

I think the battery is weak. After I was done with this text, it falls down to 74%. But it is not worth to buy a new battery. I will buy soon new device. What device can you recommend btw?
[Android General] v7:
0.4%/hr drain is really good :)

No need to replace the battery now!

Btw if you mind to PM me,I'll try to suggest you some good devices :)

___

v7

XDA Assist
[Android General] bedofrosesss:
Thank you. [emoji6]

SM-910C EROBOT 13.4 SUEMAX 1.6
[Android General] pkarekar492:
I have followed all thinv in op... Now my phon goes into verydeepsleep sometime.... Ehen i receive call i only see non operative black screen then only force reboot is option. M on note 5 and dr. Ketan l10 stock kernel with ls speed tyrant.
[Android General] v7:
Do you have PowerNap installed?What are your your whitelisted apps?

___

v7

XDA Assist
[Android General] pkarekar492:
Yes. Android system. Bbs. Google pmay. Greenify . Internet browser. Lspeed. Tw home. And <com.Sec.Phon. >

---------- Post added at 11:37 AM ---------- Previous post was at 11:36 AM ----------

I mean google play.
[Android General] v7:
Can you freeze PowerNap and see if the issue persists?

___

v7

XDA Assist
[Android General] pkarekar492:
Okay sir.
[Android General] LucentBirch:
There are a couple of things that appeared overnight: two wakelocks have kept my phone awake for about two minutes each and I can't tell if they're from fb messenger or Google messenger because all I get is "messenger" at the top. The two are bugle datamodel service wakelock and the other is bugle background worker wakelock.

Also, any idea what the twitter ScribeService is under services? It starts up in an excess of 4000+ times and I only use Twitter a little bit.
[Android General] pkarekar492:
Issue still der. One weired thing. When i receive a call it rang for 5 minut den device gets reboot automatically...
[Android General] neonkat:
i applied to be a tester at powernap but no response from there.if possible,can anyone give me the apk for powernap?

EDIT:got it.
[Android General] v7:
Share the dump.I'll take a look.

___

v7

XDA Assist
[Android General] v7:
Post the Kernel log after reboot.

___

v7

XDA Assist
[Android General] LucentBirch:
You want it to be an idle dump? I don't know if I'll be able to have one for that long. I'm charging the phone right now.
[Android General] wolfjj79:
Quoting myself now.

I turned off Bluetooth last night and my drain dropped down to 0.4%.

Can I limit the Bluetooth without causing issue later when actually using my headset?
[Android General] v7:
Atleast 4 hrs Idle dump is needed.

___

v7

XDA Assist
[Android General] v7:
You can disable Bluetooth while not in use.Limiting those wakelocks will break it's functionality.

___

v7

XDA Assist
[Android General] LucentBirch:
Okay, that will probably have to be tonight then. :D
[Android General] toster88:
[MENTION=5867207]v7[/MENTION], I think you've ommited my case here :) I did what was mentioned in your guide + the other one here on xda by Celestial Fury. Can it be better ? :cowboy:
[Android General] v7:
Sorry for missing out.Too much workload these days :(

Limit

com.android.internal.telephony.data-stall to 600 seconds.No other issues.

___

v7

XDA Assist