yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] chamonix:
I have been thinking about this for a while but haven't found the right user stories yet.

If you or anyone else have ideas we could discuss scenarios
[BetterBatteryStats] Karpfenhai:
Oh wow,y that's tremendous.. first of all, disable all those syncs, they may cause the main culprit, does the suspend backoff persist in flight mode?

It usually points to a sensor going mad, hard to tell.. take another reading after disabling sync.

Tapatalked from my Galaxy SII
[BetterBatteryStats] LordDeath:
Let me try some. :)

User wants to see how much his battery has aged and he compares his battery stats with his previous stats.

User compares his own "battery timeline" with the average or median timeline created from all other users with the same device.

User wants to see the effects of his CPU undervolting and compare it with the stats from the stock voltage.

User wants to buy device A or B and he searches and compares both devices in the web interface.

User selects an app and compares its battery consumption with the data from the other users who have the same app installed. This way he can see if the app is generally very battery consuming.

This may sound like a lot work but it I think that this is currently a gap in the smartphone market. This would also expose those manufacturers who choose to build phones with non removable batteries. Batteries are wearing parts and we shouldn't get used to these devices with a planned obsolescence.
[BetterBatteryStats] azeem40:
My Wi-Fi was set to always stay awake when screen off. Didn't think of that, but I never had a problem leaving that on Always before. I have used the same kernel and ROM as well.
[BetterBatteryStats] Karpfenhai:
No, I mean this "feature";

Hint, scanning..

Tapatalked from my Galaxy SII
[BetterBatteryStats] azeem40:
Yeah, I kind of figured that out a little bit before your post. Weird that something about performance led me to unticking that option. Heh.

EDIT: Also, oddly enough, this resolved my severe suspend backoff wakelock problem.
[BetterBatteryStats] billab0n6:
help

Hi can anyone take a look at my dump file?
[BetterBatteryStats] chamonix:
Add the possibility to make stats per device and ROM and have a crowd contributed knowledge base and I am totally buying it!

Time to refresh my rusty backend coding skills ;)

It happens that I have starting to refresh my skills for that for a completely different topic and I guess I will go there. The infrastructure costs scare me a little though
[BetterBatteryStats] Karpfenhai:
Time to take over the Apple store.... :cool::D

Tapatalked from my Galaxy SII

---------- Post added at 09:39 AM ---------- Previous post was at 09:36 AM ----------

This dump is invalid b/c we are not able to divide wanted from unwanted activity, read the op again with care.

Hint, better Wi-Fi on off may help you with Wi-Fi caused drain (deleted wakelocks)

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] Deni_NS:
Hmm don't know is it a bug or not?

The app isn't showing the real percentage of deep sleep. Version 1.14.0.0

It shows 19.2% instead of 78.6%

I didn't have problems with 1.13.4
[BetterBatteryStats] andreasy:
Here is an image. I've searched everywhere and there is no single reference of this.

Finally, I understand that this might be something new and normal users may not know about it so for this reason I want to direct a kind request to the developer or other people with in-depth knowledge in wake-locks to let me know if this is an unknown wake-lock so that I can stop expecting any information from here.
[BetterBatteryStats] foosion:
Any suggestions for fixing this?

I tried turning off Google apps location services, which resulting in 1%/h. Not sure if this is margin of error or a real improvement. I'll try turning off all location services, but that is not an optimal solution for me. I used to have location services on when I was getting 0.5%/h.
[BetterBatteryStats] Karpfenhai:
What about simply disabling the glance view app? I guess these are the cost for your fancy notification tool..

Btw, is it a note 2 or galaxy s4?

Tapatalked from my Galaxy SII
[BetterBatteryStats] hlb3:
Had it happen on my tablet, haven't seen it on my Galaxy S II though.
[BetterBatteryStats] Thomas1:
Hello everyone,

This night my GS2 went from 100% to 0 in less than 8 hours. I ran betterbatterystats but it's kind of weird because nothing seems out of place.

Wifi, BT and GPS were off for the night, HSDPA was on but only 10mb was downloaded during the night so I don't think it's the culprit. I listened to the radio before sleeping and set a 30min sleep timer so nothing wrong on this wakelock either.

At first I was very surprised by the wifi lock/wifi scan counter since I remember turning off wifi and the built-in android battery manager clearly shows that wifi was off but I just read the changelog and it looks like it's a known bug that has been fixed in the last version.

In the end I've no idea what happened. I hope someone will be able to help.

Thanks a lot in advance and thanks to the dev for this app !
[BetterBatteryStats] reinbeau:
Even the clueless can make progress....

I am baffled by any of this power stuff, but I finally used the program and given what I've seen here about wakelocks, looked at that list and noticed the highest, longest duration partial wakelocks were BeWeather - I had a widget on my screen. I was having lots of sleep deaths - removed the widget, the phone has been up now for over two days with no issues.
[BetterBatteryStats] yhrn:
Finally got a chance to change the DTIM to 10 on my office router but that didn't do any noticeable difference for me; still bad drain and suspend (and tvout resume wo) going up rapidly. Might be that experimenting a bit more with the router settings could give some result but since it's in the office I can't really do that.

---------- Post added at 04:20 PM ---------- Previous post was at 04:06 PM ----------

What do seem out of place is that the phone has been awake the whole time according to BBS. You could have been able to find something under kernel wakelocks but that stat is lost on reboot so if your phone died you're out of luck. Otherwise, check kernel wakelocks (added in BBS 1.3, working well from 1.4).

"Actions->Dump to File" in BBS gives a file suitable for posting if it makes no sense to you.
[BetterBatteryStats] Homeuser66:
Ok, What am I doing wrong? When I try to download this app from Page 1, 2nd post. It says it's not supported on my Samsung Galaxy S2. I tried to download it on my computer and its a .apk file...which won't open....
[BetterBatteryStats] :
Works fine on my S2 (GT-I9100).

DL apk to phone and install as normal.

As mentioned in that thread Root Explorer, et al, is also an option.
[BetterBatteryStats] yhrn:
Not trying to be rude :) but you do have "Settings->Applications->Unknown sources" checked, right?
[BetterBatteryStats] 513263337:
Thanks for the great app!!!
[BetterBatteryStats] Homeuser66:
You're not rude, you're trying to help me. This could have been overlooked, but it's not..I have it checked...here are the screen shots of what I am getting..
[BetterBatteryStats] RampageRR:
I don't have the same phone as you, but does yours usually just refer to the apk as "attachment"? Mine usually has the filename.apk listed. Could you have a bad download?
[BetterBatteryStats] Homeuser66:
I'm not sure...I have tried to download this about 20 times already...getting the same error everytime...Ohh, and I am not on a rooted phone...just want to throw that out there...
[BetterBatteryStats] :
DL the apk to your PC and then transfer to your phone; in case you haven't tried that already.
[BetterBatteryStats] Homeuser66:
Actually haven't tried that...I did download it then deleted it, as my comp wasn't able to open it...lol...will try that again...Thanks!
[BetterBatteryStats] :
No need to try to open the apk on your comp, leave it as is.
[BetterBatteryStats] Homeuser66:
Thanks! Got it now. I thanked you mudferret, I wonder why I couldn't download it and install it from my phone?
[BetterBatteryStats] :
Not sure; I don't have a problem downloading with the XDA app, but if you were using a browser some don't like to make DL'ing easy.
[BetterBatteryStats] Homeuser66:
I must have been using a browser, as I just clicked on the link in my email, and came directly to the website...all good now...lol..thanks again!
[BetterBatteryStats] grgsiocl:
The file has not been downloaded and this type of errors generally occurs when you try to download from stock browser. Either download it to computer and push the same to your phone or else use opera mini to download the file.
[BetterBatteryStats] Homeuser66:
Thanks....got it now...
[BetterBatteryStats] yeahmann:
My event log service is out of control even with sync off. Any ideas?
[BetterBatteryStats] chamonix:
I will look into it before releasing. Thanks for reporting!
[BetterBatteryStats] andreasy:
But that's why I ask. There is no such app so I don't have anything to disable. If it is indeed the s view, the only option is to auto unlock. I disabled that temporarily to test but I don't know if it's that.
[BetterBatteryStats] Karpfenhai:
hmm, hard to tell, on my colleagues s4 which magnet flip cover there is no such wakelock and he has the feature enabled.

Maybe it's worth to try a fresh start, make a backup, flash new Rom..

I recommend the pure Google edition, good start would be superdroid v4, unfortunately development had stopped.

Good luck!

Tapatalked from my Galaxy SII
[BetterBatteryStats] chaitanya87:
Hi

Can someone tell me what is draining my battery?

http://pastebin.com/wCXsPuXH
[BetterBatteryStats] Tokarin:
Please update the plays tore version for donated users as well if you don't mind. I really hope there is a more convenient access to betas than only downloading it from this thread.
[BetterBatteryStats] pjadec:
Loaned from GermainZ

Post an idle dump (screen on time shuoldn't exceed 1 minute, and dumps are easier to share/read than screenshots), read the OP for more info.

I too lazy to write same text over and over again so i borrowed little.
[BetterBatteryStats] guido_glx:
Same thing here... shows 64% instead of 71%
[BetterBatteryStats] chamonix:
As you may have read there is an issue that I am investigating so the rollout is stopped for now.

About the beta: I have already explained why I won't use g+ and a beta channel on gplay. Beta is not about distribution but about feedback and I feel that a g+ community does not offer enough features for that purpose.

Besides that gplay betas only allows access to paid users and I stick to my promise of keeping bbs free for xda users. In my eyes the popularity of this thread and the quality of the feedback I get here confirms that I have made the right decision
[BetterBatteryStats] nnay:
For me glance view is link to all the Samsung's gesture stuffs (smart-stay, smart-pause...). Try to disable all the gesture to see what happen.
[BetterBatteryStats] andreasy:
What I was afraid of. I froze tempoarily GlanceviewMK just to test. Only issue is I really want smart stay. Most of gestures are disabled but I'll try and see if I can leave only smart stay and get rid of the rest. But why would smart stay cause wakelock if it is only needed while screen is on. And the same goes for gestures as well.
[BetterBatteryStats] chamonix:
I must ask because I can not reproduce: does this happen even after plugging/unplugging again after making the update or was it a temporary issue?
[BetterBatteryStats] NZgeek:
The S4 has a feature where you can wave your hand over the turned-off screen, and the screen will turn on for a few seconds and show you the time, weather, and a few notifications. I would guess that this is "gesture view".

If you're using the S View cover and have gesture view enabled, it's possible that the two could be conflicting with each other. Have a look through the settings to see if you have the gesture feature turned on, and if you do then turn it off and see if it helps.
[BetterBatteryStats] Karpfenhai:
Sven I think this happens only under certain circumstances, I noticed it after a hot reboot which is unfortunately quite common with 4.3 nightlies, maybe it cannot gather the since boot reference correct?

Just as hint.

Btw my current kernel has android logger disabled, no logcat from me yet for the dashclock issue, sorry.

Tapatalked from my Galaxy SII
[BetterBatteryStats] guido_glx:
In my device, it happens all the time, even if I power off, power on and disconnect charger afterwards.

I don't know how to logcat, but I'm willing to learn if it helps...

Enviado desde mi GT-I9100 usando Tapatalk 4
[BetterBatteryStats] Karpfenhai:
If you are root, you can use the bbs embedded sharing feature.

Tapatalked from my Galaxy SII
[BetterBatteryStats] guido_glx:
I am root.. but logcat txt only says "Unable to open log device '/dev/log/main': Permission denied" :(
[BetterBatteryStats] foosion:
Turning off all location services didn't help - still draining at 1%/h, but now I'm getting different wakelocks. Revised dump file attached. Any suggestions would be appreciated.
[BetterBatteryStats] skivnit:
Guys i have some kernel Wakelocks that's killing my battery. L2_hsic and wifi related wakelocks http://db.tt/BTcZmZXd

Sent from my Perseus powered octa
[BetterBatteryStats] dave-:
Have a HTC One XL running the Telstra shipped ROM and fully upto date. Having serious issues with battery life which I cannot pinpoint to any wakelock or oddity in BBS. I suspect that the battery might be in fact faulty or failing. I would expect twice the life with normal usage. Dump attached.
[BetterBatteryStats] Karpfenhai:
Hmkay, what kernel are you using?

Check with its thread how to enable the logger.

Tapatalked from my Galaxy SII
[BetterBatteryStats] Sergey.O:
Severe battery drain

Hello. Can you please help me? My battery is drain by something that I can't figure out. I fully charge my phone before I go to bed, and in the morning I have 20-30% of battery remaining. Attached please see the log from BBS. I wasn't able to paste it here, because as a new user I cannot post links, and forum's parser tries to convert processes' names to external links

I can see 2 processes affecting my battery greatly

"bt_host_wake_lock" (): 3 h 45 m 18 s (13518 s) Cnt:(c/wc/ec)4517/46/4517 42.3%

"rx_wake" (): 2 h 38 m 36 s (9516 s) Cnt:(c/wc/ec)7540/0/7540 29.8%

I tried to google "bt_host_wake_lock" but couldn't find any useful information.

Thank you in advance.
[BetterBatteryStats] Sergey.O:
During the night

Bluetooth was OFF

WiFi was ON
[BetterBatteryStats] chaitanya87:
Ok now i am posting an idle dump. Tell me if there's any wrong with my wakelocks?
[BetterBatteryStats] Karpfenhai:
Hmm, it seems your Bluetooth is trying to establish a connection, could you check whether you have a trigger for that like llama activate Bluetooth on leaving area? Maybe there's a new cell tower and llama will open a connection...

Good luck.

Tapatalked from my Galaxy SII

---------- Post added at 12:06 PM ---------- Previous post was at 12:05 PM ----------

Well done, perfect figures.

Enjoy your phone!

Tapatalked from my Galaxy SII
[BetterBatteryStats] Sergey.O:
Thank you for your reply.

I have just one trigger in Llama to turn WiFi ON upon entering home or office and turning WiFi OFF upon leaving these areas. A will try to disable Llama tonight to see if anything changes.
[BetterBatteryStats] chamonix:
That scenario would explain a lot:

- a soft reboot will not trigger 'boot' so the ref would not be updated nor the other deleted

- a soft boot resets the runtime counter (userland) causing the total time to be inconsistent (the userland loses track of values older that the reboot)

I will try to find a way around that but this may need some heavy lifting. I have a feature request for allowing stats spanning over reboots anyway and see this current issue in that context
[BetterBatteryStats] guido_glx:
Yesterday I was using Dorimanx's kernel... today I'm back on SlimBean stock kernel.

Percentages are fine now, but I'm still getting logcat txt saying "Unable to open log device '/dev/log/main': Permission denied"
[BetterBatteryStats] Deni_NS:
Hmmm... Well as you see, I charged phone (100%) and normally unplug the charger. Then I told you about that.

Today new screenshot:

So that was only temporary... Don't know why, because I didn't have problem with 1.13.4... Now is all good.

[MENTION=4355376]Karpfenhai[/MENTION] well I'm little experienced here, I would tell if I had soft reboot or anything and I know that makes BBS go crazy unless you go with custom :)
[BetterBatteryStats] atrix4nag:
1. Read OP how to post dump.

2. main culprit is facebook.

Greenify it or use some 3 rd party application.
[BetterBatteryStats] blinoff82:
Dear colleagues, if possible take a look at my log file and tell me what programs do not give sleep to my phone.
[BetterBatteryStats] Karpfenhai:
In dori kernel the logger is disabled by default, use stweaks to enable, no clue about slim kernel..

Tapatalked from my Galaxy SII
[BetterBatteryStats] mmm286:
Please help me with my battery drain.

Thanks and sorry for my english!
[BetterBatteryStats] guido_glx:
I'm back on dori kernel and percentages are wrong again (see screen capture attached)

I managed to save a logcat, but I don't know if I did it right, file seems too big.

Tell me if it's ok... thanks!
[BetterBatteryStats] Karpfenhai:
Hey, you are right, same here:

I'll attach my dump too..... in the morning, I fall asleep

Sven I think you don't need to support custom kernel...

Tapatalked from my Galaxy SII
[BetterBatteryStats] te2k:
Sleep deprived!

Please find attached new dump file now with all syncs turned off. Phone still not sleep. Have not had a chance to test with flight mode. Will try out today if I have the time.
[BetterBatteryStats] azeem40:
Try with flight mode cuz your data is causing that huge battery drain in a short time.
[BetterBatteryStats] m14mclaren:
Would be much appreciated if someone could take a look, battery life seems to have turned to **** in the last few days
[BetterBatteryStats] Karpfenhai:
Damned, it's still really hard to tell, because this suspend_backoff points to a sensor going mad, possibly caused by an app.. you said there is no chrome installed right?

Could you use android sensor app for a test? Using it can cause your sensors to reset and show which one is acting up weird.

Good luck.

Tapatalked from my Galaxy SII
[BetterBatteryStats] chamonix:
I would suggest that you post a dmesg together with the next dumpfile. As Karpfenhai said there is no indication in userland about what could cause that but the power management info in dmesg may give us a clue about what peripheral/sensor/driver causes the trouble of suspending the power down dance
[BetterBatteryStats] boggie81:
Would the following 2 logs suggest that my router is utter crapp? First log is with 3g only, while the second had Wi-Fi enabled. There were no new apps installed between the tests and no other devices connected to the router. The phone had a static ip
[BetterBatteryStats] chamonix:
It is weird. I even checked if the thread had not been closed by mistake :D

t

Anyway, I am coding and the result is going to be great. I think it's worth being named 2.0 instead of 1.15.
[BetterBatteryStats] liquidzyklon:
BBS Breakdown

Hi,

I am puzzled by the BBS stats that I've got for my Samsung Galaxy S4 (i337m) on Telus which I think supports Fast Dormancy. There are two sets of screenshots from the same day, 1) overnight with Wifi off and good phone signal has good stats [first 4 attachments], and 2) same day at work with Wifi off and poorer signal has bad stats (lots more wakes) [2nd set of 4 attachments]. I see the culprits with the logs but unsure which one is truly causing the battery drain.

Under Kernel Wakelocks, is it the Fast Dormancy & qcril_fd causing the high drain? Is poor signal a reason for this? Intermittent signal strength?

Under Kernel Wakelocks, msm_hsic_host and PowerManagerService and side-effect of the FD from above?

Under Wakelocks, the gtalk and G+ only total ~32 min (half of the FD from above). Maybe this is Google refreshing after re-establishing a signal from no signal?

Partial Extract of the highest Wakelocks and Kernel Wakelocks from the BBS Stat dump shows the following leading causes. Any help is appreciated.

=========
Wakelocks
=========
GTALK_ASYNC_CONN_com.google.android.gsf.gtalkservice.AndroidEndpoint (Google Services): 24 m 54 s (1494 s) Count:204 2.3%
*sync*_com.google.android.apps.plus.content.EsProvider_Account {name=a25c0eca00cfdfec27d6831f94a327b2, type=com.google} (com.google.android.apps.plus.Google+): 7 m 34 s (454 s) Count:31 0.7%
AlarmManager (Android System): 6 m 42 s (402 s) Count:1363 0.6%
AlarmManager (com.levelup.beautifulwidgets.Beautiful Widgets): 5 m 16 s (316 s) Count:887 0.5%
PushClient SystemStateMonitorService (com.sec.spp.push.Samsung Push Service): 2 m 22 s (142 s) Count:489 0.2%

================
Kernel Wakelocks
================
"fast_dormancy" (): 1 h 22 m 51 s (4971 s) Cnt:(c/wc/ec)518/0/518 7.7%
"qcril_fd" (): 1 h 9 m 11 s (4151 s) Cnt:(c/wc/ec)375/0/0 6.3%
"msm_hsic_host" (): 1 h 3 m 25 s (3805 s) Cnt:(c/wc/ec)1833/373/0 5.9%
"PowerManagerService" (): 1 h 27 s (3627 s) Cnt:(c/wc/ec)2948/0/0 5.6%
[BetterBatteryStats] karlynho:
Works perfect

Enviado desde mi Nexus 4 usando Tapatalk 4
[BetterBatteryStats] azeem40:
Yeah, your battery has gone bad. Check if it spins easily on the table. Spinning easily on the table is one of the signs of a bad battery, but it certainly isn't the only sign. Your deep sleep is great otherwise.
[BetterBatteryStats] dave-:
Thought as much. Spinning on the table? Sounds crazy :eek:
[BetterBatteryStats] azeem40:
Disable FD by dialing *#9900#.

---------- Post added at 06:15 PM ---------- Previous post was at 06:15 PM ----------

Yeah, if it spins freely on the table, that means it has swolen.
[BetterBatteryStats] dave-:
Ah yeah I had a logitech remote battery that swelled up and went faulty. Will give that shot, thanks mate :good:
[BetterBatteryStats] azeem40:
Well, I am almost 100% certain your battery is bad based on your BBS.
[BetterBatteryStats] azeem40:
Hello, this is yet another bbs dump file idle log. Anything wrong? Thanks.
[BetterBatteryStats] arvin2212:
Hello,

Installed the new CrashRom for SGS4 + followed the tweak to disable some location tracking stuff from google framework and play store services as posted in this thread. It did help with the battery but there are still wakelocks present. Left it overnight and it drained about 5% with the wifi on.

Could you tell me what is causing the drain? Below is thedump.
[BetterBatteryStats] Gunkk:
They bulge sometimes
[BetterBatteryStats] azeem40:
Enable Alarms and Network since you're running a custom ROM and run another idle dump. Try to keep the screen on time as small as possible.
[BetterBatteryStats] arvin2212:
Thank you. I shall do that :)
[BetterBatteryStats] pjadec:
Location still little up, but nothing else.

NlpCollectorWakeLock (Google Services): 5 m 17 s (317 s) Count:539 2.1%

NlpWakeLock (Google Services): 15 s (15 s) Count:402 0.1%
[BetterBatteryStats] m14mclaren:
Can someone take a look please, using heaps of battery I can't figure out why.
[BetterBatteryStats] It_ler:
Please provide an IDLE dump = doing nothing with the phone (screen off all the time) ... for at least 4 hours.

Then it is a lot easier to find the unwanted battery drainers.

BTW, disable all location service options (in ROM and Google settings).
[BetterBatteryStats] azeem40:
So the 300+ wakeups from gms is a non-issue?
[BetterBatteryStats] bringonblink:
Hey guys, currently charging my phone so i can get a 4 hour dump for the pros to look at for me!

I have a 24 horu log with my normal usage, and under alarms i saw this:

Is it normal for this process to have such a high amount of wakeups?! Seems... high.

Either way, ill be back in a few hours with an idle dump!
[BetterBatteryStats] Karpfenhai:
You might wanna read this thread in the meantime:

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

Tapatalked from my Galaxy SII
[BetterBatteryStats] drinfernoo:
I'm having this come up every time I open the app... What's going on?