yashsingh1/xdaforums huggingface dataset:
[Android General] edwardob:
I can only get that if I put in flight ...mo

mode....... other than that 2% overnight......... still please

and I use greenify.....

living in hope
[Android General] urnamese3:
[MENTION=1555240]edwardob[/MENTION] Yesterday I stood 3hrs with the same % while using the phone for about 30 mins, I've no reason to lie mate. You should ask my friend who was with me and I was showing him every 30 mins that the battery % was not going down. I was surprised as well.

I'm on a OPT though.. I don't know which phone you have, how many applications you got and all the rest of your setup is crucial to battery draining. It all depends on your usage but if you delete all the drainers you'll have almost 0 % of draining when screen is off, 100% sure of that.

I'm using Power Nap, smartnetwork, greenify and Amplify. Sometimes using greenify with some apps makes battery draining worse.
[Android General] edwardob:
note 5. I have......

seem to be more Samsung stuff that I can't identify.....

and WiFi.
[Android General] urnamese3:
[MENTION=1555240]edwardob[/MENTION] Use BetterBatteryStats and Amplify to track down which apps wakelocks and alarms drain your battery. You should have 0 % in airplane mode. IMHO custom roms are a much better choice than TW based roms.
[Android General] edwardob:
done all that....... flight. mode OK...

just not reaching 0%. without flight mode.....

I keep we working on i it
[Android General] mikexmayhem:
I followed everything from this guide and the extreme battery saving guide. Below are the ones I've added

Anything with "facebook" in the name was limited to 86400. I don't get notifications but I check it often so I don't care. I've added a few that were more specific to my apps

There really is too many to list them all. Use bbs to find the ones that actually drain battery and limit them. If there's any in my list a few posts up just ask and I'll get the values
[Android General] Celestial Fury:
It was the other way around.

And No.
[Android General] shanktech:
Finally some good battery life on my OPT...Using Amplify and Power Nap.
[Android General] weiimyway:
I think we have the same problem...

I already limit any wakelock and alarm that appear in BBS but haven't yet got 0% overnight (idle use data network)

so I've been thinking lately, isn't the provider signal strength also effect battery use? so maybe we can't achieve 0% due to the signal strength is not stable....Is it logic?
[Android General] :
Sometimes, no matter how many wakelocks or alarms you try to limit, you still get idle drain more than 0%. This is owing to your ROM and Kernel settings. Nothing you can do unless you decide to flash a better one. I can personally vouch for this as I have used multiple ROMs and Kernels with same apps and settings on the same device - yet obtained different idle drain results. So dont worry too much if it keeps on draining despite all the effort you put it. It ain't your fault.

:)

2+2 = Omeleto Frumage

---------- Post added at 08:33 AM ---------- Previous post was at 08:32 AM ----------

Or you can use a Broken OS....(lol, just saying)

2+2 = Omeleto Frumage
[Android General] race2c:
All - I am just starting to work through my wakelocks/alarms/services per this thread and the Extreme thread, but have a few questions below. Note that I using a Verizon S5 running AllianceRom 4.4.2 (since I haven't had a good chance to update yet). haha. Yes, I have xposed, appopsxposed, amplify, greenify, betterbatterystats all downloaded and in use.

How do you know which kernels/wakelocks/etc correspond to what applications/services? Yes, some things have names of applications/services in them, but others do not. Trial/Error approach?
[Android General] edwardob:
mine down to -2%overnight .....have look my BBS

has to be WiFi....data off
[Android General] Portgas D. Ace:
Wifi On (): 6 h 55 m 41 s 100.0%

Wifi Running (): 19 m 13 s 4.6%

Your WiFi has been turned on, but without any connection for most of the time (only slightly more than 19 minutes of connection). Considering that a non-connected WiFi drains some battery, 2% total battery loss for nearly 7 hours is quite good. Nevertheless, try to pull another dump file with WiFi connected all the time.
[Android General] edwardob:
why dump file when connected all the time???
[Android General] Crisialfa:
Is It fine?

Can I freeze any wakelock/alarm?

Inviato dal mio SM-G925K utilizzando Tapatalk
[Android General] Portgas D. Ace:
Because that is the purpose of this guide - minimizing battery drain while your device is idle, but don't lose functionality. If you turn off all connections, you will probably get 0.0% per hour, but you will lose all your device's functionality.

A dump file shows all things like alarms, wakelocks and so on while you don't use your device. We want to minimize the battery drain during this time.

---------- Post added at 09:48 AM ---------- Previous post was at 09:46 AM ----------

Upload a BBS idle log file. You have used your device for more than 7 minutes. Check post #3 for instructions.
[Android General] Crisialfa:
Where can I find the log file in BBS?
[Android General] Portgas D. Ace:
Press on the Share button in the action bar. Then save the log file as .txt file and upload it here as attachement.
[Android General] Crisialfa:
Thanks. I have to upload the log file now or I have to charge my phone?
[Android General] Portgas D. Ace:
Charge it to 100%. Unplug it and leave it idle ( = don't use your device) for about 7 hours (maybe over night while you sleep). Afterwards open BBS and save the log file as described.
[Android General] Crisialfa:
Ok, thank you. Tomorrow I will upload the log
[Android General] Portgas D. Ace:
Well, it is quite easy: when your device does not have any mobile connection (WiFi or mobile data), most apps won't run as they require an active connection -> therefore you won't have a high drain. The purpose of this guide is to identify those apps that run while your device is idle ( = you are not using it, screen is off) and to limit their battery draining alarms/wakelocks to a specific limit such to minimize their battery drain, but don't shut down their functionality. So you can have a steady mobile connection (connected to WiFi or mobile data all the time), all apps are working as they are intended to be (e.g. deliver push notifications) according to your personal needs and your battery drain is at a minimum.

This is why it is recommended to upload an idle dump of your device with WiFi or mobile data connection enabled all the time.
[Android General] edwardob:
OK I'm confused....

my WiFi WAS on all night...........

I have already uploaded the dump file....

not sure why I need to do it again

what's the difference in WiFi on and WiFi running

it was on.... all night..... how can I force it to connect....and to what???... and why all night

defeats the purpose
[Android General] chrislam1220:
After setting the amplify, I found that "calendar storage" become the second high of battery used (7%) that i didn't see it before.

Is it normal?
[Android General] mikexmayhem:
yes. limiting the calendar is recommended in the OP and using an alternative calendar would give you better battery. i have the calendar stuff limited and still can use my calendar without issue. but i dont believe i get alerts about stuff. doesnt bug me though

---------- Post added at 10:50 AM ---------- Previous post was at 10:46 AM ----------

maybe there was some confusion. i can tell you that wifi on means WiFi was on and WiFi running means you were connected. i see wifi running when i have wifi set to be always scanning. so ive turned that off too. gps doesnt really like that cuz it uses wifi to help locate you. but it can be turned on when you need it. i think what they might be looking for is a standard test from the OP's where your wifi and data is off. then, at least in my opinion, doing a test with wifi or data on. i have never tested with data/wifi off. i only test with wifi/data on and still get 0.0 or 0.1 over 10 hrs
[Android General] edwardob:
yes the request didn't Make's sake sense to me

anyway here the offending battery stats

Wifi On (): 6 h 55 m 41 s 100.0%

Wifi Running (): 19 m 13 s 4.6%

as the op says 0% is reached with wifi on.....s and other things

not sure what running means.... and maybe that's where the 2%is
[Android General] Ozgurce:
I have problem with the android.intent.action.TIME_TICK its driving me crazy. It have 589 alarms right now and counting. I cant find any reason. I dont have any time clock or date widget or app for that matter. Im on the 5.1.1 lollipop touchwizz. There is my alarm dump. Please help
[Android General] :
+Celestial Fury

I have a few doubts regarding wakelocks and alarms

1. Do wakelocks and alarms only occur during standby or even during active usage?

2. What is the impact of wakelocks and alarms on the battery of a phone that is being actively used.

3. Can it be compared to the battery drain caused due to screen brightness, foreground app processes, mobile radio network, etc?

2+2 = Omeleto Frumage
[Android General] mikexmayhem:
All that means is of the time since unplugged/reboot WiFi has been on the whole time. And used for 19 mins. For apps syncing and such. So looking at alarms and wakelocks you can see what apps were active using that WiFi. 19 mins over 6 hours isn't too bad though

---------- Post added at 08:49 PM ---------- Previous post was at 08:41 PM ----------

If I remember right time_tick is androids time keeping service. I don't believe there's anything you can do about that one or your time will be inaccurate everywhere

---------- Post added at 08:51 PM ---------- Previous post was at 08:49 PM ----------

1. They occur while active too

2. That is why you get more battery drain while using the phone

3. Those things are also drains. I'm not sure about what you mean by comparison though
[Android General] Crisialfa:
How can I upload the log file? I can only upload files from my photo gallery.

EDIT: I found the method

Inviato dal mio SM-G925K utilizzando Tapatalk
[Android General] Crisialfa:
Guys, Is It fine?
[Android General] shanktech:
How did you do that??
[Android General] Crisialfa:
I attached the log file through my pc

Inviato dal mio SM-G925K utilizzando Tapatalk
[Android General] mikexmayhem:
That's actually pretty good. You could still go further. Gcm_reconnect can be limited more. It woke up every hour. And Tapatalk was up every 2 hours. Try with a data connection next and see what stats you see then. Overall not bad at all

---------- Post added at 07:42 AM ---------- Previous post was at 07:42 AM ----------

I believe instructions for log file are in the OP
[Android General] Crisialfa:
Is Gcm_reconnect a wakelock or an alarm? Because I can't find It with Amplify

Inviato dal mio SM-G925K utilizzando Tapatalk
[Android General] mikexmayhem:
It's an alarm. Mines set to 62600 with no adverse affects
[Android General] Crisialfa:
Thanks, I found It. I greenified WhatsApp and messenger (I have the donation package and xposed for push notification). Should I greenify Tapatalk?

Inviato dal mio SM-G925K utilizzando Tapatalk
[Android General] Adams999:
Thanks
[Android General] daringsmart:
Hi just new to this thread using disable service and in alarms I can't see many alrams wch mentioned in OP. So what to do ?
[Android General] edwardob:
if there not there don't worry about them
[Android General] Gizmundo:
How I can check wakelocks in BBS which should be limited? I can see alarms, kernel wakelocks or partial but from amplify list, it is long list, there is nothing so I actually don't know if there is real reason to limit any of them. There is also list safe to limit wakelocks in amplify, those are described in amplify forum but who knows if they drench battery or not. So which way I need to use to measure those wakelocks?
[Android General] mikexmayhem:
Anything that shows up in bbs drains battery. Kernel wakelocks you can't touch. Partial wakelocks can be limited and can be found in amplify. Safe to limits shouldn't always be limited. Follow the guides here. Bbs measures them. It will show you what process is waking up so you can find it in amplify

---------- Post added at 10:02 PM ---------- Previous post was at 09:23 PM ----------

Just wait. Amplify only shows ones that have popped up. Give it a day or two and you'll see more. Check back often till you have almost all of them. Some may never show up
[Android General] daringsmart:
Thank u both.
[Android General] Gizmundo:
[MENTION=1675436]mikexmayhem[/MENTION] ok, thanks for your answer but I know all of that, what I asked was where I can check in BBS the actual amount of battery drain for wakelocks presented in amplify, for instance the picture bellow shows wakelocks which most likely is safe to limit but I want to check if that's necessary to do. I fallowed this thread, which is very good but is not perfect like nothing and I had to modify it or not use everything in OP hence stop or late pushing messages for Gmail or Whatsapp. I have plenty of Alarms not limited for no battery drain that I can check in BBS and if possible I want to do the same for wakelocks. cheers :)
[Android General] neroinlove:
help me, i dont know what 13930000.decon_fb is. It's on top kernel wakelock.. How to disable it? Thanks
[Android General] Meneldur:
Applied your guide, just lighter on some processes (1 h instead of 2). Normal consumption dropped from 6.9%/h to 2.3%/h.

This guide is awesome.

Mnldr/D855/CM12.1
[Android General] mikexmayhem:
I don't think there's a way to see how much battery is drained from each wakelock or alarm. But I think it says how long they've been awake. A lot of the ones in the photo should be limited in the OP. And are necessary to save battery. They are in the OP because they have been proven to drain battery. If you'd like some more specific help you can post a log from bbs and I'll tell you what alarms or wakelocks are causing battery drain and should be limited

---------- Post added at 09:11 AM ---------- Previous post was at 09:10 AM ----------

There's nothing you can do about kernel wakelocks in amplify. You can only close running apps or check your background syncs
[Android General] urnamese3:
Almost 0 % during the night.. Line is almost straight. WiFi on all night and phone too
[Android General] deepu458:
Hi folks & [MENTION=5401012]Celestial Fury[/MENTION], thx for this guide. It helped me a lot in reducing the drain. Please find my attached stats from last night and kindly let me know how I can achieve better results.

Thx in advance.
[Android General] cuezaireekaa:
[MENTION=5401012]Celestial Fury[/MENTION] I am beyond impressed with this Guide you have made. Like you said, it's all about keeping your devices functional as well as saving battery by controlling alarms.

I keep GPS high acuracy, mobile 4g data and WiFi on all night now and I lost 0 %. That's crazy stuff man. And I didn't miss any notifications that I needed. I

Obviously with different apps, there are gonna be other alarms etc that need to be controlled. Since you taught me how to do it from your guide, I've tweaked the heck out of my roms. And certain apps I don't need waking all the time.

A BIG THANK YOU MAN. THIS IS BIG.

You're appreciated..

Now that I know how to use the app properly I'm seeing huge results.

sent from an sm-n900t
[Android General] mikexmayhem:
WhatsApp had quite a few wakeups and something like lucky patcher? Widget update could be limited more if you can manage. Mcs heartbeat could go more if it doesn't affect notifications. Calendar could be limited more. All discretionary of course if it works for your usage
[Android General] Celestial Fury:
It'll be more impressive if you show it from fully charged.

What [MENTION=1675436]mikexmayhem[/MENTION] said. In full:

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

Alarms: 23, Intent: android.content.syncmanager.SYNC_ALARM

Alarms: 13, Intent: com.google.android.intent.action.MCS_HEARTBEAT

Alarms: 3, Intent: com.google.android.gms.gcm.ACTION_CHECK_QUEUE

Alarms: 9, Intent: com.android.providers.calendar.intent.CalendarProvider2

Alarms: 8, Intent: com.cyanogenmod.lockclock/.weather.WeatherUpdateService

You don't get ALARM_WAKEUP(#####)? Android version and ROM? Samsung Galaxy Note 3?
[Android General] cuezaireekaa:
Yeah I get those kind of alarms. Is this bad? Don't seem to be bad AFAIK . Got these going on after following guide.

Good? Bad? Am I obsessive? Haha,my telly gonna go boom?

Android: 5.0.2

Rom: s6 tazzy port w/note3 base

Sm n900t tmobile note 3

sent from an sm-n900t
[Android General] Crisialfa:
Can I freeze this wakelock with Amplify? What Is It?

Inviato dal mio SM-G925K utilizzando Tapatalk
[Android General] Portgas D. Ace:
WiFi On means that your WiFi has been turned on during this time. It does not mean that you have been connected to a WiFi network during this time. WiFi running means that you have been connected to a WiFi network during this time. This is important. So from the stats, one can see that WiFi has been turned on the whole time (nearly 7 hours), but only had a WiFi connection for more than 19 minutes overall.

You don't get the purpose of this guide, don't you? We do not want to see

at what time some apps are connecting

, but

what alarms/wakelocks they produce while you are connected to a network (mobile or WiFi)

during the time your phone is supposed to be in idle mode. By identifying those alarms/wakelocks, we are able to limit the battery drain which is caused by those apps. Those apps won't produce most alarms/wakelocks when there is no data connection, therefore you are supposed to have a sufficient data connection during the time frame for your idle dump. WiFi connection is preferred, as a proper WiFi connection drains less battery than a mobile data connection. Having WiFi on when you don't have a local WiFI network available is useless as there is nothing you can connect to. In this case, use mobile data and don't enter any battery saving mode (DS Battery Saver, JuiceDefender and so on) as those are against the purpose of this guide.

---------- Post added at 07:35 AM ---------- Previous post was at 07:32 AM ----------

Did you perform a baseline test with airplane mode on during that time? Because no data connection has been present according to your stats.

Do another idle test, but turn on your WiFi and connect to your local network before unplugging your device from charger and don't use airplane mode. This way we can identify all alarms/wakelocks caused by apps which run during idle time.
[Android General] wahuka:
ok, i will follow all steps again and post captures again.

Thanks
[Android General] aukhan:
If any Samsung Note 4 Users please share your configurations.
[Android General] bsined:
I was very excited when this post came out because my Xperia TL has a tiny battery (1750mAh). It drains quickly especially when the screen is on, so any battery saved while in standby is appreciated. I've had the free version of Amplify for a while without much notice in performance but this article convinced me to get the full version (luckily, it was promotional credit). My results were very surprising: my phone was losing juice twice as fast.

I guess I over-tweaked. I limited everything in Amplify that 1) was safe, 2) was listed in the OP, 3) I knew I didn't need to be running in the background. This resulted in suspend_backoff wakelock running nuts. My battery was drained to 15% within barely 12 hours of charging and then lasted almost 20 hours without any use when Stamina's low battery mode kicked in. The results are in the screenshot below where you can see slight drops at the times when I actually used the phone

However, I'm more concerned with the misrepresentation of results in the posts here. Y'all are testing battery drain in unrealistic conditions: you keep cellular data connection off and some of you are even putting the devices in airplane mode, which shuts down all other radios. Wi-Fi drains battery marginally compared to everything else that you turn off. I've been on a trip abroad with the TL, where I kept it in airplane mode except for GPS to record my travels (4-6 hours each day). Each charge lasted me roughly 3 days without Greenify or Amplify.

Is here anyone who has tested their phones with at least 3G data connection on (this implies that Wi-Fi was off)?
[Android General] Sporbillis:
Need help :)

So, i have noticed that this op is helping people and guiding them through therefore i will post my story. After reading your guide i purchased the BBS , charged my tablet ( tab s 8.4 wifi version T700 ) and let it idle with wifi on, gps off for the past couple of days with some minutes of SOT to check the battery levels. I didn't follow anything in your guide yet cause i wanted to show you my screenshots so you let me know specifically what to disable and what not. I only care for ( push notifications instantly, wifi always on, gps on, weather to update every 1h or so ) but without the loss of battery i am having now. If this is possible then i would be really glad and i will donate for you aswell.

Ps. I am on ROM CM11

Here are my screenshots from BBS so you can tell me how to proceed. Thanks a lot!!
[Android General] Sporbillis:
continue

Cont from previous post for extra screenshots

2 more screenshots if they help at all! Thanks again
[Android General] Celestial Fury:
Don't remember seeing anyone who posted a shot with airplane mode on. This would be certainly be counterproductive since the point is to maximise functionality while minimizing drain. I chose WiFi over cellular data connection because WiFi is basically free while you have to pay for the former and 3G/4G also drains more.

If Stamina Mode (Sony) is enabled, then background data is mostly disabled when screen is off. So this would minimize WiFi usage even with WiFi always on. I say mostly because push notifications do get through as does Google backup. However, there is still the alarms and wakelocks that keep your device awake. Imagine how much longer your charge would have lasted if during your trip in airplane mode, you had identified the other causes of drain in BBS and managed them?

You should only limit that which causes drain as identified in BBS. Different phones have different drainage causes and while some might be safe to limit in one phone, it might not be in other phones. Limiting everything in one go makes it hard to identify what causes a spike in another alarm/wakelock. I would love to know what causes suspend_backoff wakelock to run nuts so it can be added to the dangerous section. The idea is to go slow and see how the phone is affected. Even those having the same phone will not have the same apps or usage patterns.

The screenshot shows the drain but not the wakelocks/alarms that cause it. But you need to fix the suspend_backoff wakelock first.
[Android General] Celestial Fury:
I'd say that 0.4%/h for nearly 5 days is very good already. You've used it for 39 mins (if this was for testing, you've shown remarkable willpower). The best it to take screenshots as soon as possible without using the phone. Once you turn the screen on / start using the phone then thing start to wakeup and it can affect drain and it will no longer be idle drain.

Your screenshots show lot of syncing but I can't tell (due to phone being used) if this was during idle time. Weather widgets are notorious battery drainers that don't respect their own interval period in their own settings but I don't see any weather apps. See Post #3 on how to test. Do note, that it can't be a one time tell you what to limit and it will be over kind of thing as once some things are limited other things will start acting up. Overnight idle screenshots will do.