yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] nishdroid:
Here are screens from BBS.

I even set the phone on airplane mode and also tested greenifying whatsapp, turning off location still it somehow managed to wakeup in the middle of the night!

Can someone kindly help
[BetterBatteryStats] chamonix:
Please post a dumpfile instead of screenshots and we'll be happy to have a look
[BetterBatteryStats] mike216:
I can't figure out how to post a dumpfiles? Not unless it's not possible from using the xda app. Trying to user drop box to create a link but it doesn't

SGH-M919_Omega, the end result
[BetterBatteryStats] It_ler:
Either try again with dropbox (upload and copy link to the uploaded dumpfile, then paste it as link in your post here), or use another upload service, such as pastebin.com.

It works for me ... will work for you too.
[BetterBatteryStats] mike216:
Somethings wrong with xda. Its wouldn't accept my link. When going through the Web site it said over limit when placing attachments? Is crazy lagy right now also

SGH-M919_Omega, the end result
[BetterBatteryStats] It_ler:
Yes, I can confirm that it's very slow ATM.

Maybe the admins are busy with some maintaining jobs (re-building databases indexes, etc.).

So wait some time an try again later.
[BetterBatteryStats] steve austin:
thanks, but can you give me a bit more clarity here. I cut the phone on, waited for the full boot, unplugged the phone from the charger and purposely let it sleep. media scanner was on for 39 minutes. are you saying that corrupt files ALONE are causing theses problems?

Would this explain android system running high as well or are thy not connected?

is there an app that will allow me to see these corrupted files? I am using the rescan media root app to take care of this problem and apparently is it NOT working.....

again, thanks in advance.
[BetterBatteryStats] kaushikd:
I'm getting this wakelock for the last couple of days.. Does anyone have any idea what the 1st and 2nd wakelock is related to.

Tapatalked via Galaxy Nexus!
[BetterBatteryStats] LouisLeonardo:
So I put my partial wakelocks. The screenshots at 96% of battery are the ones i took after unplugging it and leaving it alone for a few hours (although i might have checked my FB before leaving it). The screenshots at 3% of battery are the ones after using it normally, I thought it might help. However, I do not think it is that representative of how I use it, since whenever I'm on a wifi-using app, it drains battery like a leech.

Thanks in advance,

Louis
[BetterBatteryStats] Karpfenhai:
The above might be useful for you..

Tapatalked from my Galaxy SII
[BetterBatteryStats] red de0392:
My audio_out 2 is eating much of the battery...how do i fix it ??
[BetterBatteryStats] Musko:
From this thread: http://xdaforums.com/showthread.php?t=1827676

Maybe to help you.
[BetterBatteryStats] chc31:
Can someone PLEASE help me, ive posted now for the 3rd time.. can someone look at my stats, from 1 of the logs provided, and see why im getting audio out 4?

http://xdaforums.com/showthread.php?p=43253758#post43253758

Thanks
[BetterBatteryStats] It_ler:
And if you have VIBER installed, try to disable/freeze or uninstall it, and check again if the AudioOut_2 wakelock is getting lower.

---------- Post added at 10:20 AM ---------- Previous post was at 10:15 AM ----------

Sorry, can't find a valid idle dump.

IDLE = doing nothing with the phone (screen off all the time)

Please provide an idle dump for at least 4 hours.

And disable JuiceDefender before, as this "hides" the real culprits.
[BetterBatteryStats] chc31:
oh i didnt know any of that. Thanks for the reply!

however, do you happen to know why people get these wakelocks?
[BetterBatteryStats] iamatechnoob:
Do you happen to know if turning off keytone sounds, touch sounds, screen lock sounds , but leaving vibrate on screen touch on, would that also leave a big effect for Audio_Out1 or Audio_Out2?
[BetterBatteryStats] chamonix:
If you Booted just before plug/unplug I would say that it is normal for MediaScannerService to keep on running. To avoid seing this one time effect in a reading just wait half an hour after the reboot and plug/unplug then. In that new reading we should see a new picture
[BetterBatteryStats] It_ler:
Some users reported that VIBER app causes the AudioOut_2 wakelock if you TICK or UNTICK the option to use system sounds.

So you can try to change this setting in VIBER and check the wakelock again.

But other users reported that they have this wakelock regardless of this option ... and they could only get rid of it after uninstalling VIBER.

As I don't use this app, I can't tell why for some users VIBER causes a massive AudioOut_2 wakelock.
[BetterBatteryStats] vishal11in:
Attached are the two log file from the same battery charge cycle. One contains the idle log and the other one contains the usage log.

Kindly advise the cause and action.
[BetterBatteryStats] It_ler:
Please check your dumpfiles.

Both show more than 1 hour of screen on time.

If you have to record another idle dump, try with Google+ and VIBER disabled/frozen/uninstalled.
[BetterBatteryStats] wastl2000:
Hi,

I'd like to ask for your help and therefore post a dump file but it's not possible to enable partial and kernel wakelock stats in the advanced menu. Maybe it's because I don't have root?

I attached a screenshot of BBS to this post. It would be great if someone could help me find the root cause for the poor battery life I am struggling with. I event did a hard reset of my phone, which didn't solve anything (using a different battery didn't help either). I am currently using hardly any third party apps, but the battery life is still unusually poor (~24hrs when the screen is on for less than 30min in total).

Thanks,

Martin
[BetterBatteryStats] It_ler:
Please post an idle dump.

You don't need to enable wakelock stats as they are included by default.

(And you only need root access for Alarm and Network stats.)

What I can see on your screenshot, there seems to be a location service option enabled (disable all location service options), and Gmail is using your phone a lot.

Maybe you want to check battery life with Gmail disabled and using another email app, such as stock Email app and widget with manual pull.
[BetterBatteryStats] jkc120:
WLAN keeping phone awake? Am I reading this right?

I'm seeing about 10% keep awake, and if I'm reading the BBS info correctly, it looks like it's mostly from the wireless? Am I reading that correctly? Anything I can do to improve that?

I know that some kernels on the S4 have issues with some wifi routers, is there anything I can do to alleviate that?

Thanks in advance.
[BetterBatteryStats] chamonix:
No it is because those checks are disabled as it makes no sense to provide a dumpfile without that info: both wakelock types will always be present in every dumpfile
[BetterBatteryStats] Karpfenhai:
Yes, you're right, but next time check also root features to get the full picture.

Tapatalked from my Galaxy SII
[BetterBatteryStats] chamonix:
Most of the awake (50%) is indeed caused by Wakeups due to incoming multicast/broadcast traffic.

Assuming you were on your own wlan all that time there are a few things that you can try:

- use wireshark to find the traffic source. Often it's upnp traffic that can be turned off if not needed

- if you can configure a separate vlan on you router for you phone that may be an option to avoid getting that traffic

- look for a kernel where some filtering has been implemented to avoid that traffic to cause wakeups
[BetterBatteryStats] jkc120:
This is on my work's wifi, so I have no control over it. It's just strange that the stock CM kernel didn't have this issue, but this updated AOKP ROM with BMC's kernel, and KT's kernel I tried both had this issue. So somehow the CM kernel is avoiding this but 3rd party kernels are having the problem...
[BetterBatteryStats] metropical:
I think it's the battery itself, but ....

if someone with more knowledge then I could check this and see that i haven't anything dodgy.

the batt is 2yo. It seemed to start burning thru juice alot a few months back.

Anytime I use it I can watch the numbers drop, sometimes voraciously.

Even passively listening to music, which never use to make it move much, does now.

Screen time has become very short, less than an hour per charge.

I'm not a gamer. Mostly email, occasional web, yelp, evernote and maybe 20 mins of calls/day, at most. Usually much less.

I lose about 10% on a 6 hour overnight; WiFi, calling and other "radios" are off via Power Schedule.

ViperS 1.6.3 if that matters.
[BetterBatteryStats] It_ler:
Gmail and wifi seem to be the biggest battery drainers ... but you lost 0% battery in more than 3 hours - so there is no real battery drain.

Try another email app with manual pull, and disable/freeze Gmail.

Check that all location service options are diabled.

And if your phone is rooted, enable root options in BBS app > Advanced menu ... and TICK all stats in Dumpfile menu.
[BetterBatteryStats] metropical:
update with enabled root options in BBS app > Advanced menu ... and TICK all stats in Dumpfile menu.

Thanks very,
[BetterBatteryStats] Casanoaa:
Enable alarms and network. Provide an idle log. Unplug and leave phone 4 hours without touch and dump a file.

Disable auto sync of Gmail..

I can't see much more than network traffic is too high.
[BetterBatteryStats] metropical:
what's an idle log?

alarms and network were enabled.

I'll try another dump later or tmrw.

But I'm thinking, that perhaps my batt just can't handle a load anymore, but is OK in idle.
[BetterBatteryStats] nec947:
What is "Sidekick_CalendarIntentService" (com.google.android.googlequicksearchbox.Google Search) ?

It eats up 6.7% of my battery: 1 h 2 m (3720 s) Count: 108 6.7%

It seems to do something with search but I don't search anything within the phone. I even disable the searchbox of my homescreen with Nova Launcher.

Is this process important? How could I disable it? (I am NOT root)

Thanks in advance
[BetterBatteryStats] It_ler:
IDLE = doing nothing with your phone (screen off all the time).

In an idle dump, it is much easier to see the unwanted battery drainers.
[BetterBatteryStats] iamatechnoob:
Is there any way to improve on my deep sleep stats? I've attached my log. Log was taken when I was asleep, data and wifi off throughout, only 2G was on just in case I get emergency calls.
[BetterBatteryStats] yhrn:
The only obvious thing I can see is that you can get rid of Juice Defender. In my opinion, and I think this is also the general opinion in this thread, JD does more harm than good.
[BetterBatteryStats] iamatechnoob:
Hmm, I've been hearing mixed reviews about JD, some say it helps some say it doesn't. But thanks for that, I will try to get rid of JD for a couple of days and see how it goes.

Any other comments on the other wakelocks would be good too!
[BetterBatteryStats] jkc120:
I'd kill for 97+ % deep sleep. I can't crack 90% on this S4 with AOKP.
[BetterBatteryStats] iamatechnoob:
I read somewhere, someone said that as a general rule we should aim for 0.5% drain per hour while phone is in deep sleep. Have you tried the app Greenify? I think it kinda helps especially with apps like Facebook and Twitter and Google Maps.
[BetterBatteryStats] jkc120:
Thanks, hadn't heard of that app. I'll give it a go (hibernated facebook, scramble with friends and theScore for starters). I'll try to do an idle reading tomorrow for an hour after seeing a custom ref point and see what the full log has to say. :)
[BetterBatteryStats] mike216:
This thread changed my life

http://xdaforums.com/showthread.php?t=2357417

SGH-M919_Omega, the end result
[BetterBatteryStats] iamatechnoob:
No problem! Just remember not to hibernate apps that you use very often, like messaging apps (unless you don't mind waiting for it to load), and widgets (else they don't refresh, I tested it myself). I've hibernated quite an amount of apps myself :D
[BetterBatteryStats] red de0392:
M using Android 4.2.2 on HTC One V

And i see that my battery life is not consistent... from 100 to 99 it goes within 10 secs...but it stays at 99 for very long tym...and from 99 to 95 it just drops off very quickly....

i tried various techniques to calibrate battery..like draining completely and charging it to 100% at once

i used this current widget app to calibrate battery... it said do not unplug ua phone until it does not show 0amp on the widget...but i ve charged it for hours...but still it does not show 0amp...

Can anyone please help me with getting proper calibration ??

Thanks in Advance ￼

Cheers
[BetterBatteryStats] iamatechnoob:
If you are using a custom kernel, maybe try using Reset Fuel Gauge Chip option in STweaks if you are using Dorimanx's kernel.

Else try this, seems to work for many people:

http://xdaforums.com/showthread.php?t=1312273
[BetterBatteryStats] nec947:
anyone ?
[BetterBatteryStats] iamatechnoob:
Looks like Nlp wakelock is giving you the most issue? I believe you've recently updated Google Maps right? I had the same problem after updating Maps, the new google location service is supposed to give us better estimation of our location, and faster too, but right now all it does is sap battery lol.

Try going to Location Access and set it to "OFF". Go to Google Settings app and off Location Reporting as well. If you use Maps often then you just gotta wait till Google comes up with a fix, or downgrade your Maps to an earlier version.

Hope I helped!
[BetterBatteryStats] CruxHumanus:
I have a battery level UCCW widget on my home screen. While it's there, BBS is not working. As soon as I remove that widget, BBS functionality is fully restored. Is there a way to make these two operate together?

I use RAZRXT910 with CM10.1.2 on it.
[BetterBatteryStats] metropical:
updated dump - sat overnight

though as I said, I think I may need a new batt
[BetterBatteryStats] Karpfenhai:
take care for your location services, greenify maps, next time tag at least hide tags around your dump and ensure you have a clean reference, this one looks weird. Give better Wi-Fi on off a try, yours seems to be a killer too.

Regards

Same for you, since your dump shows nothing out of the ordinary I would suggest to repeat the test in flight mode,a weak signal could cause this drain.

Tapatalked from my Galaxy SII

---------- Post added at 02:16 PM ---------- Previous post was at 02:14 PM ----------

Gmail, battery monitor widget and whatever kineto is, get rid of it, set Gmail to manual pull.

Don't think it's your battery..

Tapatalked from my Galaxy SII
[BetterBatteryStats] It_ler:
Hmm ... maybe you should have a look at the following apps before buying a new battery:

ccc71.bmw (): Wakeups: 711

com.android.kineto (): Wakeups: 705

bmw seems to be battery monitor widget. Remove it ... or disable auto-refresh/update.

kineto seems to be a wifi calling (voip) app. Disable/freeze it.

And you can turn off wifi (all the time).

And you can try to disable sync of Evernote.

And you can disable Gmail.

Then try again and check your battery life.

If it's still "bad", you can buy a new battery.

EDIT: Karpfenhai was quicker ... but I'm glad that he had nearly the same advices :highfive:
[BetterBatteryStats] D3VILG3N3:
Thanks!

Thx for the quick reply!!

I've already did the test in flight mode and got the same results.

For the record i will do the test again in flight mode en give you the dump file.

cheers
[BetterBatteryStats] metropical:
thank you both.

Changed Evernote sync, didn't realize it was on.

Turned off auto sync Google everything..

I guess BMW serves me no real purpose at this point, so it's gone. Couldn't find update settings for it.

WiFi Calling is only on when I need it, though perhaps it is "on" even when I'm in radio silence, like over night.

I turn off all radios via Power Schedule from1a to 7a.

I'll look into Greenify as well.
[BetterBatteryStats] guido_glx:
Ok, here's my log, 8 hours idle.

I know gmail is waking my phone up, but I need it.

Is there anything else I can do to improve battery life? Thanks! :good:
[BetterBatteryStats] It_ler:
Looking very good IMO :good:

Maybe you can disable some autostarts of Google Maps (link to Karpfenhai's description is in post #3).

Can't find anything else (apart from Gmail ... that you already know about).
[BetterBatteryStats] MetalicMan:
Here's one from this night, airplane mode, no gmail or other apps sync, I lose 3% per hour, tried different batteries, dif roms, nothing seems to work
[BetterBatteryStats] It_ler:
Ok, unfortunately there are no alarm stats in your dumpfile.

Have you enabled root option in Advanced and TICKED all stats in Dumpfile menu in BBS?

The battery loss can not be explained by the very small difference between awake time and screen on time.

So the wakelocks and alarms seem to be not the main problem here.

How old is your battery?

Maybe you should check again with another or new one.
[BetterBatteryStats] LeoRex:
Turn it off? :) 98.8% Deep Sleep.... You are going to be hard pressed to get better than that, considering that the only real source at this point is gmail and your OS. If your battery life still stinks with the phone, essentially, sleeping the entire time, then it isn't the software doing it.

---------- Post added at 10:41 AM ---------- Previous post was at 10:34 AM ----------

I agree with It_ler in that your phone shows that it is sleeping nearly 99% of the time, with only a handful of wakeups... It screams 'BATTERY!' to me as well. A 1500mah battery on a sleeping phone, shouldn't burn through at 3% per hour.

How old is that batt?
[BetterBatteryStats] guido_glx:
Yes, you're right... I've just disabled Google Maps and some entries of Google Service Framework

Tonight I'll make another log to see if there's any difference

Hmm... that's what I've been wondering... is it ok to loose 0,9%/hr when deepsleeping 98.8% of the time?

Perhaps my phone needs a new battery
[BetterBatteryStats] jkc120:
Yeah, I figured it was essentially freezing and unfreezing when you try to open it, so I only hibernated things that I don't a) want notifications for and b) don't want running unless I want to open it. For example, I don't use facebook to get notifications, but do occasionally use it to view a photo my wife posts so it's really on demand for me and I rarely use it. For a while I had been freezing it manually and unfreezing when I wanted to do something with it, but that was obviously a PITA :)
[BetterBatteryStats] jkc120:
1.4%/hr on wifi in poor signal area - ok or room for improvement?

So I installed greenify and hibernated a few apps.

I set a custom ref and the phone was idle 99% of the time (turned it on 2x to close an MMS popup message, that's it) for ~1h 24m.

During that time it dropped at a rate of 1.4%/hr. I know this was probably not a long enough idle time to make that number significant, but I would appreciate any feedback on my BBS dump (I think I enabled all the dump options, but please let me know if I'm missing anything).
[BetterBatteryStats] Karpfenhai:
Turn off Wi-Fi, see what happens, (deleted wakelocks + drain).

Tapatalked from my Galaxy SII
[BetterBatteryStats] jkc120:
So you think that it would use less battery on a marginal 4g signal with wifi disabled than with wifi on and all the wakelocks due to the broadcast traffic/etc on my corporate wifi? So wifi is really the only big battery hog in my case?
[BetterBatteryStats] mike216:
Wifi should use less power because your router should be doing all the muscle. If you have some wifi bugs I would suggest trying a different kernel or worst case scenario try using your 4g if you have to

SGH-M919_Omega, the end result
[BetterBatteryStats] jkc120:
Right, that's what I was getting at. Nominally, wifi should use much less power than 4g. I guess the only way I'll find out is to try idling on 4g for roughly the same amount of time and comparing the battery drain. Sitting at about 89% deep sleep (1.2%/hr) now when idling on wifi.
[BetterBatteryStats] chamonix:
My quota is expired. Please some give it_ler his deserved two thanks for his involvement on xda and join me in congratulating him for his 10000
[BetterBatteryStats] Tungstwenty:
Done, congrats [MENTION=4229457]It_ler[/MENTION] :)
[BetterBatteryStats] It_ler:
Thanks for pointing me not to miss my own party :highfive:

Although Post and Thanks count are just numbers, I am a little bit proud that I could help some other users ... and friends :fingers-crossed

EDIT: Now my Thanks meter is full ... :o
[BetterBatteryStats] kozmo21:
Under your name "Recognized Contributor" fits you :victory::victory:
[BetterBatteryStats] MetalicMan:
Hi, and thanks for your input!

I have this battery since new (Nov 2012), and I'm not a heavy user. Only calls and sometimes wifi! I tried with a 2340mAh aftermarket battery and the % drain is the same!!

I have root activated on Advanced, but can't see the other option in dumpfile!!

Thanks again

---------- Post added at 08:06 PM ---------- Previous post was at 08:00 PM ----------

Yep, it's really strange!!

Bat is from NOV 2012, and tried some aftermarket 2340mAh with same results... Phone broken???
[BetterBatteryStats] It_ler:
In BBS app > menu > Dumpfile > TICK all options.
[BetterBatteryStats] higginmi:
bad drain recently

Hi,

I'm using a Razr i and used to enjoy about 18 or 19 hours of what's probably classified as medium usage - checking emails, a bit of web browsing, good bit of txting, a couple calls, some wifi at home, using bluetooth in the car to play music and maybe about 20 minutes of games.

The last few days my battery life has dropped significantly. Today I am down to 10% after 11 hours 40 minutes of pretty light use. Recently I got bored with the look of my phone and downloaded Nova launcher to use a nice icon pack I found on the market. This meant my nice Moto circles widget was unusable so replaced that with a UCCW widget with battery, clock and weather. Also I have started using Next browser instead of Opera, and probably installed a couple of other new apps which may be affecting me.

If anyone can look at the below and tell me what's causing this sudden dive in battery performance I would be extremely grateful. I can see BBS that the phone was awake for 5hours 44 minutes but the screen was only on for 2 hours 40, which is ringing alarms bells for me. Attached is my dumpfile, if someone could help that would be great!
[BetterBatteryStats] It_ler:
Please provide an idle dump ... it's a lot easier to find unwanted battery drainers when you do nothing with the phone (screen off all the time).

And turn off bluetooth if you don't need it.

EDIT: Idle time should be at least 4 hours to have reliable stats.
[BetterBatteryStats] higginmi:
OK I'll do that and report back with a new dumpfile.

What's the best way for me to get a wokable file for you. Can I save a dumpfile as soon as I unplug my phone after charging for the night or do I need to have it unplugged for a few hours without going near it and then save the file?

Thanks fo the assistance.
[BetterBatteryStats] It_ler:
To have reliable stats, you need to run for at least 4 hours.

So charge, unplug, reboot then turn off the screen and let the phone alone for about 4 hours.

Then unlock the screen and save the dumpfile.
[BetterBatteryStats] humy456:
Hello again.

Need help with my dump. Losing 3 percent battery for 5 hours sleep.

thanks in advance
[BetterBatteryStats] Karpfenhai:
Hmm, since 4g uses more power in comparison to 2/3g I would try to find a way toggling 4g of while screen is off, should work on aosp Rom.

For notifications / mails it should be sufficient.

Tapatalked from my Galaxy SII

---------- Post added at 07:24 AM ---------- Previous post was at 07:21 AM ----------

C'mon mate, stop trolling...

Nothing to worry about..

Tapatalked from my Galaxy SII
[BetterBatteryStats] humy456:
:angel: is that normal? because i've all messengers hibernated (except whats'ap), how bout if i try different kernel?

last time I tried jebo kernel, but i was stuck on boot screen after flashing it thus, i reverted back to stock kernel.
[BetterBatteryStats] Karpfenhai:
Oops, there is a problem, try another battery, might be a hardware fault..

Have you tried a clean install?

Tapatalked from my Galaxy SII