yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] It_ler:
You have to set a reference in BBS to just record battery stats for a special period of time.

In your last BBS dump, you have more than 1 hour of screen on time ... maybe it was the time before the night, where you used your phone.

And this period of time was also included in your dump file.

So usage stats and over-night/idle stats were mixed up.

You can either reboot your phone before recording the over-night stats. Then the reference is since boot.

Or you can plug and unplug the charger/USB cable before recording the stats. Then the reference is since unplugged.

Or you can open BBS app, click menu button and select "Set Custom Ref" before recording the stats. Then the reference is since custom reference.

Just select the corresponding reference after waking up the phone in BBS app (in the morning) and then "Dump to File".

So we should get only your idle battery stats with nearly no screen on time.
[BetterBatteryStats] chamonix:
Sorry for the lag, I was busy releasing some other stuff ;)

https://github.com/asksven/BetterBatteryStats/issues/327
[BetterBatteryStats] chamonix:
The logcat does not show that much, most probably because you haven't enabled debug logging in the advanced prefs.

The only thing I can see is:

I/SmallWidgetProvider( 5602): onReceive method called, action = 'BBS_WIDGET_UPDATE' at 2013-01-02 15:03:42

That shows that the widget update routine gets called. It obviously fails somewhere and hopefully a log with debug info will help us refine that. I will deinstall / reinstall BBS on my phone to see if I get the problem that has now been reported a few times but that I can unfortunately not reproduce.
[BetterBatteryStats] fndpena:
Still too many wakeups from GSF and Android System...

I saw some else's screenshot with NO wakeups from android, I'm still trying...
[BetterBatteryStats] Karpfenhai:
As written above provide an idle dump.

Asking for SIM pin could indicate a unwanted reboot, check your battery display for interrupts. And your uptime.. :D

Tapatalked from my Samsung GT9100

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

Okay, this might be pretty interesting to the developer, do the following (if possible).

Open a terminal ... no wait.. you stated the system crashed immediately... so open an adb shell, install bbs. When device it's going mad, enter the following command:

adb logcat -d long >logcat.txt

Post the file here afterwards.

More information can be obtained here --> http://xdaforums.com/showthread.php?t=1726238

Duo the same with dmesg:

adb dmesg >dmesg.txt

Post it too, were are keen to see where the problem is, good luck!

Tapatalked from my Samsung GT9100

---------- Post added 4th January 2013 at 12:01 AM ---------- Previous post was 3rd January 2013 at 11:50 PM ----------

You got me right, latest su binaries with supersu app.

The funny thing is, I updated bbs as user.

The wl appeared. I disabled the root features, wl was gone, some time later I switched the user to the main one (root)

Even I didn't install rc5 with this user, supersu asked for root and the version was up to date... weird?

But, it's a known issue for both su implementations that multi user support is not given yet.

We had the same problem in the past with other people complaining about infinite wakelock from bbs on android prior jelly bean, in that case I assume a dirty root implementation. (Rooted via update.zip in stock recovery).

Hope this helps, btw u love your issue handling, you're so ITIL! :cool::p

Tapatalked from my Samsung GT9100

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

They look much better!

Unfortunately the device is in the bedroom together with its owner.. :D Seems she likes it very much... so I'll check again tomorrow and will provide another logcat.

The advantage is you will get 3 full days mixed usage for calculations. ;)

Tapatalked from my Samsung GT9100
[BetterBatteryStats] Thomas_BA:
Well folks after reading a lot i have optimized my RAZR i think very good. Nearly no battery drain. Only one thing is still disturbing.

com.google.android.gsf.gtalkservice has a lot of wakelooks.

Configured Google Maps like in Post 3, froozen most of the Google apps like GTalk, only left ower is sync of phones numbers and calendar. Some relation to this?
[BetterBatteryStats] crunchthem:
Best app to find out the causes of high battery drain. thank you !
[BetterBatteryStats] kpavl01:
Uptime was not interrupted and battery doesn't show an interrupt.
[BetterBatteryStats] ksarius:
Ok. I will do that. But could anybody answer my qurstion 1 and 2??

Thanks
[BetterBatteryStats] SimplyEvil:
finally, cant wait to try this thx so much, amazing work
[BetterBatteryStats] Casanoaa:
Audioout2 is could be music playing or other thing coming out from your loudspeaker.

The other one phone is i think is something with your gsm settings.

But please provide an idle log it's much easier to read.
[BetterBatteryStats] Melhisedek:
Hello there folks,

this is my first post and I registered just to get help so please excuse me for my ignorance (I watched the "Noob" video :)

Anyway I got my shiny new S3 a few days ago and right away I noticed a high battery drain. So I did a factory reset and flashed a newer update than I already had (I found the instructions on how to do it here on the forum). But nothing really changed I still lost between 2-4 % per hour even on standby.

So I installed better battery stats and here is the dump. I hope you guys can see what the problem is. I can try and root it so you folks can check Alarms as well if that is needed.

Thank you for your time!
[BetterBatteryStats] Casanoaa:
Have you tried autostarts? and I may say we can't get the gsf count down to 0 but we can get it low. You may try some settings for google services framework.

You could try my settings. Remember to restart your phone after you set the settings with autostarts.

http://xdaforums.com/showpost.php?p=35755907&postcount=11160

---------- Post added at 08:37 AM ---------- Previous post was at 08:31 AM ----------

Please enable alarms and network in next log. There are not much to see here. : )
[BetterBatteryStats] starbright_:
I removed GetJar and installed STartup manager to disable all User Apps from Startup. Not all did this (YouTube, Fliq Calendar, K9), but Maps.

Then I leave the phone alone over night. It seems to run amok, even more than the night before. (Again, this is with WIFI on, but behaviour was ok in this mode 2 month ago).

I added logcat and dmesg. Dailyme is setup to not download in background.
[BetterBatteryStats] MattRob:
Just moved to the latest Omega V35 and have terrible battery time at the moment ... Losing about 13% per hour ... !? I am a heavy user, so I know I will not have days on my battery, but this is really terrible. I use FB a lot, on WiFi at home and in the office, and BT for in the car. I make regular calls and am almost addicted to email ;) ! I have work (through exchange) email which is most important, apart from that gmail and hotmail.

Looking at the dump myself (and I am not experienced in this, but wanted to give it a try after everybody referred to BBS), I see:

- Wifi and BT topping the list; is that really making a big difference ?

- Exchange coming up high as well; but I really want that to be as is now

- Mediascanner; not sure why I need that working that frequently like this ? Any tips how to avoid this ? I only use it to make pictures

- NetworkLocation; probably google maps or so ? Did not use that during this 3,5hours; use google maps now and then and really like it

- GTalk ? Never used this

Hopefully some tips; I find it hard to distinguish what is really eating battery from the dump file ?
[BetterBatteryStats] Casanoaa:
Start with this:

Exchange, you can use pop3 settings instead of exchange. Don't use push if you want to use exchange. Use manual or interval synch.

Bluetooth & gps. Disable it when in not in use.

Disable fd with gokhan morals fd app on gplay.

Maps see post 3 in this thread

Facebook disable it and use other app (friendcaster, browser)

Disable networklocations in rom/settings.
[BetterBatteryStats] MattRob:
Txs !

Not exactly sure what you mean by this ?
[BetterBatteryStats] kpavl01:
So i left it overnight without a charger and it dropped 1-2%. Wi fi was off. Here is my dump file after night of not using it.

I noticed that when on wi fi, battery drains quickly- it drained 98-90% too fast.

When i press options-->more--> raw stats--> raw alarms it shows different?

Thanks.
[BetterBatteryStats] fndpena:
1. "Audio_out2" is related to any audio task running on the device (playing music, ringtones etc). You probably listen to music in your device on a frequent basis, right?

2.

**** 1. I'm not sure but I think most of android system wakelocks are caused by manually unlock the device by the user. If not, you can try to disable a lot of services in Titanium Backup, this may reduce these wakelocks

**** 2. Good question. Did you tried to disable autostarts for Gtalk?

PS.: Disable JuiceDefender, you don't need that.
[BetterBatteryStats] PIRATA!:
I'll quote me again.. :) please help me!

And here is my dumpfile: http://db.tt/ot91IsUA

Please take a look at it and tell me what I can do.

I have disabled autostart and all related stuff for Maps as explained in post n.3, and managed to remove all notifications for the eBay app, but still working on it as I would like to understand if it's possible to receive push notifications without any pull notifications

Also I have disabled autostart for all those apps I don't use and need at startup.

And here some screenshot:

P.S.: I never use SVoice....
[BetterBatteryStats] fndpena:
wow, 1398 wakeups for android in 1h is WAY too much. Really, you should disable a lot of apps apps using TB (specially samsung apps). This will drastically improve your battery life.

Also, disable Fast Dormancy using this app: https://play.google.com/store/apps/...W5tb3JhbC5mYXN0ZG9ybWFuY3l0b2dnbGUuaTkzMDAiXQ..

Here's a list of apps that you can safely disable:

AllShare Cast 1.0
AllShare Play 1.0.1983
AllShare Service 1.0.0
AVrcpServiceSamsung 4.1.1-L710VPBLJ7
Bubbles 1.0
Calendar widget 1.0
CapabilityManagerService 2.4.0
ChatON 1.10.4
Clock (digital) 1.0
Clock (digital) 1.0
Clock (funky) 1.0
Clock (modern) 1.0
com.samsung.app.playreadyui 1.0.0
com.samsung.InputEventApp 1.0.0
com.sec.android.app.wfdbroker 1.0.0
Deep sea 1.0
DirectShareManager 2.0.3 (needed for NFC)
Downloads 4.1.1-L710VPBLJ7 **There are two APKs with this name; only remove the one that is a GUI for the browser's downloading. If you are unclear which is which, leave both installed**
DRM Protected Content Storage 4.1.1-L710VPBLJ7
Dual clock (analog) 1.0
Dual clock (digital) 1.0
Dual clock (digital) 1.0
Enterprise SysScope Service 4.1.1-L710VPBLJ7
Enterprise VPS Services 4.1.1-L710VPBLJ7
Enterprise Permissions 1.0
Face Unlock 4.1.1-438695
Favorite apps 1.0
Favorite Contacts 1.1
Flipboard 1.9.6
FWUpgrade 1.2.0 (Upgrade client for AllShare app)
Game Hub 2.1.0
Google Bookmarks Sync 4.1.1-438695
Google Search 1.0
Google+ 3.1.1.32879387
Help 1.0
HTML Viewer 4.1.1-L710VPBLJ7
Internet 4.1.1-L710VPBLJ7 (Stock Browser)
Kies air 2.1.209281
Kies via Wi-Fi 2.0.0
Live wallpaper picker 4.1.1-L710VPBLJ7
Luminous dots 1.0
MAPServiceSamsung 4.1.1-L710VPBLJ7
Market Feedback Agent 4.1.1-438695
Media Hub 1.6.0(LI0D, 1107480)
Mobile print 1.6.1.0803
More Services 1.0
Music Hub 30.2012.10.01.22
News Daemon(EUR) 120911.01
Nfc Service 4.1.1-L710VPBLJ7 (needed for NFC)
NFC Test 1.0.0
OmaDrmPopup 1.0
Phase beam 1.0
Photo wall 1.0
Picasa Uploader 1.1.40000
Pickup Tutorial 4.1.1-L710VPBLJ7
Polaris Viewer 4.1.4.1.4209.11
Remote Controls 4.30
S Memo 12.02.07.4816
S Memo 12.02.07.4816
S Suggest 3.2.47
S Voice 10.0
Search Applications Provider 41.1-L710VPBLJ7
Samsung account 1.3.019
Samsung Apps 2.8.026
Samsung Backup 1.0
Samsung Backup Provider 1.1
Samsung Browser SyncAdapter 1.0
Samsung Calendar SyncAdapter 1.0
Samsung Cloud Data Relay 1.4.10r7
Samsung Contact SyncAdapter 1.0
Samsung keyboard 1.0
Samsung Push Service 1.1.2
Samsung SMemo SyncAdapter 1.0
Samsung Syncadapters 2.1.5
Samsung TTS
SamsungAppsUNA2 2.0.35
SASlideShow 1.0
Setup Wizard 1.3
ShareShotService 1.0
SIM Toolkiet 4.1.1-L710VPBLJ7
Simple alarm clock 1.0
Smart Device Manager 3.3.2
SmartcardService 2.3.2
SNS 1.1.0
Stock Daemon(EUR) 120917.01
SysScope 1.1.15
Tags 1.1 (needed for NFC)
Talk 4.1.1-438695
TalkBack 3.1.1_r68
Try panning 1.0
USB settings 1.0 (Kies.apk)
VPN Client 2.6.1
VpnDialogs 4.1.1-L710VPBLJ7
Weather Daemon 120905.01
Weather Widget 121002.01
Weather Widget Main 120917.01
Wi-Fi Direct 1.0
Wi-Fi Direct share 1.0
Windy weather 1.0
Yahoo! Finance 120917.01
Yahoo! News 12.10.08.02
[BetterBatteryStats] BullHorn7:
So as recommended before, I disabled Fast Dormancy and also applied a Tasker profile ( http://tasker.wikidot.com/juice-defender-inspired-battery-saving ). Lost 0% battery in 6 hours of idling!

The problem is, when the phone enables sync & data for 2 minutes, it's usually not the particular time when apps decide to sync... Is there a way to make Tasker force the apps to sync exactly when sync & data is enabled?
[BetterBatteryStats] Casanoaa:
See here what i mean

http://xdaforums.com/showthread.php?p=29420959
[BetterBatteryStats] MattRob:
Ah, ok, but I already followed you rsuggestion on maps in 3rd post, so that is the same (because you are linking to that now) :good:
[BetterBatteryStats] azrash:
That means that your wifi is waking up your device. You can use better wifi on/off from the same Dev. Try testing the battery life with another wifi access point, if it is alright, then you can try and reduce the wifi wake of your router. There are previous posts that mentioned how to this. Look it up

Sent from my Desire Z
[BetterBatteryStats] Karpfenhai:
Here are the latest results for you Sven:

View attachment wakeup_sources3.txt

View attachment logcat-2013-01-04_073410668.txt

Somehow the fallback since boot is not working properly and I don't like the "current" behavior but that's more a personal thing...

Tapatalked from my Samsung GT9100
[BetterBatteryStats] lirong:
OK. I think/hope this time I got it correct.

Charged to 100% then unplugged. Left the phone on and untouched overnight. I know I have Touchdown set to synch every 30 minutes, but thats all I know of.

First thing in the morning did a file dump (battery was down to ~85% after approximately 9 hours of being unplugged and unused overnight).

Dump file attached. Did I set up properly and get you the needed info?

Thanks!
[BetterBatteryStats] arqsha:
I see that the Bluetooth was on all 8 hours, so that might be a part of your drain.
[BetterBatteryStats] kpavl01:
What do you mean by "You can use better wifi on/off from the same Dev."? Is everything other alright?

EDIT: found it on google play. Thanks.

I am just interested if everything is alright besides wi fi?
[BetterBatteryStats] It_ler:
He meant this app => http://xdaforums.com/showthread.php?t=1801284

Have a look and if you want, give it a try.
[BetterBatteryStats] ksarius:
Ok

I will leave it idled tonight

Thanks a lot
[BetterBatteryStats] azrash:
Your deep sleep is at 98.8% which is very good. You can disable Google quick search, but at this point, it is very negligible to the battery life. Everything else looks fine.

I use BWO when I am at my uni place, the wifi just keep waking my device up even after tweaking with the router settings.

Sent from my Desire Z
[BetterBatteryStats] kpavl01:
Ok. So i can just download it from google play.

I have 2 routers (one main and the other one is just spreading wi fi - idk how to call it) beccause one has bad signal but when on pc it doesn't lag and it is fast, and the other one is a bit slower and lags on pc but has very good signal and i can go to internet in every room in my house.
[BetterBatteryStats] It_ler:
Oh, it's called (wifi/WLAN) repeater. With same SSID (network name) and login credentials as the WLAN router I think.
[BetterBatteryStats] kpavl01:
Yes that is it. Repeater. I will connect to my main router and make BWO work. BWO only disables wi fi when my phone is locked and not working?

I would press thanks button but i used them all for today. If I remember i will press thanks tomorow.
[BetterBatteryStats] It_ler:
You're welcome.

P.S.:

When using xda-app, you can give some more Thanks.
[BetterBatteryStats] lirong:
I use my phone with the headset often. I found that leaving bluetooth off and then remembering to turn it on each time i answer or make a call was not working for me.

Do you think I would get significantly more battery life if I didnt have the bluetooth mode always active?

Is this something I can easily automate with tasker - Phone rings or outgoing call is placed, bluetooth activates? And then deactivates automatically when call is over?

Does everything else look fine?

Thanks.
[BetterBatteryStats] azrash:
Yeap, and the algorithm is quite smart. It will keep wifi on if you are downloading something. And will turn it off once it is no longer used. Play around with setting that suits your needs

Sent from my Desire Z
[BetterBatteryStats] cute_kayani:
What is no data connection? And no or unknown signals wakelocks...
[BetterBatteryStats] PIRATA!:
Thank you... but I use Samsung Apps... and I think my network has Fast Dormancy, and I have read that I should keep FD enabled... right??

About the apps you say I should "disable"....you mean "uninstall" ???

Which of those are really making wakeups in my system?? I have already uninstalled a lot and disabled autostarts for others...

Also my email, facebook and whatsapp syncing it's not as before.. and I really can't understand if I disabled something I shouldn't.

Isn't there in my dump something that could explain this and those so high number of wakeups??

Just would like to know what are the apps/components involved so to work on those.

Please help and thank you all.
[BetterBatteryStats] mikoal:
I have the v.1.12 on my s3 with stock rom and kernel (rooted) running and im having trouble viewing CPU States (nothing shows up).

I tried unplugging and plugging but nothing.

Only thing that works is if I try to use SetCPU, the state files are then updated or changed allowing BBS to pick it up, but without starting setcpu, nothing is read.

I couldnt find anything, closest thing I've found was thishttp://xdaforums.com/showpost.php?p=31144230&postcount=8281
[BetterBatteryStats] ezechiele25172012:
Hi all, I'm using latest version (1.12RC5) of betterbatteryStats, this is the first time I use this app; can you tell me why in applications manager in the settings options of the galaxy S3 I see that there is the procerss of betterbatteryStats always even I don't use the application?

thanks
[BetterBatteryStats] BullHorn7:
The app is working in the background, keeping data about your battery usage, as intended.
[BetterBatteryStats] kpavl01:
I have no idea how to tweak my router settings. I searched but I cant find anything good. Can someone give me a toturial or something?

This is crazy how it eats my battery. I can literally see my percentage go down.

On my fathers and sisters phone wifi doesn't drain the battery.... Maby I should change ROM? I am on JellyBam 3.2.0. and Siyah v5 vsync.
[BetterBatteryStats] PIRATA!:
I have extracted the "android" wakeups:

android (): Wakeups: 1398
Alarms: 1380, Intent: com.android.server.LightsService.action.UPDATE_SVC_LED
Alarms: 178, Intent: android.intent.action.TIME_TICK
Alarms: 7, Intent: com.android.server.action.NETWORK_STATS_POLL
Alarms: 19, Intent: com.android.server.ThrottleManager.action.POLL
Alarms: 12, Intent: android.appwidget.action.APPWIDGET_UPDATE
Alarms: 2, Intent: com.android.internal.policy.impl.PhoneWindowManager.DELAYED_KEYGUARD
Alarms: 1, Intent: com.android.server.NetworkTimeUpdateService.action.POLL
Alarms: 4, Intent: android.content.syncmanager.SYNC_ALARM

Is that my Led activity that is waking up my device??

Here is my complete post with my screenshots and dumpfile: http://xdaforums.com/showthread.php?p=36263376
[BetterBatteryStats] jlv3:
Re: 1x1 widget is blank with 1.12rc5 (and earlier)

Here is a logcat with debug logging turned on: http://dl.dropbox.com/u/52956683/logcat-2013-01-04_111850226.txt

I see several updates to the SmallWidgetProvider in that log.

I opened an issue for this: https://github.com/asksven/BetterBatteryStats/issues/328
[BetterBatteryStats] Casanoaa:
You should set up your router . Log in to your router with 192.168.0.1 or 192.168.1.1 or www.routerlogin.com .. i don't no which router you have.

On mine netgear it when you login then you should get down and find advanced wireless settings and then config your acces list. Then enable your phone.

Then configure your phone. Enter wifi and forget your network and then re-enable it but with advanced settings and choose static ip. Then use that static ip you had in your router.

http://www.cctvcamerapros.com/DLink-Router-IP-Setup-s/162.htm

---------- Post added at 06:18 PM ---------- Previous post was at 06:16 PM ----------

Yes it is your led activity. Notification led on top left.
[BetterBatteryStats] mikoal:
i had this happen with cpuspy as well, then i tried another version that allowed root read and it worked.

Any of you experienced no cpu states with BBS on stock?
[BetterBatteryStats] PIRATA!:
I had changed my led behavior in the STweaks settings setting it for the fade effect...... Now I have set it back as stock. Let's see how it goes now....
[BetterBatteryStats] BTT8:
Anyone know why com.android.phone is causing so many alarms? I'm running 4.2.1.

Sent from my SGH-T999
[BetterBatteryStats] ccs86:
I'm having an issue where BBS is reporting Deep Sleep and Awake times, that when added, total more than the total time logged. Basically, it's telling me that for some period of time, the phone was sleeping and awake at the same time.

What's going on here?

Thanks!
[BetterBatteryStats] jlv3:
Interesting: when I added the 2x1 widget to the launcher it only showed "n/a" for every value. When I then changed the stat type displayed by the widget, it started showing actual values. When I then removed and re-added the 1x1 widget, it started working.
[BetterBatteryStats] chamonix:
Well that is indeed interesting. It suggest that something is wrong when no value is set in the prefs and the app has to use its defaults. I will check that in the code and deinstall/reinstall to confirm.
[BetterBatteryStats] chamonix:
Ok, this is some good info: with the policy set to "always" your phone will let Wifi run when the screen goes off. This confirms that the problem of suspend_backout is really related to the phone trying to turn off the stack and failing at that.

Before saying it's a driver problem you could check two other besides the interface that I am use things:

- in the logcat besides the interface I am used to (wlan0 and rmnet0) I noticed iface=ip6tnl0 that from the name seems to be related to ipv6. Is your router using ipv6 and/or is there any place in your settigns where you could try to force ipv4?

- have you checked that your wifi country settings are aligned with the channels used by your router?

For the time being I suggest that you set the policy to "always" and turn wifi off when you don't need it. At the same time you should really check the device thread as this problem is pretty serious and I don't believe you are the only one having problems with the drivers.
[BetterBatteryStats] Casanoaa:
Try press on it and see what phone uses.

Provide an idle log next