yashsingh1/xdaforums huggingface dataset:
[Android General] Portgas D. Ace:
The only two things I found are those two wakelocks:

*alarm* (CyanogenMod System): 3 h 5 m 30 s Count:4 50.0%

*alarm* (com.android.vending.Google Play Store): 3 h 5 m 2 s Count:2 49.9%

The *alarm* wakelocks appear on every Android Lollipop custom ROM, they shouldn't drain much battery. Rest of the log file looks okay, nothing that can be seen here.

Did you enable WiFi scanning (or Network Notification) under Settings->WiFi->three-dot menu->Advanced? If it is enabled, disable it.

Do you have location on? If yes, is it set to High Accurancy? If not in use, I always recommend to set it to Device Only, as this will save quite some battery.

Is there any custom kernel available for your device? The S5 is quite popular, so you could try different kernels. You may look for one with the zzmove governor (information see here) included, which is an extremely good compromise between performance and battery saving with its ybat governor setting.
[Android General] f0xy:
I've already disabled network notification in WiFi

With location I use it on battery saving but turned off when idle.

I've just switched to zz move now with boeffla kernel with battery yank as profile

Let's give it a few more cycles with this new battery :)
[Android General] v7:
Looks good.No issues!
[Android General] v7:
Alarms: 5, Intent: ALARM_WAKEUP4260675

Add regex as mentioned in the OP.
[Android General] Lither:
I have installed Greenify v2.9 beta on my rooted phone, do I need to grant dump permission to prevent interruption by motion?
[Android General] v7:
I think it's a ROM/Kernel side issue.
[Android General] v7:
wlan_wow_wl (): 13 m 48 s

Seems like an issue with the ROM/Poor WiFi reception.

Can you post the full dump as a file?
[Android General] v7:
No issues in the stats.I think the ROM is the issue here.Anyway post me a dump after couple of charge cycles.
[Android General] v7:
How old is the cell?
[Android General] f0xy:
Nice one pal, it's the final Bliss pop build for galaxy s5

They also stopped the nightlies for cm12.1 :(
[Android General] aledex:
1 year and a half. The point is, the "old" performances I was speaking of were 2 months ago. I sincerely doubt that a battery could suddenly lose so much health, passing from 4 to 2 hours of screentime.
[Android General] v7:
You had the same ROM?Maybe a clean flash will help!
[Android General] v7:
I think it's normal.The apps having high priority notifications are allowed during doze.
[Android General] v7:
Limit it to 9999999 seconds.
[Android General] v7:
It's normal!No,need to worry about them :)
[Android General] v7:
How's the signal?
[Android General] hhhfdq:
its good..usually full signal
[Android General] v7:
Try a different ROM/Kernel combo :)

___

v7

XDA Assist
[Android General] aledex:
Yes it's the same rom, I've even tried wiping cache/dalvik. BBS doesn't show anything strange, nor it does Amplify or Power Nap.

Guess I'll have to try with a clean flash as soon as I will have some time :D
[Android General] Yash93:
Did u install Bbs as system app or mayb ders issue with permission about permissive or something...
[Android General] dasojie:
Hi dev

any idea what is com.google.android.gms.flp.expiration_alarm_x ?

got much number when turn on location try to regex but not work so far

com.google.android.gms.flp.expiration_alarm_[0-9]+ limited to 9999999

regards

HTC Desire 601 zara UL kitkat 4.4.2 stock rom kofilakernel
[Android General] atrix4nag:
audio is keeping phone awake, that is ROM /kernel issue?

I am on Benzo Rom and kernel on my N6. I didn't had this issue when I didn't install xposed. This issue started after installing xposed. Do you want me to try some other ROM?
[Android General] v7:
Yeah.Please try another ROM.

___

v7

XDA Assist
[Android General] bebybee:
Could you please [MENTION=5867207]v7[/MENTION] check my file ?? Thanks alot
[Android General] hhhfdq:
this rom is best with my fone..what's wrong..is this rom bad battery..can't fix?
[Android General] v7:
On 2G/3G/LTE?

___

v7

XDA Assist
[Android General] v7:
There seems minimal drain from the wakelocks and alarms.The signal is good too.So either it's a ROM/Kernel side issue or the battery is weak!

___

v7

XDA Assist
[Android General] v7:
Fellas,

We've hit 1 million views today!! :victory: :awesome:

___

v7

XDA Assist
[Android General] troymz1:
That is awesome. You've done a lot of good work here. Congrats!
[Android General] soza971:
Hi guys does anyone know/have those?
[Android General] netinetinet:
I use long time this switcher for 2G/3G/4G -SIMPLY best band switcher

http://xdaforums.com/showthread.php?t=739530
[Android General] neonkat:
don't pay attention to them,you can't limit all wakelocks.only care about those which are causing drain,listed by bbs,powernap or wakelock detector.
[Android General] atrix4nag:
I have updated to new ROM this is the log, problem here is not getting WhatsApp messages, I have to open the app, to get notifications.

Whats app is not greenified, its in whitelists of PowerNapp, and none of whatspp related things are restricted in Amplify..
[Android General] v7:
Try whitelisting Whatsapp in Doze.

No issues in the stats!

___

v7

XDA Assist
[Android General] atrix4nag:
What do you meen by whitelisting in Doze? you mean under greenify, i am not using that.
[Android General] v7:
Under Settings->Battery->Bettery Optimization

Disable optimization for Whatsapp

___

v7

XDA Assist
[Android General] Portgas D. Ace:
Did you limit this alarm?

Alarms: 2, Intent: com.whatsapp.messaging.MessageService.CLIENT_PINGER_ACTION

If yes, unlimit it, reboot and check if the issue still persists.
[Android General] atrix4nag:
No, this is not limited..
[Android General] Portgas D. Ace:
What about

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

Limiting this one caused delay or no notification at all on my device.
[Android General] atrix4nag:
No, this is also not limited...

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

This is already updated yesterday, when I saw delay in notifications..
[Android General] v7:
Then try reinstalling Whatsapp!

Is anything limited apart from the OP?

___

v7

XDA Assist
[Android General] Portgas D. Ace:
Did you whitelist Google Play Services and Google Services Framework in PowerNap and Doze? Both are required for push notifications to work properly.
[Android General] atrix4nag:
As far as I remember No, I will reverify again..

but definitely nothing related to WhatsApp.

---------- Post added at 05:16 AM ---------- Previous post was at 05:12 AM ----------

powerNap bothe are whitelisted. just now GSF white listed in Doze.

---------- Post added at 05:19 AM ---------- Previous post was at 05:16 AM ----------

com.facebook.orca.database.ACTION_ALARM - 10800

and some services from UCMobile and facebook

---------- Post added at 05:31 AM ---------- Previous post was at 05:19 AM ----------

Just now did a fresh install of whats app, lets see how it behaves.. I will update you..
[Android General] bebybee:
Im use 2g/3g
[Android General] IMTLD:
I am having high call standby usage even though I dont use data mobile at all, I have it on 2g

I had another picture for battery details and call standby was behind batter, almost 20 but deleted it accidentally

Note 5 6.0.1 MM

I dont use greenify since it make bootloop for me, but I have powernap and amplify
[Android General] v7:
Can you post an idle dump on WiFi?

___

v7

XDA Assist
[Android General] suaverc118:
Good morning @v7! It's been a while. I'm here because I flashed a totally new ROM I've never used before and had a bad drain with no wake locks showing from my battery stats. I was hoping you can help me out. Hope all is well. Thank you
[Android General] Portgas D. Ace:
Wifi On (): 6 h 16 m 22 s 100.0%

Wifi Running (): 2 m 16 s 0.6%

Seems your WiFi has been turned on the whole time but was only connected for more than 2 minutes.

Beside this:

Alarms: 15, Intent: ALARM_WAKEUP_ACTIVITY_DETECTION

Alarms: 6, Intent: ALARM_WAKEUP13677820

Alarms: 8, Intent: com.android.server.device_idle.STEP_IDLE_STATE

Alarms: 6, Intent: com.google.android.googlequicksearchbox/com.google.android.apps.gsa.sidekick.main.TrafficIntentService

Those can be limited according to the guide.
[Android General] atrix4nag:
I think reinstalling fixed the issue. I am getting messages now.

Thanks for all your help.
[Android General] Portgas D. Ace:
So you restored Whatsapp from Titanium Backup after flashing the new ROM?
[Android General] Lifdrasil:
Anyone know what could possibly cause a high Alarm kernel wakelock?

Takes a large chunk of deep sleep time and always uses the highest clock rate available.
[Android General] v7:
Did you mean *alarm*?

They don't drain.

___

v7

XDA Assist
[Android General] suaverc118:
Maybe I'm blind, but I only found the first alarm in the OP. I can't seem to find the other 3
[Android General] v7:
Limit the first alarm as per OP.Add regex for ALARM_WAKEUP as mentioned in the OP.

Leave the rest untouched.

___

v7

XDA Assist
[Android General] Portgas D. Ace:
ALARM_WAKEUP can be handled by using the regex function (which is mentioned in the Amplify post of the guide).

com.android.server.device_idle.STEP_IDLE_STATE I have mistaken it for another one, leave it unlimited.

com.google.android.googlequicksearchbox/com.google.android.apps.gsa.sidekick.main.TrafficIntentService can be limited to 3600 or 7200 (if 3600 does not cause issues).
[Android General] atrix4nag:
Yes., Is restoring is a problem? I restored all my apps from TiBU
[Android General] Portgas D. Ace:
Some apps have issues when restoring them from one ROM to another. Best way is to install the important apps and only restore their data via TB. Otherwise you can do a full restore (app+data) and afterwards wipe the app's cache via Settings->Apps->APPNAME->Storage. This might also fix the issues, but a clean app installation plus data restore is the best way in my opinion.
[Android General] atrix4nag:
Thanks for your suggestion, I will follow this from next time onwards.
[Android General] suaverc118:
I already have regex set. Thank y'all for the help
[Android General] nast203:
Maybe someone here can help me figure out what is going on. I normally lose about 0.5% an hour last night I ended up with about 2.4% drain an hour and lost 18% Vs my usual 4%. I attached my BBS dump but don't see anything crazy. I have amplified a good bit while keeping Google Now functionality since I use it for my commute appointments weather stocks etc. It doesn't seem to be the problem, any help would be greatly appreciated.
[Android General] v7:
wlan_wow_wl (): 14 m 38 s Cnt:(c/wc/ec)440/13/440 3.2%

How's the Wifi signal at home?

Did you recently changed the ROM?

Limit

1.Alarms: 5, Intent: com.google.android.gms/.checkin.EventLogService$Receiver to 93600 seconds.

2.com.google.android.location.reporting.ACTION_UPDATE_WORLD to 41400 seconds.

Was your bluetooth connected to some device?

___

v7

XDA Assist
[Android General] troymz1:
I'm getting a lot of blue tooth wake ups. Anyone limit this?
[Android General] nast203:
This is what is so interesting to me. Bluetooth appeared active, but there was nothing it could have connected to during the night and it never has before. My Wi-Fi is typically great and I haven't changed anything on the phone. I am basically running a modified pure MM rom for the Moto X Pure. So to sum it up Wi-Fi is giid, no ROM change and no BT devices to connect to. Very strange behavior and I will limit those 2 alarms thank you.
[Android General] v7:
See if you have Bluetooth Scanning turned on in Location Settings.

I recommend to clean flash the ROM once.

___

v7

XDA Assist
[Android General] nast203:
Will give it a try, thank you. Also I just checked I thought BT scanning was off but it was ticked on.
[Android General] mrdunlop:
Curious why you pulled naptime out of the guide?
[Android General] neonkat:
because we now have aggressive doze in greenify.
[Android General] deepu458:
Hi @v7, Thanks for this post as i daily follow this thread for better battery results. I have an issue with the Doze Mode, when the Doze is kicked in neither my Gmail or Email client stops syncing i guess as i never gets email notification. Unless Doze is off. I have whitelisted these 2 apps from Battery optimisation and set the priority to High for both these apps but no result. Kindly let me know if there is any thing i can do to get rid of this issue.

ROM: RR MM(Latest) Kernel: Boeffla CM13 Beta

Greenify 2.9 Beta 2(AD is OFF) Amplify
[Android General] v7:
Have you limited any Sync wakelocks/alarms?

___

v7

XDA Assist
[Android General] deepu458:
NO all Sync Related stuff is untouched. as i need emails to come in quickly
[Android General] Extreme Noob:
com.android.internal.policy.impl.PhoneWindowManager.DELAYED_KEYGUARD - What is causing this alarm?
[Android General] bebybee:
For 6-7 hour ?

Okay, im on my way
[Android General] EP2008:
I've been getting massive drain the past week (6% / h on standby) and I've noticed these apache entries in logcat. Anyone have any idea what these are? I've never noticed this many.
[Android General] Lifdrasil:
Nope. I meant "Alarm" without the quotation marks under Kernel Wakelocks.

The time it runs also coincides with the times my clock speed peaks and I'm not even using it.
[Android General] v7:
Make sure that Auto Sync is enabled for the apps.

It works normally while screen on?

___

v7

XDA Assist
[Android General] v7:
It's a SystemUI alarm.No need to worry about it.

___

v7

XDA Assist
[Android General] Cichy26:
Can somebody check my bbs l for check if everything is ok? Drain about 1%/1h... Oneplus two oos 2.2.1 BOEFFLA kernel.
[Android General] atrix4nag:
This is my todays dump. Now my WhatsApp notifications are working normally..

but still I have audio keeping the phone awake..

in GSM battery monitor, System(adspd) is the highest battery drainer.

CPU usage is around 1 min, but audio on for 5+ hours. this is not showing in BBS.

can I ignore this?
[Android General] IMTLD:
After 7 hours the battery was -2 but then quickly decreased the phone standby is eating my battery even though I don't use mobile data.

This is when I first waked the phone

and I attached the dumb when the battery was 90.
[Android General] deepu458:
Ya teh Sync for these apps are left on all the time and yes when the device is active i mean not in Doze i get Notifications promptly. The issue comes to me only when Doze is on. I have greenify to notify me when doze is on. and i can see notification from Greenify about Doze and then only the problem comes.
[Android General] RoyanArt:
Prevent Running

ReceiverStop

2 xposed module above, who has tried ? Did that module help in improving your battery life?

Thanks :)
[Android General] v7:
This is normal on OOS.I used to get the same on it.Now I've switched to CM and things are better :)

___

v7

XDA Assist
[Android General] v7:
No issues here in BBS.So no need to worry!

10106 (Wifi) (com.whatsapp.WhatsApp): 19.0 MBytes 99.5%

Whatsapp downloads caused some drain.No other issues :)

___

v7

XDA Assist
[Android General] v7:
I don't see any abnormal drain.Everything looks good!

___

v7

XDA Assist
[Android General] v7:
Can you disable Agressive Doze and see if the issue is fixed?

___

v7

XDA Assist
[Android General] deepu458:
AG is already disabled in Greenify, just the notification to show Doze is enabled.
[Android General] v7:
Can you trying to whitelist Android System in Battery Optimization?

___

v7

XDA Assist
[Android General] thanaraj:
Dear dev , is there any wakelocks for spotify because I'm using spotify everyday and my battery life significantly decreases every time I turn on my data connection
[Android General] IMTLD:
but why the battery decreased quickly in 30 min with barely some SoT, more important what is cell standby? and why is consuming a lot?-compared to SoT?
[Android General] v7:
Click on Cell Standby and send a screenshot.

___

v7

XDA Assist
[Android General] deepu458:
Thanks Buddy. I am trying it now and will let u know the status in a while. I really appreciate ur help in the forum.
[Android General] Cichy26:
You say CM13 have less battery drain then oos? What for example do you have sot? And what performence have cm13?
[Android General] IMTLD:
I changed kernel and will see what happen, Thanks for help, very appreciated :)
[Android General] deathbysushi:
Hey again v7. Could you take a look at this? I turned my bluetooth off and did a reboot, waited a few days, and now I am draining ~2-3% an hour on idle. Seems off. Could you take a look? Again, LG G2 which is about 2 years old. Thanks!

pastebin.com/F5TKnnzC
[Android General] jelive:
REGEX

How to use:

Is just this entered that will cover all

ALARM_WAKEUP[0-9]+

or

Need to enter individual BBS one that shows excessive to include entry from within { }

ALARM_WAKEUP [0-9] {1234567}

Thx
[Android General] neonkat:
yeah,+ will cover all alarms.you can check the screenshot tab there if facing issue on how to apply.
[Android General] jelive:
Thx. Don't see how to apply? Also is it a bad idea to do all?
[Android General] tech_girl:
Hi v7. Could you kindly take a look at my logs? I took a before and after blocking alarms and wakelocks. Im still draining 4% for an approximately 6 hrs. Here are the logs:

Before: https://www.dropbox.com/s/1d6pv8pb8zu7uz5/BetterBatteryStats-2016-03-10_070802554.txt?dl=0

After: https://www.dropbox.com/s/vae8t7jbiidxzwq/BetterBatteryStats-2016-03-11_093839462.txt?dl=0

One peculiar thing is, I was trying to take a screenshot of the BBS but accidentally hit the power off button. When I turned it back up, the battery showed 81% from 96% just a moment earlier. This has never happened before. Not sure if I limit something that I shouldnt. I didnt manage to turn on the limits for a couple of alarms and wakelocks as they were not be found.

Anyway, may I know what is causing the drain? Thank you.
[Android General] sachin.soman:
Rom: Pure Nexus

Kernel : Quanta, D2W : enabled, Governor: Interactive

[MENTION=5867207]v7[/MENTION] I have tried different ROM's and found Pure Nexus to be good. When i was on the stock kernel idle drain was about 1.3. Now after installing quanta and following your guide i am getting 2.3% :( drain is really surprising me. One more observation i have made is incase the phone is charged fully and left idle for > 5hrs idle drain is more, whereas i use the phone for sometime and keep the phone say idle for 1-2hrs drain seen is only 0.9 - 1.0 per Hr.

I have enabled D2W in quanta kernel, which may be the case of this huge drain still i am testing. I have rolled back to stock now and i will post another dump tomorrow without your guide settings enabled. I am just not able to figure out what the real issue is . Its frustrating...
[Android General] Lifdrasil:
Nevermind. Managed to localize the problem to SuperStamina-Xssm wakelock.
[Android General] iberico83:
Hello friends, I have a problem with my LG G3, I followed the manual to make the most of the battery of my phone, I managed to get to have 4 hours of use and I'm happy !! But now I have a problem is that when I connect my phone to the electric charge, overnight recharging process is stopped and stops charging.

Can somebody help me?
[Android General] v7:
I don't have stats to share,since I'm switching between test builds.Flashing like 2-3 times a day ?

___

v7

XDA Assist
[Android General] v7:
Did you enable stats using API in BBS?

Seems like an issue with the ROM.

___

v7

XDA Assist
[Android General] v7:
Limit com.google.android.gms/.checkin.EventLogService$Receiver to 93600 seconds.

How old is the cell?

___

v7

XDA Assist
[Android General] v7:
Get me a dump on stock kernel.

___

v7

XDA Assist
[Android General] v7:
You mean the phone doesn't charge?

I'm pretty sure it's not related to the guide.

___

v7

XDA Assist
[Android General] deathbysushi:
Yes. All stats are enabled using api. I'm using a cm13 nightly.
[Android General] tech_girl:
Thanks for looking at my logs.

The cell battery is about 1.5 years. BTW, is my mobile cell signal within normal range?
[Android General] kaankkaraman:
How we block/deny services in amplify?
[Android General] welder73:
Hi [MENTION=5867207]v7[/MENTION] ,

LG G4 here with stock MM,rooted+Greenify (Agressive doze off)+Amplify.

I think that everything is ok but you can look at the dump if you want :)
[Android General] TNSMANI:
Go to the Services tab in Amplify, open it and click on the service you want to block. You will get a button saying "Allow". Touch that and a pop-up will ask you to confirm blocking, click OK and you are done.

But be careful about which service you block.
[Android General] mrdunlop:
Question [MENTION=5867207]v7[/MENTION] can you give me a hint for what to whitelist in greenify so keep the doubletap to wake and gestures with doze
[Android General] rtorres01:
Hey guys,

Always I used the MobileFixRadio in my note 4 to solve the battery standby consumption. Testing a new ROM spent a few days without Xposed and not had any problems with standby.

Intended to install a module Xposed a day to check the improvement in consumption and install Greenify , I had high consumption of standby.

Does anyone know why or what hibernating application can cause increased standby consumption?

Thank you,
[Android General] muhammedali:
Hi v7 is rilj and riljo the same. Many thanks.
[Android General] OnceHeaven:
Actually this was answered on post #5395 & #5396. Ans is yes
[Android General] v7:
There's no need to whitelist anything.Kernel stuffs will work without issues.I'm using both features on my OP2!

___

v7

XDA Assist
[Android General] v7:
Post me an idle dump!

___

v7

XDA Assist
[Android General] mrrocketdog:
boy 'o boy ! its come to this !! i dont even get the full "read the FAQ in post #6 and post an idle dump" anymore ¿ couldnt help it. srry. :)

"err on the side of kindness"
[Android General] v7:
Disable Stats using API and get me a dump.

___

v7

XDA Assist
[Android General] v7:
No issues then.Post a screenshot from the native battery stats graph.There you can find the cell signal strength.

___

v7

XDA Assist
[Android General] v7:
Limit com.google.android.gms/.checkin.EventLogService$Receiver to 93600 seconds.Rest is all good!

___

v7

XDA Assist
[Android General] v7:
He's not a newbie here.So I guess he knows about the FAQ :)

___

v7

XDA Assist
[Android General] v7:
A big congrats to [MENTION=5901790]orville87[/MENTION] for his RC status.Well deserved bud ^_^

You've been an awesome supporter.More like my brother :)There's a lot more to come!Keep working hard!!

___

v7

XDA Assist
[Android General] mrrocketdog:
yahoooooo [MENTION=5901790]orville87[/MENTION]. applause applause. very well deserved. i see you helping on many threads , so am sure theres alot more i dont see. {emoji hands clapping}:good:

"err on the side of kindness"
[Android General] billybloxx:
seem to be getting more batt drain than id like. followed the steps, just need to know where i can improve. many thanks!
[Android General] v7:
Update BBS to 2.2.0B5.

Read FAQ in post #6 and post a dump!

___

v7

XDA Assist
[Android General] billybloxx:
Will do
[Android General] m0han:
2.2.0B6 available. wouldn't that do better?
[Android General] v7:
Thanks for the heads up,Sir :)

___

v7

XDA Assist
[Android General] Portgas D. Ace:
Thank you for the nice words, I appreciate them :)
[Android General] mannyalba:
Still unsure if this guide can help you? hope this clear those doubts...
[Android General] billybloxx:
Updated
[Android General] shloho:
Losing battery life quickly

Hey,

I've been using the suggestions without Doze. I've been having consistent android battery life drain way higher than screen time. I've searched the thread but have found no solutions. Anyway someone can look at my bbs screenshots?

Greatly appreciated...

Sean
[Android General] shloho:
Forgot to say that I had it sitting for about 25 hours before those stats. I lost 29% in that time.

Thanks!
[Android General] v7:
DynamicNotifications is causing the drain.Huge Wakeups from the apps and ssp_wakelock->(sensors) are awake.

radio-interface (): 28 m 39 s->How's the cell signal at your place?

Read FAQ in post#6 and get me a dump!

___

v7

XDA Assist