yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] atrix4nag:
Greenify is an app, for rooted devices. Download it and greenify the apps, which need not run in the background, like Facebook, maps etc.

I see that your device is not rooted, if you root your device, you will have more control on your device. if you dont want to root the device, you can do very little here. try to reduce the refresh time for notifications on facebook app.
[BetterBatteryStats] mj_godam:
thank you! i'll do your advice and considering to root my phone

and for the kernel wakelocks (ril-hd and l2-hsic)? there is no problem with that?
[BetterBatteryStats] atrix4nag:
ril-hd is related to your radio. may be you dont have a good signal, which is causing this wakelock.

l2_hsic depends on kernel. After you root your device, and install a custom rom and/or kernel, it should disappear.

Good Signal (): 2 s (2 s) Ratio: 0.0%

you have good signal for only 2s, which explains these wakelocks. try to switch to 2g or enable airplane mode, when you dont have signal.
[BetterBatteryStats] rignfool:
That could also mean he was connected to WiFi which causes android to not report signal correctly...
[BetterBatteryStats] Karpfenhai:
Ok,I see, at least your phone is able to sleep plus overflow it's gone, now we see the culprit.

It seems your carrier does not support fast dormancy, I recommend to try gokhans app from playstore -> https://play.google.com/store/apps/details?id=com.gokhanmoral.fastdormancytoggle.i9300 give it a try, it should work on your device as well.

Reboot and take another reading, 2 hours should be sufficient.

Tapatalked from my Galaxy SII
[BetterBatteryStats] pkd600:
Okay, I have been trying to figure out what is keeping my phone awake for a couple of weeks now. I have wiped my phone (including internal storage) and formatted the SD card, returned my device fully to stock using Odin and re-rooted. I am still getting these wakelocks which are draining my battery, and I can't seem to figure out what's causing them or how to get rid of them. Very frustrating. Can anybody shed some light on this?

The phone is a Verizon Wireless model Samsung Galaxy S3.
[BetterBatteryStats] Karpfenhai:
Bam_dmux points to data traffic, no need for screenshots, just the dump is sufficient.

Tapatalked from my Galaxy SII
[BetterBatteryStats] nevertells2:
That's just it, the first dump was taken after I unplugged it. The second dump was taken after a few minutes of looking around, scratching my head wondering why the first dump looked so strange.

Yeah, WiFi does behave strangely on all the 4.2.2 Roms I have tried. I have "Keep WiFi on during sleep" set to "Never" . Once the WiFi turns off after a few minutes of sleep, the only way to get it to connect again is cycle it off and back on. One other strange thing, the only way to do that is through Quick Settings as one cannot select Settings/wifi. The whole settings screen comes up blank except for the header at the top. Once the WiFi is cycled, then settings works fine. How's that for strange?

I already have BMW set to every ten minutes. How low do you want it set to? Does BMW have some affect on what BSS does?

You say disable Google SearchBox. Just to be clear, you mean under settings/apps/Google Search, correct?

Thanks
[BetterBatteryStats] Karpfenhai:
Yes freeze it or disable..

Bmw is useless, except you like statistics.. bbs does provide the same info without affecting your battery, so does battery drain analyzer. You should give better Wi-Fi on off a try.

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] nishan19:
Someone take a look at this please...thanks!http://db.tt/WU9GMdCN
[BetterBatteryStats] umartariq:
It is requested to please have a look at my dump file and help.

http://db.tt/XaQ56Cnh
[BetterBatteryStats] Karpfenhai:
Great result, nothing to worry about, if you want to improve, disable tapatalk notifications.

---------- Post added at 07:22 AM ---------- Previous post was at 07:18 AM ----------

Wifi and Data traffic are your main culprits, i suspect facebook brings a huge portion to it..

Since youre not rooted its hard to tell...

look the guy above you, same device, almost same timeline, so its possible ;)
[BetterBatteryStats] umartariq:
Thanks for the reply but the guy above has wifi turned off. I've checked if I turn off wifi I get almost same results. Battery drain reduces to <1%/h

Without root no help ?
[BetterBatteryStats] webfrm:
serious drain

ok i can't figure out what "usb_bus_active" is but my battery only lasts 6 hours and its not even be on. that kernel wakelock and the "vbus_present" run for hours compared to powermanagementservice only running for 40min. what is that wakelock? Why is it killing my battery and can it be stopped?
[BetterBatteryStats] Karpfenhai:
Clean your usb port briefly with care, your phone thinks the charger is still plugged in.

Tapatalked from my Galaxy SII
[BetterBatteryStats] igos2:
Hi,

My galaxy S2 stay awake over the night even if no apps are active and in offline mode, I installed BBS, now how can I find the process causing the awake?

Envoyé depuis mon GT-I9100 avec Tapatalk
[BetterBatteryStats] atrix4nag:
read OP and charge your phone, and keep it idle for 4 hours, and post the dump file.

also remember to enable root features before charging the phone
[BetterBatteryStats] atrix4nag:
you lost 6% in 2d 18h, what else your want to improve your battery? how did you achieved this.

you have really great battery life. enjoy your phone.
[BetterBatteryStats] ThePureHeart:
How on earth is that possible?!

It could be a dirty log, battery stats probably didn't clear.

Sent from ThePureHeart's I9300 Boss Edition
[BetterBatteryStats] pkd600:
Thanks for the reply. I have attached the dumpfile to this post. Anyone's help is greatly appreciated!
[BetterBatteryStats] igos2:
I did not used the phone for a while..

The problem is that once Unplugged, he don't go on deepsleep and stay on 200mhz even if nothing is used and no apps on the background. I can see it on CPU spy app, it should be 99% deepsleep as I didn't used it since Unplugged.

Envoyé depuis mon GT-I9100 avec Tapatalk
[BetterBatteryStats] atrix4nag:
send a fresh dump this time. the given dump seems to be not correct.
[BetterBatteryStats] DroidFaller:
Please help me. My awake time is 1 hour longer than my screen on time. Also, if I check Facebook, or do some light usage, few minutes later I'm down 2 percent with very little usage.
[BetterBatteryStats] GermainZ:
Provide an idle log (screen on time should not exceed a minute). Read the OP for more information.
[BetterBatteryStats] DroidFaller:
How long should i run the stats for the idle log?
[BetterBatteryStats] GermainZ:
Quoting the OP:

1 hour is usually too short. I'd recommend simply leaving your phone overnight.
[BetterBatteryStats] DroidFaller:
Sorry :P thought it was different for this one. I will post in tomorrow.
[BetterBatteryStats] nevertells2:
OK, see what you think of this dump. I turned WiFi off manually and after I unplugged it, the first thing I noticed was the same weird behavior with the percent going from a low number to a higher one. However, after a couple of minutes, it's like BSS finally caught up with itself, so I made another dump and it looks pretty normal to me, but you know best. Let me know what you think, thanks!
[BetterBatteryStats] Karpfenhai:
The dump is good but could be better without battery monitor widget and Google search box.

Regards.

Tapatalked from my Galaxy SII
[BetterBatteryStats] mj_godam:
wow it works! after i set my phone to GSM only now it can deepsleep and my battery drain is 2%/h (it is good isn't it?)

and the ril-fd wakelock is gone now, thank you so much!

but i still have some questions.

although ril-fd is gone but l2-hsic wakelock still appear and make my phone awake. is there any solution for this?

it this a long term solution? so i have to set my phone to GSM only all the time? because before all of this happen i feel fine about my signal and set my signal on WCDMA only.

or should i do what karpfenhai said earlier to disable fast dormancy?

now should i disable the fast dormancy in this case?

here's i alse attached my dump file. is there any abnormalities or any wakelocks that i should aware of?

anyway thanks for both of you:good:
[BetterBatteryStats] elitemeat:
Been having terrible battery last few weeks. I have had trouble pinpointing the problem. I know it is severe because I experienced high wake lock drain even with AIRPLANE mode on.

I restarted my phone, charged it, and set my faux kernel settings to what I normally use. I disabled some apps and did not put the phone into airplane mode to minimize disturbance with the log info. Left it on idle overnight and lost about 50 percent in 8 hours.

Terrible battery considering I was able to get about 36 hours with 3-5 hours screen-on in the past with my faux kernel settings and apps. I would appreciate the help to get back to being a battery beast.
[BetterBatteryStats] turkobr:
I don't know if this is a problem with bbs or dashclock widget. The thing is, the bbs extension shows 0%/h for battery usage. Anyone else have this problem?

Thanks!
[BetterBatteryStats] umartariq:
Please have a look at my dump file and advice. I'm getting 1.4%/h drop. Could it be improved?

http://db.tt/kcxSjcn1
[BetterBatteryStats] webfrm:
Thanks

OK but how do you do that?? Do I use an air can or a Q-Tip? I've never had to clean my jack in my SII so not sure where to begin? If it'st a tear down I'll need some guidance.
[BetterBatteryStats] pkd600:
Can somebody please take a look at my dump file and advise. Major battery drain. Currently getting 9.5%/hour, and appears to be mostly from "bam_dmux_wakelock". Has persisted through full Odin flashes to stock and re-root.

Phone died 59% in six hours overnight, with less than 10 minutes of screen on time.
[BetterBatteryStats] Karpfenhai:
Zopper widget, Samsung push and chaton... disable / adjust these and you can go back to full speed, you masquerade the symptom, not the cause. Debloat your Rom.

Fast dormancy hint is still valid.

Tapatalked from my Galaxy SII

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

Go to chrome, settings - developer tools, disable tilt scrolling, take another reading.

Tapatalked from my Galaxy SII

---------- Post added at 07:39 AM ---------- Previous post was at 07:37 AM ----------

No such issue here, works since introduction, check your setup, rebuilt the whole thing.

Hint, by default the dash extension is set to "since unplugged" ensure you didnt reboot / you unplugged, then it should work.

Sven, it seems since the latest dashclock update the settings from BBS extensions are not longer working, do you confirm? Please check, thanks!

Tapatalked from my Galaxy SII

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

Facebook, jp.naver, some network location plus Wi-Fi overhead, use better Wi-Fi on off to decrease, almost good, go ahead. :thumbup:

Tapatalked from my Galaxy SII
[BetterBatteryStats] hlb3:
Mine is blank as well
[BetterBatteryStats] nobnut:
Don't worry guys... its's known and Chamonix is working on it. As ever, no ETAs, but he's one of the fastest... and certainly the most responsive Dev on XDA and has never disappointed. I would wager that this won't be an issue for long.
[BetterBatteryStats] ExilHh:
well said mate...its exactly the same here!

purchased this great app 5 minutes ago.

thanx to Chamonix and the other supporting guys in this thread (esp. nobnut)
[BetterBatteryStats] nobnut:
In your case, this is either ROM or kernel related. I am guessing you aren't on a stock (based) ROM. Maybe AOSP, CM or MIUI?

This works fine on TW based SGSII ROMS. I have one and can confirm and Chamonix has an SGSII also.

If you can state your ROM and Kernel, this might help diagnose the issue :)
[BetterBatteryStats] hlb3:
Not working with Serendipity 8 with Entropy's DD 11/03 kernel.
[BetterBatteryStats] bons:
Nobnut,

Thanks. After your answer I decided to completely wipe my phone (*2767*3855# ), and reinstall everything from scratch. After a lot of flashing custom roms back and forth, wipe and no wipe, I thought, that might be a good idea.

Well, that did the trick. I lost the wakelock!

Thanks.
[BetterBatteryStats] zicovsky:
You are correct. My SGS is running CM7.1.

I can post logs if it helps on debugging.
[BetterBatteryStats] beepsilver:
Also no data in my list of kernel wakelocks. On Mikg 2.56 ROM with Freedom Aggressive Kernel v.9--Thanks!
[BetterBatteryStats] edpo1976:
Hi, guys!

I'm trying to set my phone, after deep analysis with BBS, in order to avoid the use of widget of other apps that usually cause wakelocks.

Could you recommend me any clock widget that doesn' wake up my phone?. All of them causes wakelocks?. Any other harmless widget for my battery?

By now, I've only got RILJ (the only solution i've found 'til now is to reboot my phone) and alarm manager wakelocks.

Thanks, as always, for your great work.
[BetterBatteryStats] Simba501:
I don't know what kind you're looking for, but I like this one - https://market.android.com/details?...JlZC5leHRlbnNpb24uRGlnaXRhbENsb2NrV2lkZ2V0Il0.

It has a few customization options and the specific option to sleep when the device sleeps.

And also BobClock. It takes up a lot of space (physically, not memory-wise - I think it's 2x3) but is very appealing. It also sleeps with the device.
[BetterBatteryStats] jabbermacy:
OK, where are the settings for 'sleep' in these apps? I see none
[BetterBatteryStats] Kurre:
Try disabling fast dormancy. You'll find more info from this thread..just type "dormancy" in 'search this thread' box.

Sent from my CM'd SGS
[BetterBatteryStats] Simba501:
BobClock doesn't have a setting. I just know it sleeps because when my device wakes, I can see the time update.

In digital clock widget, it's the setting at the very bottom. "Screen off sequence" - CHECK the box. This stops the clock from updating when the screen is off.
[BetterBatteryStats] jabbermacy:
There is no such setting; just d/l v. 1.1.35 (latest). I understand what you mean tho about clock updates on screen wake -- NOW, I know what to look for, thank you sir
[BetterBatteryStats] snailmale:
Hello, yep I've tried that, but still get the frequent RILJ wakelock just the same, although the logcat is different. (and anyway I believe my provider has fast dormancy in place)

I also tried CF-Root KI4 kernel and Siyah 2.1.1 kernel.

I've also tried XI4 modem and XI1 modem (stock for my phone).

But nothing seems to help, I still get the frequent wakelocks.

My main worry is this part:

D/RILJ ( 3053): [0207]> REQUEST_GET_NEIGHBORING_CELL_IDS

D/RILJ ( 3053): [0207]< REQUEST_GET_NEIGHBORING_CELL_IDS error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED

Does anyone else know why this is happening?
[BetterBatteryStats] jabbermacy:
I'm still looking, dude -- all the ones I tried as suggested do NOTHING when clicking to go to the alarms. PLUS, if you freeze the clock (system) there's no way to set any alarms. I think 'current widget' is basically OK...
[BetterBatteryStats] jonny68:
At 12.06am last nite my phone was at 100% and i went to bed,woke this morning around 8.45 and the phone was at 80%, im not overly happy with this as usually even with data enabled i would only lose 1% per hour, in the partial wakelocks i don't see anything unusual that could be the cuplrit here and im wondering why there was nothing at all in kernel wakelocks either charged or unplugged?

Running CheckRom Revolution HD 2.0 and TWD 2.5 Kernel and im not using SepCPU although i have noticed battery life isn't as good since i stopped using it so maybe ill go back to it.

thanks
[BetterBatteryStats] nobnut:
Jonny,

There is a problem with the kernel you are using. There is nothing being reported under kernel wakelocks, there should be something in the output. I bet the drain is kernel-side. Switch kernels.
[BetterBatteryStats] extract1:
Isn't that a good thing if nothing is being shown for Kernel wakelocks?
[BetterBatteryStats] elitemeat:
I don't even have chrome installed. I do have chrome beta but I haven't used it in months. I disabled the tilt option months ago as well. I'm using the default Browser in AOSPA and don't even see that option.
[BetterBatteryStats] Karpfenhai:
Take out battery, use a soft brush and a decent blow :p

Bend the connector Slightly! back to the center and take another reading, vbus shouldn't appear.

Tapatalked from my Galaxy SII

---------- Post added at 07:51 AM ---------- Previous post was at 07:46 AM ----------

Bam_dmux is just the synonym for active data connection..

Facebook, beautiful widget and something is heavily trying to sync plus your network locator is going wild, see post 3 for that. Review your whole setup / timing / refresh rates.

Good luck.

Tapatalked from my Galaxy SII

---------- Post added at 07:57 AM ---------- Previous post was at 07:51 AM ----------

Okay then, suspend_backoff points to an active sensor, either an misbehaving app (usually chrome) or a hardware fault (unlikely), check android sensor app, maybe it can help. Review your last installed apps (since the issue appeared) grep a dmesg sometimes it's visible in there.

Tapatalked from my Galaxy SII
[BetterBatteryStats] Pinan:
Deep Sleep is better now. Look also into freezing or Greenify Maps, Google Search, little things like Time Check, Exchange, and also GSF wakelocks (did you?). See post # 3 for info on Maps and GSF.

Every little bit helps.
[BetterBatteryStats] DroidFaller:
Left it over night from 80% to 74 in 7 hours. But 25 min awake.
[BetterBatteryStats] Karpfenhai:
Did you even read your dump? :cool:

sent from my Nexus 10
[BetterBatteryStats] DroidFaller:
I didn't notice the info got reset until I posted this. Then I needed to wait 5 min cause im a new user. During that 5 minutes I forgot about this lol.
[BetterBatteryStats] mj_godam:
ohh i see so the thing that i do only curing the symptoms not the cause?

and what you mean with debolat rom is to erase bloatware from my phone?

for fast dormancy solution you gave me earlier was for SIII. will it work to my S4?

so if i may summarize the only way to get back my battery performance is to root the device and then erase the bloatware and disable fast dormancy.

am i right?
[BetterBatteryStats] Al Gore:
Hey guys quick question, based on two consecutive nights of testing

night 1:

Deep Sleep (): 9 h 23 m 44 s (33824 s) Ratio: 87.3%

Awake (): 36 m 52 s (2212 s) Ratio: 6.1%

Level lost [%]: Bat.: -21% (42% to 21%) [2.1%/h]

Voltage lost [mV]: (3711-3721) [-1.0%/h]

night 2:

Deep Sleep (): 8 h 58 m (32280 s) Ratio: 90.8%

Awake (): 53 m 42 s (3222 s) Ratio: 9.1%

Level lost [%]: Bat.: -11% (52% to 41%) [1.1%/h]

Voltage lost [mV]: (3650-3776) [-12.8%/h]

More awake time and MUCH more voltage lost during night 2, but less battery drain anyway. How come? And voltage difference is huge, maybe on of those is a mistake?
[BetterBatteryStats] chamonix:
Voltage depends on many other factors like temperature and remaining charge so I don't see a contradiction per se
[BetterBatteryStats] DroidFaller:
OP tells me to post since unplugged. Why did you tell me to post screen off. Isn't the dump file I gave the first time good?
[BetterBatteryStats] elitemeat:
Sorry I need clarification. So you're saying something like my proximity sensor or gyroscope might be misbehaving? Also, what exactly do you mean by 'grep a dmesg'? Tried to google it but I don't understand what exactly I need to do.

I'm attaching the log again if anyone else can help. I'm losing heavy battery overnight idling even with Airplane mode ON.
[BetterBatteryStats] turkobr:
[MENTION=4355376]Karpfenhai[/MENTION]

I just installed the latest beta and it worked. Thanks!
[BetterBatteryStats] terodeg:
La test 14 b2 works lovely
[BetterBatteryStats] davemabe:
BBS Crashing Upon Starting

I've got an HTC One X on AT&T network.with android version 4.1.1. BetterBatteryStats has worked fine for several weeks now but all of the sudden it will no longer start. It immediately crashes before the program starts at all.

I've tried clearing the app data for BBS and uninstalling and reinstalling but I get the same result.

In the stack trace it says:

java.lang.RuntimeException: Unable to resume activity (com.asksven.betterbatterystats/com.asksven.betterbatterystats.StatsActivity): java.land.IndexOutOfBoundsException: Invalid index 0, size is 0

at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3014)... (bunch more here but too much to type)

Is there anyway I can fix this? I've reported the crash via android's crash reporting mechanism.
[BetterBatteryStats] chamonix:
Have you tried the current beta?
[BetterBatteryStats] davemabe:
Just tried it right now and get the same behavior although I can't see the stack trace to see if it's exactly the same issue.
[BetterBatteryStats] chamonix:
Could you please post a logcat showing the FC?
[BetterBatteryStats] negrobembon:
could you help me?

the firsr two wakelocks are keeping my phone awake for a long time, sometimes more than an hour

i tried using google but no dice, my phone is a galaxy s4 9500

thanks
[BetterBatteryStats] Casanoaa:
Provide an idle log. Unplug and leave phone 4 hours without touch and dump a file.

Disable fastdormancy in service settings or use gökhan morals fastdormancy app
[BetterBatteryStats] DroidFaller:
How do i make an idle log?
[BetterBatteryStats] japez85:
Need some advice on getting better battery life

Hey everyone,

I'm a new member here but a long time lurker over here. I've just got myself a AT&T Galaxy S4 but can't seem to get that great a battery life. Coming from the Note 2, I suppose that's to be expected but I was hoping I could get some tips on getting better battery life.

Here's the dumpfile from last night. I know there's about 2 minutes on-screen time, but that was only because I couldn't figure out how to make the dumpfile right at the very end lol.
[BetterBatteryStats] Al Gore:
Seems good to me, is it with wifi enabled?

Something could be done about google play sync and facebook too.
[BetterBatteryStats] post-mortem:
Charge your phone to greater than 90%

Unplug

Turn screen off

Do not use your phone for several hours (or overnight)

Unlock your phone & immediately launch BetterBatteryStats & export a text dump file

If you don't know how to dump the file, play with BBS now & figure it out. When you're all done, post here & attach the dump file (or put a link to pastebin, dropbox, etc.).

:good:
[BetterBatteryStats] japez85:
1%/hr seems a bit high I thought. I was coming from a Note II where I was easily getting <1%/hr though with pretty much the exact same setup/settings as I have now.

Edit: Sorry forgot to add that wifi was not enabled
[BetterBatteryStats] DroidFaller:
Mannnnnn. If i get 1/h i would love my phone to death. As long as it goes to sleep quickly. Ive tried at least 4 roms in the first month i rooted my phone. On SlimBean now. Checking if i have wakelock problems.
[BetterBatteryStats] MRDOCA:
Hey Guys. been a while since here. recently I bought a gs4 and having some wake lock Issues. not fussed about the facebook ones just the rest. whats weird Is I noticed maps Is still working even though Ive stopped It In autostarts. Ive also now frozen chaton aswell since I dont use It.
[BetterBatteryStats] chamonix:
Facebook and chaton ate still causing wakelocks / Wakeups.

The awake / sleep ratio is pretty good though and the drain per hours as well
[BetterBatteryStats] MRDOCA:
I only just stopped chaton after looking at the txt file. What is the gtalk wakelock? This seems to be the main thing. I cant find any gtalk in titanium to freeze. There used to be a screen shot in this thread of the google services framework thats good to freeze. I still need facebook notifications atm as im selling some stuff on there on a few local fb sites. But if I stop all the google framework services in autostarts I dont get fb notifications.

But for now id be happy with stopping those google wakelocks I see.

Thanks

Swyped on my Omega driven I9505
[BetterBatteryStats] Karpfenhai:
Gsf and gtalk are literally the same, it's just the way Google communication is realized, you have to live with it.

Tapatalked from my Galaxy SII