yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] AssToast:
I would say the issue is your battery or your usage because app wakelocks are only 40minutes and 20 other minutes are Wi-Fi 1 hour wakelock is pretty normal and half the app wakelocks are music or sound playing

---------- Post added at 05:02 PM ---------- Previous post was at 04:57 PM ----------

Normal stats I would say since only 8 minutes awake
[BetterBatteryStats] frigidazzi:
Any idea what finger print scanner static from Google plus is ?
[BetterBatteryStats] joshdax2:
I had 8% drain in that test. Is that normal? I had seen people only had 1% percent battery drain overnight. I turned off possible setting in settings, greenify, system tuner so less no wakeups for com.sec.android.gsf, freeze maps, change my modem to fit my country's code etc.
[BetterBatteryStats] AssToast:
It's not always Android's fault for battery drains, battery ageing causes the capacity to become less thus it looks like you are losing more battery life

Changing your battery should help, S2 also have major heat issues which causes even faster battery drain and degradation if you are doing something resource intensive

That's why they made the i9100g with tweaks to lower the heat, that's what I heard
[BetterBatteryStats] PGZ001:
Hello to every one!! just purchased this app to check out what's draining my battery so fast... i'm running this rom since this night .... my device it's also rooted, but when it comes to BetterBatteryStats and i select Process it says "this app requires root" :confused:

i don't get it... what am i missing??? can anyone help me out??? thanks!
[BetterBatteryStats] chamonix:
if you are using pre-1.16 you must explicitely enable the root features from the advanced preferences
[BetterBatteryStats] joshdax2:
that's what I thought. I even tested every kernel there is to it for s2 so I thought it was odd that I was still getting battery drain and average screen on time. hmm so my battery is on its way out. I should buy one soon. Thank you for telling me this. I'm more confident now in buying.

come to think of it, my battery has this little bump on its front
[BetterBatteryStats] AssToast:
That's a sign your battery should be kicked right out from your house, it's getting fatter :P

PS Battery bloating is bad
[BetterBatteryStats] wilflare:
anyone still has a link to Casanoaa's Autostarts setting?

The above post only has the options for System Tuner

with App Settings (Xposed Module), Autostarts, Disable Services

which one am I supposed to use?

Do Autostarts and Disable Services do the same things?
[BetterBatteryStats] qwerty22:
Users log (Android 4.3):

======================
Alarms (requires root)
======================
com.google.android.gms (): Wakeups: 536

com.noom.walk (): Wakeups: 514

com.levelup.touiteur (): Wakeups: 303
...

When do you plan to fix this problem?
[BetterBatteryStats] PGZ001:
yeah that was the problem i've found that lately.. thanks anyway :good:
[BetterBatteryStats] wilflare:
hmm. should I disable Google Analytics option?

what is it for anyway?
[BetterBatteryStats] lukaaa47:
what does pkt_cnt_sample_interval_elapsed in android alarms stands for? i cant get rid of it
[BetterBatteryStats] chamonix:
It is fixed in 1.16B3 that I am currently testing for some performance improvements. When will it be release? Well, you know that asking about ETA is considered to being rude right? ;)
[BetterBatteryStats] qwerty22:
Rude?.. Excuse me, I do not know...
[BetterBatteryStats] m1trand1r:
Oh...we have some rules....and we simply don't ask for ETA's because everyone is doing everything in their free time and they(devs) are not bound by release dates and such....hence asking for eta's is considered as rude:)...

If you don't know....you didn't read the "Rules" :p

Beam-ed through your pineal gland via//Android 4.3.1:p//
[BetterBatteryStats] Perseus:
+1 to ^^^^
[BetterBatteryStats] skorms:
Battery

My battery seems to die after an hour...
[BetterBatteryStats] mdamaged:
My cat pees in my shoes.

You wanna try and elaborate? Maybe post a dump?
[BetterBatteryStats] ZDeuce2:
^^^lmfao^^^

Infamous, the dynasty of development.
[BetterBatteryStats] FuMMoD:
Well at least you were more detailed. We know you have a cat. He/she tends to pee on objects. Your cat prefers your shoes over the rest though. Can you provide a Peecat.... Erm I mean logcat? ;)
[BetterBatteryStats] mdamaged:
Too late, he just posted a dump of his own in my sock drawer. :mad:
[BetterBatteryStats] matthias1976:
last complete charge no problem !?

ill hava look at it !!
[BetterBatteryStats] tsiftsism:
I'm not familiar with BetterBatteryStats and its readings so i'd like your help.

Since 3am i charged my Nexus 4 i almost didn't use it but as you can see the battery has been drained. Does that 'msm_camera' mean that the camera (which i haven't used it) have drained all the battery?

What should i do? If i charge the device the issue will be gone?
[BetterBatteryStats] Perseus:
Kernel wakelocks even though large, are not the only cause of drain. They are Symptomatic of the bigger problem. Please post a complete text Dump, preferably from Idle state.
[BetterBatteryStats] tsiftsism:
Ok, sorry for my incomplete post. I now read the op which explains that in order to find out what causes the drain we need a dump file (i don't know what it is though, i find such an option in app's settings).

I'm now charging the phone since i run out of battery, so when i unplug it and the problem is still there, i''l do what you suggested.

Thank you.
[BetterBatteryStats] cboss718:
Anyone? Please.
[BetterBatteryStats] Perseus:
Please turn off location Service then Reboot.
[BetterBatteryStats] cboss718:
Just did it then checked BBS, still draining smh
[BetterBatteryStats] tsiftsism:
I charged the phone, and even though drain is not as much as in the before, i have left with 54% in ~7.5h

I hope the file i attached is what needed.

Thanks.
[BetterBatteryStats] Karpfenhai:
Hmm, based on your dump it's quite hard to tell, sure there are issues like usual location overhead but since your phone isn't sleeping at all these could be side effects, I recommend a reboot and a run without Wi-Fi, did you disable Wi-Fi scanning within it's advanced settings?

Get your device to sleep first, then we will take care for the test.

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] tsiftsism:
I knew that a reboot was needed but i didn't do one on purpose, so to get another sample of readings.

I'm rebooting right now, will charge the device and will come back tomorrow with new readings.

Wi-Fi scanning is disabled.

Thanks a lot.
[BetterBatteryStats] Perseus:
Also Set "Keep Wi-Fi On During Sleep" to Never. Try to leave the phone alone overnight after the Reboot.
[BetterBatteryStats] JJ2525:
Hi,

First of all, great app. It's really helped me to understand my device better. Per the instructions in the OP, I have attached the txt file of my phone 1.5 hours in idle after charging. I wanted to see if you guys saw anything in my log file that could be improved upon. Is 85.7% deep sleep ratio good? It says the device was awake for nearly 13 minutes. I literally unplugged the device, didn't touch it for 1.5 hours and then retrieved this log file. 1.3%/hr battery loss is far better than what I'm used to. But now, I'm wondering if I can minimize that even more.

Re: Partial wakelocks. I know there has obviously been a ton posted about the AudioMix, Mediascanner, and NLP wakelocks. Has there been a definitive way to lessen the effect of these? I've put a wakeblock on audiomix and mediascanner (which seems to only run rampant after I've just turned my device off and back on, which seems normal). My location is on battery saving and I have all sounds disabled, if that helps.

Thanks for any and all help!
[BetterBatteryStats] Perseus:
First off thanks for doing the research. That helps a lot.

Indeed there's ways to reduce Partial Wakelock impact. If you use "Kill Mediascanner" app, it will control that process. NLP (Network Location Provider) is mostly used by Google Location Service unless you are navigating. So Turning Off Google Location in the "Google Settings" app does help. Otherwise you could take the drastic step of turning off Location Service alltogether.

From your log, 1.5 hours is too less but I will see what I can. Your top wakelock is NLP. You see there's "googlequicksearchbox.Google Search" in the Parenthesis ? Well that typically indicates Google Now. Since you were Idle, it would be your Launcher. Google integrated Google Now into the stock Launcher. So now the launcher wants your location. Only solution is to replace the launcher with a lightweight alternative. Next look under Alarms. These are not Alarms like an Alarm clock. But rather IRQ interrupts. So whoever has highest alarm is bad. Your case Lightflow is the culprit. So take care of these two and watch the magic happen!! :D
[BetterBatteryStats] JJ2525:
I will give the kill mediascanner app a shot so I can stop mediascanner. Thankfully, mediascanner seems to only run excessively after I've just rebooted the device.

Do you have a recommendation for a good lightweight launcher? It looks like an app called 'Zeam' was quite good but is no longer under development.

Re: Lightflow, is there anything I can do to lessen the impact of the app rather than disabling Lightflow altogether? The notification led is one of my favorite android features!

Thanks again.
[BetterBatteryStats] Perseus:
Mediascanner is meant to run at boot. It just should not run for more than a couple of minutes. If you have a large music collection or have made changes to the collection then it may take some time. But that should be one time only. Zeam is my default launcher. Its not under development but its rugged and exceedingly stable. If you like lightflow, well then you can keep it. Afterall a Smartphone should be used as such. So long you make an informed choice, my job is done.
[BetterBatteryStats] Unuce:
Hello to all is this normal?

https://www.dropbox.com/s/0mjs1dtlchp22lo/BetterBatteryStats-2014-03-18_185116094.txt

https://www.dropbox.com/s/r2eevbnfd1xwlv2/logcat-2014-03-18_185116177.txt

I have a feeling that my battery just drain like a crazyy

Sent from my GT-I9300 using Xparent Blue Tapatalk 2
[BetterBatteryStats] GrayJack:
Don't know was it reported or no, but if one tries to open BetterBatteryStats during charging all profiles except "current" will disappear.

The only way to get them back is to uninstall and install the app once again.

Quite annoying issue!
[BetterBatteryStats] chamonix:
I can not confirm that. Any one else with that problem. Can you please plug, open BBS, unplug, refresh and post a dumpfile and a logcat when you reached the point where current is the only Reference available?
[BetterBatteryStats] GrayJack:
Hm, man, after clean installing the latest beta because of above mentioned issue I cannot reproduce it any more also.

This is really good news and I am happy with it - sorry for disturbance.

I will certainly make a dump and logcat if the problem appears again.

Thank you and sorry once again.

---------- Post added at 11:37 PM ---------- Previous post was at 11:33 PM ----------

Actually I can restore my Titanium backup with reported issue and make some logs - but I don't think it is necessary because clean new installation is OK, isn't it?
[BetterBatteryStats] S2580:
Hi there, I've been a long time user of BBS and its one of my most used apps I think, and I usually sort all my issues out myself. I've recently reverted back to a stock samsung rom due to bad battery life with others, but the battery life seems even worse now, even testing different Kernels doesn't help at all.

If someone could take a look at my text file it would be hugely appreciated. Its from when i unplugged my device, before i went to sleep, so it was on for over 7 hours, very rarely in Deep Sleep during that time. Thanks
[BetterBatteryStats] tsiftsism:
Hello again,

it seems that rebooting the phone killed this 'msm_camera' process and now it getting into deep sleep. So, i assume that now is everything ok, even though i can't understand what caused it!

Thanks all for your help.
[BetterBatteryStats] Karpfenhai:
Nope, it's not, we can now elaborate your real issues, starting with the usual advice for location services, read the op for the basics and post another dump then,

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] tsiftsism:
By "starting with the usual advice for location services" do you mean that i must disable Google Location Reporting (both location reporting and location history)?

Cause those parameters are already disabled (off).
[BetterBatteryStats] LiquidT:
hey guys. I'm needing someone to look at my BBS again, and point me in the right places o fix my battery drain. Here are some screen shots of what is set in my wakelock blocker in settings on liquidsmooth rom. I'm using quantum kernel 3/16, but it did not matter if it was the quantum or CM kernels the same battery drain is going on.
[BetterBatteryStats] Karpfenhai:
Yeah, but that's not all, you still have an overhead from almost 3 hours but we need an idle dump for valid advice.

Tapatalked from my Galaxy SII

---------- Post added at 06:38 PM ---------- Previous post was at 06:35 PM ----------

You did something wrong, it's not recommended to simply cut all wakelocks from certain apps/services by a razorblade.

Better to read the op and disable certain receivers to not lose all functionality and prevent useless connection attempts as we can see in your file.

Start from scratch, one by one.

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] tsiftsism:
Ok, I'll charge it later, I'll give it some time (~ 4hr) without using it and then I'll post in here again the dump file.

Just please tell me, after charging it, in order we have a proper dump file, do I have to set both WiFi and data off?
[BetterBatteryStats] Perseus:
Please Turn off Google Location Reporting. If you don't know how to do that or it is already off then turn off Location Service alltogether. Also Turn Off Android Sync for all accounts.

Don't do that. Android will go ape trying to ping Mothership. Turn off Data and Keep connected to a Wireless. Make sure the Scanning and "Keep WiFi On" options are set correctly.
[BetterBatteryStats] cboss718:
To Perseus and anyone else wondering, I think I finally may have fixed my wlan_wake issue. The wakelock has drastically decreased ever since I disabled the "Auto-Network switch" in my Wi-Fi settings. My phone finally sleeps a alot more. Thanks for all your help.
[BetterBatteryStats] tsiftsism:
Good morning.

I attached the latest dump file. WiFi was enabled and connected to my home's wireless router while data wasn't.

Only thing i'd like to mention (and i wanted you to tell me if i'm wrong) is that scanning is disabled, BUT Keep WiFi On during sleep is set to Always because i'm always in places that have wireless router (home, work, cafeterias i'm visiting etc.) and data plan which in Greece is limited and expensive is only working when i'm outside and WiFi can't connect to a router.

So i always want my Wi-Fi to be On and never get sleeps so i can get notifications.
[BetterBatteryStats] JJ2525:
I submitted another dump file of 2.25 hours idle, untouched after charging.

For partial wakelocks, everything seems to look good. The two NLP wakelocks didn't seem to do too much damage, with 1 at 1m42s and another at 30s in over 2 hours. What seems to keep me from truly elite battery numbers is in the alarms section, with lightflow and com.android.gms.

Is there any way to lessen the drain of lightflow, or it's pretty much if you elect to use it, accept the battery consequences?

What is com.android.gms? What are all the processes that seem to go on under the com.android.gms umbrella in alarms? How do I go about lessening these?

Is an 83.9% deep sleep ratio good, or is that subpar?

Thank you.
[BetterBatteryStats] Unuce:
Someone help? :(:banghead:

Sent from my GT-I9300 using Xparent Blue Tapatalk 2
[BetterBatteryStats] cboss718:
I may have jumped the gun, the wakelocks returned today. I'm done trying to fix this.
[BetterBatteryStats] dimm0k:
curious, how does one know what's generally normal? perhaps that would give a better idea of what needs attention and what is normal...
[BetterBatteryStats] ottoasd:
Hi guys, can anybody help me please about my battery stats. I make a dumpfile for about 12 hours of my daily use. Level lost is 3,4%/h. I'm not sure if it is good, also awake time is almost 2 hours with screen on time only half an hour. Thanks in advances..
[BetterBatteryStats] Perseus:
Please Turn Off Location Service or turn off Google Location Reporting. Reboot and take another overnight log.

Please Turn off Location Service. Either remove Favorite Contacts or reduce their Sync frequency.

DO NOT Post the whole long Log Verbatim. Use Hide Tag instead.

Were you on Phone for 10 minutes but the screen was on/off intermitantly ? There are other distracting issues that hinder isolating core issues. Please Post an Idle Log. Hopefully overnight.

Do you also have signal issues ? Please connect to Wireless and turn off Data for the Idle log. Also freeze Google Play Service and Reboot.

Please Turn off Google Location Reporting, freeze Google Play Service and Turn off Sync for Yahoo email. You can manually sync it.

Reboot and provide another log please.
[BetterBatteryStats] tsiftsism:
Google Location Reporting is turned off from the 1st day i flashed CM rom (both Location Reporting and Location History).

Location Service is On because i want my weather widget to be updated and i use a lot Sygic navigation application.
[BetterBatteryStats] chamonix:
I would say method and experience (own and acquired by reading posts, code, etc.)
[BetterBatteryStats] hawkdown77:
Is there a substitute for betterbatterystats on 4.4.2?? I lost all functions when i update my Android. I dont have root.

Enviado de meu XT1058 usando o Tapatalk 2
[BetterBatteryStats] mdamaged:
No root, on 4.4.2, no battery_stats, no substitute for non-root. You have google to thank for that.

It may be possible to push or flash the required files into /system/priv-app/, but you would need an unlocked bootloader.
[BetterBatteryStats] francwalter:
Possible that the watchdog still doesn't work properly in version 1.16?

I get 100% warnings (ok, no e.g. 645000% warnings anymore) but in the app I see only less than 50% (50 is my threshold) awake:

The issue #443 (I think) is "solved", but maybe not?

Seems to me as if the calculation is wrong.

Thank,

Frank
[BetterBatteryStats] chamonix:
Beta 3 is up. See the changelog for the list of fixes / improvements
[BetterBatteryStats] chamonix:
I have re-opened the issue and will do some testing. It would be great if you could also post a logcat
[BetterBatteryStats] Silentbob999:
Hi [MENTION=1330150]chamonix[/MENTION] ,

kufikugel told me that my log show a possible problem with your app. I got a reboot. See detailled report below.

EDIT : BetterBatteryStats xda edition 1.15.0.0

Thanks you.

Bugreport : https://www.dropbox.com/sh/ffda8pffhzvxldi/M9ZYYou4Vs

quoted from there : http://xdaforums.com/showpost.php?p=51261345&postcount=8577
[BetterBatteryStats] mdamaged:
Much faster, thank you!
[BetterBatteryStats] Silentbob999:
was on BetterBatteryStats xda edition 1.15.0.0, now updated on 1.16 B3.. anything special I nead to check to see if there is still problem ?

I guess the `system app` process will somehow fix my problem...

Sorry for my bug report for an outdated version ;)
[BetterBatteryStats] mdamaged:
[MENTION=1330150]chamonix[/MENTION], Not a huge deal, but it seems sometimes when I switch to "Other" or one of the other stats, I get a "Battery Service could not be contacted" toast, and no info shows up, refreshing seems to fix the stats not showing up. On beta 3, N7 2013, stock ROM. rooted, installed as system app, have rebooted.

To reproduce just switch between stats one after the other.
[BetterBatteryStats] guido_glx:
Same here, much faster than B2 :good:
[BetterBatteryStats] francwalter:
OK, will reproduce it and post a logcat after.
[BetterBatteryStats] Silentbob999:
Just a suggestion.

When we hit "install as system app"

can it also save a backup script in addon.d ?

This would be nice.

ty
[BetterBatteryStats] ayoubij:
what is the least battery draining email application? can you suggest an email app?

also which to choose between POP3 and IMAP for better battery savings?
[BetterBatteryStats] hoopas:
I found the K9 email app to be good. Give it a try:thumbup:
[BetterBatteryStats] ayoubij:
Hey bro in K9 mail I choose to confirm action: for delete (in message view and from notification) but still when I delete an email, it directly deletes without confirmation.

How to solve this :crying: sry for OT

I seem to get FC randomly for Exchange services
[BetterBatteryStats] chamonix:
First, thanks for the detailed report!

I have not changed anything specifically to root handling in 1.16B3 and from the report that seems indeed to be the problem. I use an external helper lib together with a singleton implementation to keep a root shell open all the time so I guess that may be part of the problem. I wil try writing a unit test to reproduce the problem first and then look for a fix based on that as I think that would be more efficient than debuging.

From what I read it seems that you use BBS with root but without having it installed as system app (the logs show that the partial wakelocks are obtained using dumpsys and that would be the fallback method). Is that intended?
[BetterBatteryStats] Tbbo514:
this might be bad but I didn't use my phone much but to text and watched like one or two youtube videos hd and googled a few things . idk I think the sleep cycles are good but its when its awake that its bad I find myself doing little things like texting and googling something and the battery drains quickly I wouldn't think texting would be something that kills it so fast I don't text like a teenager buut I do text
[BetterBatteryStats] dimm0k:
so I finally got around to getting the phone idle overnight to get some readings... is there anything else I can do to get Better Battery Stats?
[BetterBatteryStats] wizardcud:
I don't understand how screen on can be this huge. I just bought my phone and I loosing battery really quickly with an average use. I'm on a non rooted stock
[BetterBatteryStats] AssToast:
1 hour partial wakelock is okay IMO if you have google location on and some other app sync

Most of your wakelock are from Wi-Fi and msm, no idea what causes the msm one

Try disabling Wi-Fi scanning in settings and see if it helps

Sent from my XT1033

---------- Post added at 01:08 AM ---------- Previous post was at 01:05 AM ----------

It depends on what you are doing while screen on or your battery is defective

Sent from my XT1033

---------- Post added at 01:14 AM ---------- Previous post was at 01:08 AM ----------

Time to get a new battery If you think it's not good enough

Nothing much you can do unless you are willing to disable google+ sync which is the major part in partial wakelocks but 30mins is pretty good IMO and I think it wouldn't have any major results

Sent from my XT1033
[BetterBatteryStats] dimm0k:
Thanks. I suppose my true intention was to see whether or not my readings were "normal" or not and judging from your statement it is. Wish I could turn off google+ sync, but searching on the Internet points google+ sync to the autobackup of photos, which I have turned off. Not sure what else it could be...
[BetterBatteryStats] josepr2012:
I just updated to 4.3 on my note 2 but sadly my battery life is not good. ..this is what I found for now...any tip or recomendation to fix this will be appreciated.

Thanks

Sent From my Note 2
[BetterBatteryStats] nateohio:
I'm having a partial wakelock (PhoneApp) that is staying awake persistently. As you can see by the provided screenshots, out of about 12 hours off the charger today, my phone only went into deep sleep for about five minutes.

I've also attached the dump file along with the log cat from better battery stats to try and figure out what process is accessing the phoneapp wakelock.

I'm really hoping that someone better than me at interpreting the files can figure this one out.