yashsingh1/xdaforums huggingface dataset:
[Android General] Celestial Fury:
This shows FB being used on both Mobile and WiFi. This shows that they (mostly) haven't been limited according to Post #2 - if they have been they wouldn't show up.
[Android General] Wilmerin:
Yes, I think the battery is defective cause of the 3 years of use. I am waiting for shipping of a new one. Any advice before replacing the battery?

Also, I believe that those 9% or 13% of battery drain would be the same if I run the test for a longer period of time, so the %/h would decrease some points.

I will test the "Battery ONLY drain test".

Attached new stats and graph.

Thanks
[Android General] Celestial Fury:
Network Stats or something similar.

SyncLoopWakeLock

Don't limit these two but use the FIX in Post #2.

AlarmManager (Servicios de Google Play): 13 m 50 s

Alarms: 24, Intent: ALARM_WAKEUP90927159

What app is this?

Alarms: 7, Intent: CARBON_START_SMOKE
[Android General] Celestial Fury:
UPDATED: Fix for ALARM_WAKEUP#####

AppOps

Under Hacks - Tick FIX OP_WAKE_LOCK

Turn off - Keep Awake & Run on Boot

(AppOps

may not be needed

depending on Google Play Services version. It doesn't seem to be needed on the current version for this fix. If you get

Google Play Services has stopped responding

over and over again in regular intervals,

Turn ON Keep Awake

. Reboot not necessary and the message will go away.)

Servicely

Select:

Screen off only

Aggressive process termination (may or may not be needed)

Add:

Google Play Services (only - NOT individual services)

NOTE: If you use Google Apps, Google Play Services is an important component and needs to run (backup, etc.) from time to time. So, let it run during screen on. Killing it may also have unintended side affects. Make sure you have a backup where you have not killed Google Play Services that you can restore.
[Android General] aidy.lucas:
Doesn't seem to stop the alarm wakeups ******* just had to reset everything now gonna try just amplify on the latest Google play services only and will report back

D2303,18.3.1.C.1.15 kk, deodexed, debloated, rooted, philz touch recovery, bravia engine 2+x-reality+z3 super vivid, viper audio, xposed mods.
[Android General] Gizmundo:
I have a question. Would the navigations apps like googlemaps navigate and read gps position in screen off mode as they should with so many restricted location wakelocks and alarms?
[Android General] Wilmerin:
Thanks.

It's a twitter client named: Carbon for Twitter.

The fix shows Appops and servicely, those are optional or do I have to use both?
[Android General] milojoseph:
I think I fixed it thx
[Android General] Celestial Fury:
They still do.

Try with just Servicely first. Then AppOps.

Describe the steps you took and where you see these ALARM_WAKEUPS - in BBS or Amplify.

No posting in multiple threads.
[Android General] milojoseph:
You usually take a look. I post in both to get at least 2 opinions. And it's not an xda rule to do that..... anyways thx

Sent from my SM-G900T powered by AllianceROM

and boosted by speedy kernel

Lollipop ?
[Android General] shaza98:
So I unlocked my bootloader the other day, and my battery is draining faster then normal now. I think it's something with the processes, they are running too high for too long, imo. I already took care of Facebook, but the Android OS is taking up 22% of my battery. Please help!
[Android General] Wilmerin:
Alarm_wakeupxxxxx fixed

Apparently it is fixed using Servicely. :good:

Unninstalled Carbon for twitter. I'll try Twitter app.

Now I have this alarm:

com.google.android.googlequicksearchbox (): Wakeups: 2 (0,5 / h)

New stats and graph.

Edit:

New stats and graph on 2015-08-13. Unnistalled Carbon for twitter and installed Tweetcaster.

Thanks.
[Android General] Celestial Fury:
A phone that has been awake for 4 hours and CPU running at max for 3 hours does not give 0.7%/h. Something is wrong. Deep sleep is also only 5 hours which does not add up to the phone being ON for 17 hours. I'd say you're not following Post #3 on how to test.
[Android General] Jason761:
Can anyone help me limit wakelocks/alarms? I'm getting 0.2% drain but after light usage it drains pretty quickly. I have the Samsung tab s 10.5.
[Android General] Rated R:
This alarm

com.google.android.gms/com.google.android.libraries.social.mediamonitor.MediaMonitorIntentService

is safe to limit?
[Android General] yesdharam:
Need help with Idle Android system drain on OPO

Hello Celestial Fury and team,

I really appreciate your excellent work on this !!

I have 1.0%/hour idle drain. Also Android System shows 3% drain while idle.

Can you please suggest which ones to limit / deny to achieve lesser drain..

I have attached the BetterBatterStats Dump and screenshots on this linkhttps://drive.google.com/folderview?id=0Bzmq4Hu34gePRVdFSGVRNzktS2M&usp=sharing

Device: OnePlus One with AK Kernel v287

ROM: Official CM12.1 nightly -20150809-Nightly-bacon

Android version: 5.1.1

I have Xposed, Greenify and Amplify (with donation)

Regards

Dharam
[Android General] shaza98:
Hmm... I'm sure I followed the directions correctly. Either way, it kind of fixed itself after I turned off the phone for a while. I'll keep monitoring it, though.
[Android General] Portgas D. Ace:
You have one wakelock which is responsible for nearly half an hour of awake time:

*sync*/com.google.android.gm.email.provider/com.google.android.gm.legacyimap/6544ff126b04c9b49671d4531125c558@yahoo.com (com.google.android.gm.Gmail): 29 m 44 s Count:5 7.1%

This wakelock is responsible for synchronizing your mail account. If you rely on instant push notifications for mails, then don't limit it. If you are free to go and accept mails being synced every second hour ( = 7200 seconds), then limit this wakelock to 7200. If you don't rely on them at all, you can set it up to 86400 ( = 1 day), which will sync mails once per day.
[Android General] yesdharam:
Thanks..After checking the dump, i had restricted the email sync frequency to 30 minutes before hitting the bed. But I still got around 6% to 7‰ drain during 7 hours of sleep!

So I suspect there is still something fishy.. Do you see anything else leading to huge idle drain on Android system.. As such I get approximately 5+ SOT, but the idle drain is bothering me..

Thanks again
[Android General] Portgas D. Ace:
I have the same drain, nearly 1% per hour. It seems to be an issue with some Android 5.1.1 ROMs. When flashing my old KitKat ROM, the idle drain is back to 0.0% to 0.1% per hour while idle.
[Android General] yesdharam:
Thanks for your prompt reply.. It helps to understand that it may be an issue with 5.1.1 ROMs. Probably time to try out the much acclaimed Exodus ROMs that supposedly provides ~8+ SOT and very less idle drain..

*** On a different note Is there any tweak available to reduce battery drain while using camera?
[Android General] mikexmayhem:
Hey everyone.

I've been doing really well using this guide. With only data on overnight I see about .2 or .3% an hour batt loss. So I've been very happy. Usually about 98% deep sleep. However last night it was a very different story. Check out the attached screenshots. Can anyone help me limit the check-in and handoff items? I can handle the gcm reconnect and heartbeat items. But those other two I'm not sure how to find them
[Android General] mikexmayhem:
Also the BBS log attached is not the log from overnight. But it does still contain the info I'm looking for I believe. ill try again tonight and post another log if the same issue is present
[Android General] Celestial Fury:
In the guide

com.google.android.apps.gsa.kato.ACTION_ALARM

android.appwidget.action.APPWIDGET_UPDATE

Do you rely on these?

com.android.systemui.doze.notification_pulse

com.sand.airdroid.action.publish_to_msgcenter

Kernel wakelock

sec-battery-monitor (): 23 m 12 s

wlan_rx_wake (): 10 m 24 s

wlan_wd_wake (): 4 m 24 s

Internet connection seems rather poor or active. Is there also an option in your tab to turn off any battery monitoring that might be related to this? It's contributing to the phone's awake state but uses very little battery since you're getting [0.2%/h] despite being Awake (): 35 m 3 s - but if you want to reduce your idle drain further, these are the things.

You can post another log for the "quick drain after light usage" to see what's using up the battery.
[Android General] Celestial Fury:
Just a guess - if you limit it stuff that you've downloaded to your media library might be slow to update. It shouldn't drain in idle. If it drains while you're using social media a lot then it's just doing its job.
[Android General] Celestial Fury:
Yes, the team of Me, Myself and I have mostly agreed that a bad connection was keeping your email connection awake for nearly half an hour. I get bad partial wakelocks with poor connection Myself which is why it's best to set WiFi to NOT use a poor connection (if you have that option) or use an automation app to regulate it - but that's just Me talking. Do note that sometimes I don't listen to Myself and the one who suffers is Me.

Limiting partial wakelocks won't affect push notifications - alarms affect push notifications, partial wakelocks only keep the connection open trying to finish downloading something and your Play Store and Gmail was very active in idle mode but you should of course set a limit so it doesn't spend half an hour downloading spam.

*sync*/com.google.android.gm.email.provider/com.google.android.gm.legacyimap/6544ff126b04c9b49671d4531125c558@yahoo.com (com.google.android.gm.Gmail): 29 m 44 s

As you can see, Greenify does drain battery as do weather updates.

Alarms: 21, Intent: com.oasisfeng.greenify.CLEAN_NOW

Alarms: 6, Intent: com.cyanogenmod.lockclock/.weather.WeatherUpdateService
[Android General] Celestial Fury:
Yes, see the DANGEROUS - DO NOT LIMIT / DENY section on why your Checkin Handoff and Event Log Handoff went running wild.
[Android General] mikexmayhem:
Oh lord I didn't even realize they got limited. Well hopefully that will fix my issue. Thanks!
[Android General] garthybarthy:
Hello,

Please can you take a look at my BBS dump and let me know if there's anything I need to un-limit/limit?

Thanks.
[Android General] esubill00:
Thanks a lot for the thread celestial fury!

I am sorry I tried to attach some screenshots to share with you my alarms but I don't seem to be able to figure out how to do it. When I try to attach a picture it only shows a box to enter a url.
[Android General] MrBrady:
Thanks for this tweak! While I don't have 0% idle drain, it certainly has increased my idle battery life substantially.

One issue I have is with Google My Tracks (GPS activity tracker). It gets a GPS lock fine but as soon as the app isn't in the foreground or the screen is turned off, it looses GPS signal and stops tracking my activity.

Any work around for this?

Nexus 6 running Android 5.1.1

Sent from my Nexus 6
[Android General] Celestial Fury:
Post #3, last line.

Insert Image is between the Insert Email link and the Wrap icon just above the text box that you type in - or maybe there's a post count limit before it's available.

When I use a GPS map app, the link isn't lost when the screen goes off, and voice navigation can still be heard. Comments on the Play Store says that:

Good App - now broken Update Aug. 2015. This app stopped working with a recent update. Used to work reliably, but now does not record an entire track. Either fails to start recoding or stops prematurely with a message: "Waiting for GPS".
[Android General] MrBrady:
Oh! Good to know it's not this mod because I'm loving the battery life! I don't know why I didn't think of looking at the app reviews. Thanks for looking into that. I'll try a different app until Google updates My Tracks.
[Android General] garthybarthy:
Del
[Android General] sguerra923:
Quick question, I did some searching and didn't really find a solid answer but amplify has StartingAlertService and CdmaInboundSmsHandler on my Safe to limit list but I read on the list not to limit the StartingAlertService anyone limit the CdmaInboundSmsHandler without any issues? Thanks in advance
[Android General] Celestial Fury:
First Set

Screen on is still too long - 4 mins. Take the dump first before doing anything else with the phone. Idle time is also too short 4 hours. Try to make it 7 hours - when you're sleeping.

Battery seems to drop quite fast in 4 hours. Was this in airplane mode? I'd say it's the battery.

Second Set

Alarms: 7, Intent: com.handmark.tweetcaster.premium/com.handmark.tweetcaster.UpdateService

See if there's a setting in the app to regulate how often it updates.

Battery is also dropping quite fast. Have you left the phone charging for long periods of time even after it's full?

The drain isn't coming from alarms/partial wakelocks but from kernel wakelocks.

"radio-interface" (): 12 m 33 s

If you see this for more than several minutes, post a screenshot of history details in battery usage under Power Management (android settings) or use GSam to get a screenshot of radio signal strength.

"wlan_ctrl_wake" (): 6 m 16 s

"wlan_rx_wake" (): 6 m 2 s

Your WiFi connection also seems problematic. Maybe you have overlapping chanels with your neighbour's WiFi? Use Wifi Analyzer to check.
[Android General] Wilmerin:
First set:

I don't remember to use too long time before take the dump. could the screen switch on by itself?

It is airplane mode. Even if is the battery, I think we have made a good progress controlling the battery drain.

I'll wait for the new battery to continue testing.

Thanks
[Android General] mikexmayhem:
Another happy customer! Still doing some more tweaking to get more like 99% deep sleep. But I'm very happy with this!
[Android General] Gizmundo:
those letters are not too small for you? :)
[Android General] netyang:
any idea for CM12? Xposed cannot run on Android 5.1.1?
[Android General] MaChiMiB:
Xposed for 5.1(.1): http://xdaforums.com/xposed/super-alpha-posted-permission-xposed-t3072979

With this Amplify runs without a single problem on CM12.1
[Android General] mikexmayhem:
Dpi 340 on a note 4. It's awesome haha. I love it
[Android General] cosminnn:
Do I need to uninstall my default calendar app? Or just install the notifier and limit the alarm at 7200?
[Android General] NickosD:
What's that ekv thing?

Sent from my bacon!!!!!
[Android General] MrBrady:
Something with Spotify

Sent from my Nexus 6
[Android General] NickosD:
Yeah, thanks for the help.

At least it stopped now.

Sent from my bacon!!!!!
[Android General] abeloman:
That wakelock is caused by listening Spotify...

Enviado desde mi XT1032 mediante Tapatalk
[Android General] esubill00:
Hi celestial fury, you were right I needed 10 posts in order to be able to attach screenshots. I gotten to significantly reduce my battery following your guide. Currently my phone is spending 1% per hour while idle. Can you please check this screenshots to tell me what else can I limit, and by how much if you can.

Thanks in advance, great post!:D
[Android General] NickosD:
What's the 1st alarm?

Sent from my bacon!!!!!
[Android General] Celestial Fury:
Default calendar should be a system app so you can't uninstall it without a third party app. Just install the new calendar app and limit the alarm in question. Do note, that there are some new updates to this app that seem to have some active alarms. On Lolipop (latest version of Play Services?) the Calendarprovide2 alarm does not seem active anymore which would render the use of third party calendar apps null - but it leave it in the guide for those not on Lolipop ( or on the latest version of Play Services).

Tasker is causing the most drain. You might want to reduce the number of tasks it does and see what the drain is like. Only you will know what tasks you have it do and how often and when so use that to figure out how much to limit in Amplify (Tasker alarm not wakelock).
[Android General] esubill00:
Thanks for the response! The only tasker profile that is constantly working is one that turns wifi on automatically when it detects the cell towers near my house. I like that profile. Do you mind checking the alarms form the google app? I'll attach the screenshot so you can check them out.

Thanks again! ;)
[Android General] mikexmayhem:
Not sure what it does but it is something that should be limited and I believe is in the first post. I have it limited to 7200
[Android General] mikexmayhem:
Finally got there! Although it was only 5 and a half hours last night it's still awesome!
[Android General] Celestial Fury:
android.net.ConnectivityService.action.PKT_CNT_SAM PLE_INTERVAL_ELAPSED

The best I can tell is that it's something to do with connecting to a network. It can be safely limited - in the guide.

Velvet BackgroundTasksImpl$Service

TrafficIntentService

This is a service and not an alarm. BBS doesn't have a tab to show draining services probably because they don't normally drain. You can turn it off (not limit) in Amplify but Google Now will most likely not work properly.

com.google.android.apps.sidekick.SCHEDULED_REFRESH

com.google.android.apps.gsa.kato.ACTION_ALARM

In the guide.

com.google.android.apps.sidekick.notifications_REFRESH

Haven't needed to limit this yet.

a:EntryProvider

Haven't seen this before.
[Android General] ghiurtuv:
I'm using a chinesse phone called Ulefone Be Touch 2.I got Xposed installed+Gravity working.I have powernap which i tjink is working(i have no statistics in the tab)+Servicely and Greenify.I really wanted to try Amplify but he doesn.t block anything on me,i just let him open one hole day and still 0 alarms/wakeups blocked,any advices?
[Android General] .Heisenberg.:
Hi, I followed step by step guide, but I have some problems wakelock!

The kernel wakelocks are all ~ 0% / 1% :good:, the real problem as you can see from the screenshot are partials wakelocks. What can I do to block them entirely?

SCREEN 1

SCREEN 2

SCREEN 3

SCREEN 4
[Android General] lazer155:
I noticed several wake locks that amplify says are safe to limit are not in list in the OP. Is there a reason why they aren't mentioned? Does anyone have some suggestions of how muh to limit them by?
[Android General] [Gorgasm]:
Hi ! Thank you for your topic and your advices, it works very well ! I have just one question : do you think that it is safe to limit com.facebook.analytics.service a.ACTION_ALARM (from FB Messenger) without impact on push notifications ?

Thanks for your help :)

Sent from my Nexus 5 with Tapatalk
[Android General] Hrithan2020:
*alarm*

Edit:

Sorry. Seems like this came by mistake, when instead of searching in the android app, I actually wrote a post. Came to know only once I actually got notification that my post was quoted.

In short, I was trying to search whether *alarm* can be limited in amplify
[Android General] Celestial Fury:
Have you seen the Amplify thread itself? It currently doesn't work on 64 bit phones.

First you need to make sure these alarms/wakelocks occur during idle mode. For that you shouldn't have used your phone as can be seen in the screen on time. See Post #3 on how to test. If there are any problems they need to be fixed in idle mode first.

By reason of 'if it ain't broke don't fix it'. If they don't drain in idle mode there's no need to limit them and reduce functionality.

I haven't found an analytic alarm/wakelock/service that couldn't be safely stopped yet.

*no*
[Android General] lazer155:
So the number of wake locks in my screenshot is okay and I shouldn't limit them? Those happened over 7:30 hours while my phone was idle. Attached is the BBS log. I know the led notification light was on for a couple hours because an email came in so it wasn't a perfect test. I had no amplify limits set at the time because I was doing a baseline test.
[Android General] Wilmerin:
Airplane mode stats

Flashed stock rom JB to fix a kernel issue.

Starting from 0 to test battery drain.

Installed Xposed installer, Es file explorer, Amplify, Titanium Backup, BBS, whatsapp.

Attached battery stats and graph.

Thanks
[Android General] ghiurtuv:
I did not know it doesn`t support 64 bit processors yet,sorry and thank you!
[Android General] .Heisenberg.:
Yes I'm sure, I used then the phone when I left home ... now I upgrade the ROM and starting from a clean state I redo the test
[Android General] Portgas D. Ace:
According to your stats, you have used the phone for more than 7 minutes:

Screen On (): 7 m 23 s 1,5%

Please upload another dump file without using your phone during idle period. Using the phone during idle period will result in misleading battery stats.

Furthermore you are running an older Android version (4.1.2). How old is your battery?
[Android General] clickjack:
My first post on this. Would like to know if it would be safe to Amplify ContextManagerWakeLock and com.android.chrome/com.google.ipc.invalidation.external.client.contrib.AndroidListner$AlarmReceiver

Thanks
[Android General] Wilmerin:
I am sure that I haven't used the phone during the test (only a few seconds to take de dump file), so the screen could switch on by itself. I did another test lastnight and shows Screen On (): 15 m 22 s 2,7%. I think is related to sleep_broadcast (Sistema Android): 15 m 16 s Count:1 2,7%

For this device, the last stock rom is JB 4.1.2. If I'm wrong, please tell me where can I find recent firmware for Sony Xperia P.

My battery is 3 years old. I already ordered a newone, waiting delivery.

Attached new stats.

Thanks
[Android General] Celestial Fury:
And you want to limit them because...? Have you seen Post #3 Test Idle Battery Drain No. 6? If they're not in the guide then they haven't been tested.

First, I see some skipping towards the end. Try the battery trick at the beginning of Post #3 (now updated) and see if it helps.

Have you ever seen your phone screen turn on by itself? 15 mins is a long time.

AlarmManager (Sistema Android): 29 m 51 s

sleep_broadcast (Sistema Android): 15 m 16 s

This is the cause of the drain. You can't touch AlarmManager and I can't find anything in the knowledge base on sleep_broadcast. So you'll have to try limiting it yourself.

Recent firmware for Sony Xperia P - in the Xperia P XDA forum?
[Android General] clickjack:
Because of super high wakelocks. But I don't think it's related to idle wake up times. So, I shall not put it to sleep and listen to you Captain.

Installed Gravity Screen last night and my battery fell from 100% to 89%. Damn! That's a lot of drain! I shall do the three mentioned tests and get back. In 3 days Captain! Look to the East! ?
[Android General] .Heisenberg.:
Hello, after a clean install, I have taken the test. I got a [0.7%/h] because there are always problems with partial wakelocks ... what can I do?
[Android General] Gizmundo:
Hi.. I wonder if you find something? On the stock firmware after clean install without any changes I have 0.2% battery drain after 10 hours. Custom rom on the the same base which I use, I cannot reach more than 0.2% after all customizations with amplify. I had one email during the test. Thanks for this superb tread.
[Android General] Celestial Fury:
Post #3 says that Amplify does NOT show drain, BBS does. Why? Both apps seem to count them differently. Unless those two alarms show up in BBS, DON'T limit them.

Your Bluetooth was ON? Does it need to be on when you're not using it? Your Play Store was kept awake for an hour - trying to download something on a poor connection but nothing much was downloaded? Related to your phone connected to something (your computer?) through bluetooth? This needs to be fixed first before limiting anything.

Widgets are notorious battery drainers. Also, drain does not only come from alarms and wakelocks. Besides poor signal, poor battery there is also the matter of too many apps installed particularly those that run in the background (ex. too many Xposed modules, etc.) On a powerful phone you don't notice but on a weaker phone the phone will slow down and even hang until you start to uninstall and then it starts flying. So, don't discount the matter of too much stuff causing the drain particularly when you've brought it down as low as possible already - it won't appear in BBS.