yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] cavolo:
Hi here, fisrt time I post in this thread,

I have a Nexus 5. I used BBS to look if I got app getting my phone in awake mode, nothing special, ~40-60min /day more than my SOT, but today, my phone as rebooted with no reason (in last_ksmg the reason of reboot is : reboot), I cant explain that, and it was not a "fully" reboot, because I did not see the Google image before the bootanim.

WELL, now, after that reboot, i did not notice anything directly, I used it normaly (tapatalk for browsing forums). And now I see him say me low battery O_O, I check battery in the in-built battery checker, Android-OS take more than the screen \o/, after that, I open BBS and see 0s of deep sleep, 20min of screen and 4h+ for being awake D:

Now, no more word, only the BBS log http://pastebin.com/zUenHBCB

I you need more information, just tell me (apps I use, etc ...)
[BetterBatteryStats] It_ler:
Looks like something is missing in your dumpfile?!

Main reason for your massive battery drain is this CPU state: "1,5 GHz (): 3 h 58 m 17 s 88,0%"

Now you have to find the cause why your CPU was on highest frequency ... although your phone should go into deep sleep.

Main partial wakelocks are

:

ProximitySensor (com.android.dialer.Appeler): Was something moving or with different brightness in front of the proximity sensor? Hope that it is not defect.

EntriesRefresh_wakelock (com.google.android.googlequicksearchbox.Recherche Google): Ok, Google search or Google+ is acitve. Check its settings and disable everything what you do not really need.

StartingAlertService (com.google.android.calendar.Agenda): Disable all sync options for your Google account and check your calendar widget(s) not to auto-refresh.

NlpWakeLock (com.google.android.googlequicksearchbox.Recherche Google): Check system and Google settings and disable all location service options.

I am not sure about your kernel wakelock "event0-27822" ... maybe you need to reboot and try again.

If you are on a custom kernel, check it's CPU settings (CPU governor). Some kernels can be configured with a separate app. Maybe you should check the kernel's/ROM's thread if a different setting / governor has better battery life.
[BetterBatteryStats] cavolo:
I'm using the ROM omnirom and Franco's kernel, I think its just a random bug that keep my phone at high cpu state then, I'll wipe cache/dalvik and reboot and see if it happens again ;o

Thanks for the partial wakelocks informations !
[BetterBatteryStats] Boomer1605:
In my battery tab it shows that my phone is always Awake(attached screenshot) but when I look at the BBS Dump file it says that the phone does enter deep sleep. Im on beanstalk 4.4.205 with its stock Kernel and the Phone is a AT&T S3...Now on every Beanstalk Rom Ive used the Battery tab says the same that it is always Awake....If I didnt Do the BBS correctly Im sorry this is my first time using it
[BetterBatteryStats] polobunny:
Anyone ever had an issue with screen off reference counting some screen on time? I just played a game for 10 minutes and noticed that the screen off contained 10 more minutes of AudioOut_2. Tested again, and definitely happens everytime.

Any ideas? On Jellybean 4.3 (CM10.2 based) with HW acceleration off (if that matters?).
[BetterBatteryStats] guido_glx:
Yes... in my case, Audio adds time to Partial Wakelocks, even when the screen is ON...
[BetterBatteryStats] polobunny:
That would be fine, because I'm playing a game so I expected AudioOut_2 to show in there in partial wakelocks while the screen is on in current since boot/unplugged, but it also appears in the screen off section which shouldn't happen, because the screen isn't off.
[BetterBatteryStats] Karpfenhai:
I think you are mistaken something here, screen off in not a separate section, it's just a reference which will created if you're turning off your screen.

Next time you turn off your screen a new screen off reference will be created and the counters are going to reset.

Regards

Tapatalked from my Galaxy SII

---------- Post added at 09:01 PM ---------- Previous post was at 09:00 PM ----------

I would trust the figures from bbs, on my kernel it's the other way round, system monitor doesn't report any awake time..

Looks not to bad btw, would recommend to change your baseband and turn off Wi-Fi.

Tapatalked from my Galaxy SII
[BetterBatteryStats] polobunny:
So it's not WHEN the screen is off but rather SINCE the screen was turned off? That's a shame then. It still seems incremental though, it does not get erased and re-created on screen on/off.

I was under the impression it could be used to troubleshoot and separate screen on and off. Is there any way I could do that?

Thanks for the answer though, that explains a lot.
[BetterBatteryStats] Karpfenhai:
An old baseband can lead to significant drain, especially on Samsung devices, best approach ask in your device thread for modems known as Battery friendly.

Regards
[BetterBatteryStats] Boomer1605:
I've looked for diff I747 modems and I found these here... http://xdaforums.com/showthread.php?t=1831898....but I already have the latest one installed.....not asking to be spoon feed but I'm at a road block....if this is the latest and I'm on it I cant change to hopefully resolve my issue..so I'm stuck?
[BetterBatteryStats] cgeorge12:
I am begging for help!

Forum,

I am a new xda poster. I came across this website while looking for other people experiencing the maddening issue that I am currently experiencing. First off, my phone is the Droid Razr Maxx HD. This thing is supposed to have a crazy good battery. Since a couple of weeks ago, I experienced this wonderful feature. However, as of late, my battery has been dying with very normal use in approximately 6 hours. For reference, under exact same usage patterns, I would be able to wake up around 8, use it all day, and go to bed at 11pm with still around 35% battery left. This battery drain is accompanied by an always warm (sometimes hot) phone.

I tried deactivating/uninstalling the usual suspects (facebook, location services, wifi, maps, weather app, etc...) with no luck. I even resorted to a factory reset. I am still experiencing abnormally fast battery drain. I wanted to see if anybody in this forum has any guesses as to what this could be. I haven't seen "the phone getting hot" as a complaint very much on this board, so I thought maybe that might be something that gives away the culprit.

My gut is that it isn't simply my battery going bad because the issue came about so abruptly. It seems that if the battery were going bad, it would have been a gradual thing.

I installed BBS (thanks for that!!!) and I plan on giving it a go this evening when I can afford to not use the phone for an extended period. I will then do a dump.

I am desperate for help!

Thanks!
[BetterBatteryStats] Karpfenhai:
Ah, that device ifs an galaxy s3?

I remember there have been huge problems with LTE in the U.S., let me search, maybe I'll find the thread, does your drain vanish on 2g/3g?

Jepp here we go http://xdaforums.com/showthread.php?t=1811182

I know it's very old but the same phone maybe it's an interesting read for you.

Edit, sometimes older baseband can also help, read this too --> http://androidromupdate.com/2012/09...ew-ota-update-samsung-galaxy-s3-att-sgh-i747/

Still researching..

... hmm, from what I've read I would try this modem -> i747UCLH9 but beware, never ever flash a modem which contains ril files, it will break your data connection, extract the modem.bin and use Odin.

You can try any modem, find out, which suits your needs best.

Tapatalked from my Galaxy SII

---------- Post added at 11:50 PM ---------- Previous post was at 11:42 PM ----------

First measure to elude the battery as issue, does it persist in flight mode?

Looking forward reading your dump.

Tapatalked from my Galaxy SII
[BetterBatteryStats] necik:
Hi corruptionfreeindia,

I _did_ use the HIDE tag...

Necik
[BetterBatteryStats] Boomer1605:
I rarely use my data...unless I leave the house and its only for 2-3 mins....would the LTE drain still apply?....I have made some changes and will do another BBS tonight and see if any thing has changed
[BetterBatteryStats] dookiebfr:
Just bought it! It's awesome! Great job! :good:
[BetterBatteryStats] cgeorge12:
Here is the dump file. About two hours using BBS with the phone in airplane mode. Lost about 25% of my battery in that time despite having the screen off the entire time. What does everyone think? I am going to be really bummed if this is a battery issue because I am past my warranty and Moto already said they would only fix it for a $180 fee.
[BetterBatteryStats] PIRATA!:
Excuse me...I have first and big wakelocks in Partial Wakelocks from AudioOut_2 !!!!

What is it for..music mp3/streaming play?

How can I reduce it?
[BetterBatteryStats] mockrocker:
Try turning off touch sounds, lockscreen sound and vibrate on touch.
[BetterBatteryStats] OGroteKoning:
Can anyone please tell me what gcm_conn_alarm is? It kept my phone awake last night
[BetterBatteryStats] Sedariya11:
Here is the full dump of 21 hours time. Hope it helps. thanks for your help.:good:
[BetterBatteryStats] Karpfenhai:
It's clearly not Visible in the dump, consider your battery is borked or a hardware fault.

Tapatalked from my Galaxy SII
[BetterBatteryStats] leventbb:
Hi All,

I was having a battery drain problem with my HTC One (ARHD ROM 41 - Kit Kat, HTC kernel etc - so pretty close to stock), losing around 5%/h during idle times, I've had BBS for some time but unable to find the root of the issue with definitive solution. From time to time it showed up as NlpWakelock related, I've shut down device locator in Android Device Management (google settings) and gained around 5-8% on full charge. But it seemed like something was missing in the logs.

Then I've installed GSam (along with BBS), I've noticed that there were a high number of BatteryServiceUpdateStats wakelock stemming from kernel. I've visited back the first and second posts and noticed something I've ignored previously that BBS has to be installed in system/priv-app on KitKat 4.4 and upper for full functionality. So I uninstalled GSam and BBS and reinstalled BBS then using System installation under options with success. Voila!, drain seems to be fixed (I've lost 1-2%/h in the last 12 hours since this fix and will report back if the behaviour changes).

So I suspect, BatteryServiceUpdateStats might be causing additional wakelocks, which are not easily traceable in BBS.

So please make sure that you install BBS on priv-app on KitKat to make sure no weird wakelocks occur and app functions properly.

Also it might be a good idea to detect OS version during first run of the BBS to offer system/priv-app installation.
[BetterBatteryStats] stormtroopercs:
Does anyone here know what this means? And is it normal? I'm not streaming as I have it downloaded but the battery drains very fast while listening to music...

Edit: also, what does lo mean?
[BetterBatteryStats] vukis:
Rooted nexus 5 with stock ROM + Xposed.

This started recently: BBS shows 90% of deep sleep, but it is losing 5% every hour. Nothing new or special in alarms or wake locks. As always google gooogle android gms made most of the wakeups. But as BBS reports 90% deep sleep I won't bother with alarms as it is pretty normal. But why then 5% battery lose every hour? Is it hardware defect?
[BetterBatteryStats] chamonix:
a good explanation for the fact that BBS, on a rooted device but not installed as system app could cause more overhead is that in that scenario all stat info is obtained through dumpsys as opposed to making specific API calls. a full dump (dumpsys) would traverse all API to dump a full picture.

one should note that this overhead is only caused when references are created / updated
[BetterBatteryStats] papaj0e:
lo means local network interface - the generated traffic is internal between apps on the phone and there is nothing to worry about...
[BetterBatteryStats] icemaker1982:
Hi,

Let's say I still want Gmail notifications when the screen is turned off and I have the choice between Wifi and 4G.

Which one is better for minimum battery usage: Leaving Wifi on or turn Wifi off and rely on 4G network ?
[BetterBatteryStats] necik:
Thank you It_ler for your suggestions. Settings -> Location services -> "Location and Google search" is always switched off on my phone. First I tried to switch off Settings -> Location services -> "Use GPS satellites". That didn't help. Then I switched off Settings -> Location services -> "Use wireless networks". That seems to help.

Now, is there any way how to identify particular application which requests location? So I can kill it instead of switching off the location capability. I have no running applications in "Active applications" so it must be some background process.
[BetterBatteryStats] Urmus:
Issue with BBS since CM11

Hi everybody,

I have an issue since I upgraded to CM11 M2 on SGS3 i9300 :

Everything worked like a charm on CM10.2

BBS worked for a few hours after upgrade, and since an unidentified event, I have an error message when launching BBS :

I hit refresh, but nothing happens. I tried custom references, but I still have no display.

I tried these things :

Enabling root features

Install app as a system app

Force close & clear data. It worked once, but after a few minutes, the problem was here again. Now, when I clear data, it doesn't work.

Check "Private storage"

Uninstall/reinstall the app

Install XPosed module "Enable BatteryStats Permission"

But nothing of this list solved my problem... :crying:

Do you have any idea?
[BetterBatteryStats] chuckenheimer:
Replying to a post a couple of years old, I wanted to inquire about Cerberus causing wakelocks on my system, too. Seeing the GPS icon activating more than normal, I was curious if others had seen this behavior and what might be done about it. I'm getting the hang of BBS and am working my way through to a better battery life and enjoy the hunt. Thanks!
[BetterBatteryStats] Perseus:
If you have a stable WiFi Connection such as home, then use that.

Did you plug the phone in and then out ? Also reboot if you miss Process tab.
[BetterBatteryStats] gordonthegopher:
Having a nightmare here. S3 on Omega v53 (4.3 stock kernel ML2)

On Wifi the battery life is great, phone stays cool.

As soon as I use 3g, the phone heats up and the battery drains mega quick. If I turn off the screen, the phone cools down again and seems to go into Deep Sleep. But as soon as I turn the screen on and start using 3g, it heats up again. I've turned Fast Dormancy off, disabled Samsung Push Sync and Cloud Sync and cleared Play Services data. Log follows...
[BetterBatteryStats] gordonthegopher:
Zz

Zz

c
[BetterBatteryStats] gordonthegopher:
I had MUCH better battery life with the same setup on 4.1.2
[BetterBatteryStats] Urmus:
Yes I tried that too. I also waited until full charge and then pug the phone out. Reboot does not change anything either :(
[BetterBatteryStats] reneftw:
Can anyone help me with this please?
[BetterBatteryStats] Doubletapz:
Updated BBS Dump

Kindly look at my latest dump file. and please tell me any improvement can i make to improve my battery life.

thanks
[BetterBatteryStats] jasvncnt1:


Sorry if this is a silly question. I just upgraded to KitKat. How do I make sure I install to system/priv-app? I usually use TB to convert bit I assume if I do it would just go to system/app.
[BetterBatteryStats] Renton91:
Hi there, please can someone give a look at this dump file since I don't understand anything. I have such an elevate consumption of battery that I have to charge it twice a day.

Please, help me.

Thanks in advance.
[BetterBatteryStats] susmitpatil:
Can someone please read this bbs log for me and help me get rid of the wakelocks?

Please..

Device: GT-I9500

Rooted. Running wanamlite 4.3
[BetterBatteryStats] edgeez25:
My battery is already pretty good but if anyone can take a peek and maybe see if I'm missing something it will be greatly appreciated
[BetterBatteryStats] leventbb:
After installing BBS (latest version), Go to Settings -> Advanced -> System App (experimental)

Click Install as system app and reboot

If caught in a boot-loop, go into recovery and fix permissions and wipe cache and wipe dalvik-cache
[BetterBatteryStats] Perseus:
Edit - I see the dump from next post. Location Service as expected. Also noticing extended Sync period. Did you have loss of Signal or a lot of emails ? Can you manually turn Sync off and then turn on when necessary ? PlusoneLabs Calender widget seems bit aggressive. Is there a way to bring down sync frequency ?

Do you have signal issues ? If you do, can you toggle Airplane mode for a minute and then turn it off again ?

Can you check in the latest commits of the Rom if there are Battery Stat Service changes ?

Facebook and Gmail Sync seem to take a lot of wake time. In particular Google Account sync took quiet a lot than expected. That should not happen unless you flashed a new Rom and did clean install. Its possible you had bad signal or connection when that happened.

Did you happen to talk for nearly an hour ? If not, then please remove dialer app from system startup. You may use Startup manager for that. Also Playstore activity was significant. That tool a toll.

Location Service, Facebook (wants your location) and Google Account Sync seem to take a toll.

Seems like you have had possible signal issues. Others had better results with Siyah. See other posts in this thread about Fast Dormancy.

Your Device is rooted but you have not enabled Root Features in BBS. Please see them under Settings > Advanced.

Please set a location manually within the Weather Widget. It takes a drain to find location as you keep moving. Also I see possible signal issues. Can you toggle Airplane mode on and then off for a minute ? That will get a better Tower lock.
[BetterBatteryStats] Boomer1605:
Battery seems to be good just would like someone to take a gander at BBS just to make sure everything looks ok and not getting outta hand. Also is there a way for me to get battery info from battery tab on phone and BBS to reflect same? BBS says Deep sleep is 9 hr but phone tab says it never slept(screenshot).Thanks for any input and info
[BetterBatteryStats] gordonthegopher:
So I have to turn off Location Services under the phone settings? And in Google Settings? I use FolderSync Lite, but only a scheduled sync in the early hours to back up my photos. My signal fluctuates a lot as I travel, I'm on 3 UK, worst network ever, can't even get signal in my house.

I've uninstalled the Calendar Widget as Omega 54 has the S Planner one.

I can turn Airplane mode on and off, but doesn't make a difference.

My main gripe is that all the above didn't need to be modified on 4.1.2 and battery life was FAR superior. Is 4.3 on the S3 just that bad? I don't really want to have to turn all the features I used under 4.1.2 off. Especially not Sync. I used to have everything above switched on on 4.1.2 and get a good full day of use out of my phone. Looks like I'll have to downgrade or go AOKP.

Has anyone else had similar woes?
[BetterBatteryStats] edgeez25:
OK here's another dump I normally set all locations manually must have forgot to turn it of ...Also I toggled Airplane off an on a couple of times a couple of minutes apart to see if that helps...Again really appreciate it
[BetterBatteryStats] jasvncnt1:
Worked out great so thanks! And no boot-loop. Must be my lucky day
[BetterBatteryStats] AA1973:
Could also be related to the superuser app which is used? Just throwing in an idea?

Using Chainfire 's SuperSU with Omni on KitKat with no issues. Even a backup script for bbs is working, avoids an additional reboot after the nigjtly update.
[BetterBatteryStats] Perseus:
You may wish to follow this thread. Process tab data was missing from your Dump. Probably boot reference did not register. Please pay attention to the top process. Mostly that's the one using Location most. Location does have a drain here.

To my knowledge, others had similar gripes about Stock 4.3 update. Be careful downgrading. You will hard brick if you try to flash older bootloader.

[/COLOR]

I still see weather widget creating Location Wakelocks. Please reboot and get a idle dump. IDLE = No touching the phone for 3 hours at least.
[BetterBatteryStats] edgeez25:
OK I couldn't get it done earlier but I finally got it done ... I noticed my weather option for lockscreen was set to update I turned that off and made this dump.... I'm leaning to getting rid of android weather widget and get something else

Edit

I made another dump over night toggled airplane mode on an off and switched to hd widgets
[BetterBatteryStats] Lither:
I'm getting wakelocks from Google Play Service, Store and other services from Google, but I've already use Greenify to hibernate them but they still wake up, is it recommended to use Titanium Backup to freeze them when I don't use it and unfreeze when I do?
[BetterBatteryStats] Sedariya11:
There is a new version that has come out for Google play services which has battery saving changes. Check this thread:

http://xdaforums.com/showthread.php?t=2604851
[BetterBatteryStats] Urmus:
I checked and did not see anything about this. But if this helps, but I have raw battery stats which seems to be updated correctly trough time. The problem seems to come from references.
[BetterBatteryStats] Lither:
So that version will stop or reduces Google Play Services and Store wakelocks?
[BetterBatteryStats] Sedariya11:
I don't know much buddy but Here may be some dev can help you with that.
[BetterBatteryStats] manueltts:
I also have those (specially mspi) on the top count. I've tried ifferent ROMs and kernels. I've disabled Gmail sync (Indeed, general sync. I toggle it when I need it). With radio-interface... I'm not worrying by now; but I really want to know at least what does provoke mspi-wake. I couldn't find usefull information.

Thank you in advance!

Manuel.
[BetterBatteryStats] dohseven:
I tried to disable the mail check, but it didn't change anything: mspi_wake is still present on top of the kernel wakelocks.

I also took a look in the Kowalski kernel code I use (by pengus77): mspi_wake seems related to the SPI driver, and I don't see how it can be related to the email or another app synchronizing... I have the android logs showing the mspi_wake, but as I don't know how to read those, I couldn't find any useful information about the problem origin.
[BetterBatteryStats] miatawnt2b:
On my S3 I installed Quantum 3.15 ROM a few days ago with decimalman's kernel. (4.4.2)

I am getting battery drain with my phone doing nothing at a rate of 7-8% per hour. BBS lists the PowerManagerService.wakelock at the top of the kernel wakelock section. A little research tells me this is a placeholder for all partial wakelocks. Problem is, partial wakelocks lists nothing. So I have no idea what is really going on. Can anyone give me some advice where to look next?

-J
[BetterBatteryStats] Perseus:
This is looking pretty Good. Please turn off Location Reporting from under Location Settings of Google Maps.

Please look closely at the settings inside the Android Weather widget. You have a choice to determine your location or Enter City or something to that effect. Set the City instead.

Please Post a Logcat and a Dump.

I believe this from IMAP pull the Email Client does.
[BetterBatteryStats] manueltts:
I don't think so. Gmail has sync deacctivated, and the ROM's email app is frozen. I'm starting to think tghat is something device-kernel specific; i.e Kowalski kernel for LG P990, or just the LG p990.
[BetterBatteryStats] Urmus:
I can't dump, BBS crashes when i try to share...

Here is the logcat for both problems (no reference loaded and dump crash)

CC [MENTION=1330150]chamonix[/MENTION]
[BetterBatteryStats] Perseus:
Oh that's certainly possible. I was not aware Email was frozen. Is Exchange services frozen as well ?

Paging [MENTION=1330150]chamonix[/MENTION]
[BetterBatteryStats] edgeez25:
OK I did it and created another dump.... Again can't thank you enough for you help...
[BetterBatteryStats] albie999:
I've taken a look through the log file, but really cannot understand it. Could someone take a look and decipher what is going on. Thanks in advance