yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] BeowolfAgate:
Thanks chamonix for the quick reply

So now the only solution is to turn off the wifI if not in use? This kinds of defeat the purpose of smartphone right?

I don't have FB, Twitter client I use scope the interval for which is set to 2 hours. I don't use gmail moved my mail to the stock email client the interval is 4 hours for the mail refresh. I have turned off the location services, play store notifications. then what is causing these wakeups Dunno what else I can do :(

Appreciate any help
[BetterBatteryStats] jeremysherriff:
Just set the WiFi sleep/keep enabled policy to anything other than "always".

Sent using xda app
[BetterBatteryStats] BeowolfAgate:
Thanks Jeremysherriff

Will also try that and let you all know the results
[BetterBatteryStats] jeremysherriff:
Another option to try it's disable upnp on your router.

Sent using xda app
[BetterBatteryStats] sweeds:
BBS is the best!

A round of applause for the OP. This is simply the best app I've used for locating and detailing the causes of battery drain. I've gone from 20%/h to 5%/h -- which was a MUCH needed improvement (F$@#ing Google Maps GPS and some other culprits).

I wanted to express my gratitude for the app and information in this thread. I am going to continue tweaking to my own experimentations, and will most likely return to this thread with a dump to get über battery or when I need that final push for wakelocks I can't recognize. Keep up the good work! :good:
[BetterBatteryStats] It_ler:
You are welcome.

About my xda name: it is not "LT_LER" but it is "IT_LER" ... a capital "i" at the beginning.

Looks like a small "L" in some fonts.

Nothing to bother much, but saw this kind of misspelling in big letters for the first time.

(Sorry for OT.)
[BetterBatteryStats] justinliu:
Here's an update BBS log with 3 hours of no use on the phone.

Can anyone see if anything out of the ordinary stands out?
[BetterBatteryStats] It_ler:
Main drainer seems to be Fast Dormancy. Try to change the FD state. So if you have it enabled, disable FD, and the other way round.

You can try the USSD code *#*#9900#*#*, or of that does not work, try Fast Dormancy app from gokhanmoral (free from Play store).

And I see some other apps, such as REMINDER (com.eks.hkflight.HK Flight Info), jp.naver.line.android (jp.naver.line.android.LINE), MicroMsg.MMWakerLock (com.tencent.mm.WeChat) and Facebook.

try to disable/freeze all apps that you don't need every day.

Then try again.

Good luck !
[BetterBatteryStats] lickwidice:
Please analyse my BBS Log one last time

Hi IT_LER (I got it right this time)

First of all thank you this thread and for all the work you put into helping us improve our battery life.

I've uploaded a new log here http://pastebin.com/svALucik Please can you analyse it one last time.

I have a few questions if you can maybe help me by answering them:

1) This new Log has the following:

*sync*_gmail-ls_Account {name=EM, type=com.google} (com.google.android.gm.Gmail)

GmailProviderProviderChangedBroadcastWakeLock

DownloadManager

Where did these come from as my settings have not changed (I have to use Gmail and set my mail to sync because I work quite a lot with my email and need them asap)

2) What is "DownloadManager" why is it causing so many wakelocks?
[BetterBatteryStats] BeowolfAgate:
apologies will surely make sure that I spell it right going forward :cyclops:

I am still experimenting with the various values at my office and I would get a dump of the ideal time in the night. I tried jeremysherriff's suggestion of changing my wireless policy to anything other than Always. Basically I have observed the following pattern in my battery drain behavior

1. When I am on wifi below two wakelocks cause problem for me

battery-monitor

wlan_ctrl_wake

2. When I am on mobile data (i.e when I have changed my wireless policy to say only when plugged in) then the offending wake lock would be

GTALK_ASYNC_CONN

this is puzzling me like hell now..can't even concentrate on work now:(
[BetterBatteryStats] It_ler:
Don't be puzzled.

Let the phone doing nothing for some hours with the changed settings, then post the BBS idle dump file here.

We will see if wifi on or off is better for your battery life.
[BetterBatteryStats] albie999:
Talking about if wifi is better on or off .. I left my wifi off last night (used the wifi schedule option in the S3 between 10:30pm and 6:30am this morning). I was losing in the region of 28% in that time frame (8 hrs), last night it only lost 10% .. was really surprised in it being that much better when only switching off Wi-Fi
[BetterBatteryStats] It_ler:
Nothing bad.

I see "com.fivemobile.footy". Maybe something you can try to disable/freeze?

Gmail ... ok.

Maybe the download media was an attachment in a mail or WhatsApp message?!

But I recognize a "secril_fd-interface" wakelock. So try to switch your Fast Dormancy setting. If it is enabled, disbale it, and the other way round.

Use Fast Dormancy app from gokhanmoral (free from Play store) to toggle FD state.

Good luck !
[BetterBatteryStats] kimboinatl:
I'm running 4.2 (Jelly Belly) on my GNex, and according to BBS the location services seem to be waking the phone up a LOT, but I think this only happens when I'm connected to wifi. I use Tasker quite a bit using location based profiles, though, so I'm not really sure if there's anything I can do about this. Anyone have any suggestions?
[BetterBatteryStats] goodtimes50:
I'm seeing an alarming number of partial wakelocks from an app called "APP Lock" that allows you to pin-protect certain apps. I'm talking like tens of thousands overnight. Is it possible this is not being reported correctly? Any idea what it is about the way this app works that would cause this?
[BetterBatteryStats] Shone1980:
Here is mine. Let me know if there is something i could do to improve.;)

http://db.tt/C1vTk0E0
[BetterBatteryStats] It_ler:
Looks quite good.

I see a little bit eBay activity and "com.sunnykwong.freeomc (com.sunnykwong.freeomc.One More Clock Free)".

Think about disabling/freezing these apps if you do not need them every day.

Good luck !
[BetterBatteryStats] jeremysherriff:
Yes I am the same (gnex). My wife's Sony Xperia phone is better on 3g overnight. But my gnex is terrible on WiFi at work, I think because it is a hidden ssid.

Sent using xda app

---------- Post added at 07:32 AM ---------- Previous post was at 07:28 AM ----------

Yes, disable location sharing. Check on the op of this thread, there's a link to a guide.

Sent using xda app
[BetterBatteryStats] Shone1980:
Yeah ebay i had to buy somethin for my wife otherwise she would kill me haha.

Thanks a lot:)
[BetterBatteryStats] Karpfenhai:
But there it's no need to disable eBay, just turn off all autostarts from it and you're good, the only disadvantage, push notification will not longer work.

Tapatalked from my Samsung GT9100
[BetterBatteryStats] Andrev01:
Hi, I've installed BetterBatteryStats, pluged and unpluged fully charged device, and here's what I see (screenshot in atachments). What is wakelock? And why is my phone almost all the day active? I don't have any app that should do this.. even after reboot and don't opening apps it looks the same. The wifi and data connection were off. What is PowerManagerService and why is it consuming so much power?
[BetterBatteryStats] jeremysherriff:
Use the "since unplugged" statistic type, which will give you better information as it won't include "awake because of charging" time.

Your awake time is not bad, 1h 40m out of 12 hours. 40m is due to screen on time, so only 1 hour is unaccounted for.

There are instructions in the first 3 posts about how to take a log file dump of an idle period.

If you have concerns about your phone staying awake, please do that and then post here with the log file attached.
[BetterBatteryStats] giovag7:
I' m using bbs 1x1 widget with since screen off option. I use nova launcher.Widget is most of the times totally empty. I have to delete it and re put in home to make it working again.

There is a solution to solve this?

Thank you.

GS3+Tapatalk
[BetterBatteryStats] chamonix:
The problem with wifi is it is quite unpredictable:

- gmaps does wifi sniffing so the behavior of location services changes with wifi being on

- dirty access points can give you a hard time by causing Wakeups that you can not avoid except it you use kernels allowing some partial filtering

- the wifi sleep policy can bit must not improve the situation

So my conclusion would be that wifi being always on is unfortunately not the smartest way to go if you can't control the surrounding environment neither the way apps behave when it is on. My attempt for a solution to that is called better wifi on off. In a perfect world this kind of measures would not be required but it's the best I can do to work around this problem. It works for me but it may not work for you as it's, as I said, a work around
[BetterBatteryStats] jeremysherriff:
https://play.google.com/store/apps/details?id=com.asksven.betterwifionoff

Having a look at it now, will be interesting to see if it can help with my hidden ssid AP at work.
[BetterBatteryStats] Karpfenhai:
Moin Sven, is it possible, the latest beta caused my device to hot boot?

Just tried to dump and crash, it happens twice, only after a certain period (+1 day)

Let's see whether I can recover a kmesg.

..no,I can't, no last_kmsg there.. unfortunately.. I afraid I need to run a permanent logging script..damned..

Tapatalked from my Samsung GT9100
[BetterBatteryStats] leranp:
Awake 4 h 39 m 45 s (16785 s) Ratio: 43.6%

not look and feel good

something worng :-\

help me please
[BetterBatteryStats] jeremysherriff:
Two issues:

Kernel Wakelocks
================
"PowerManagerService" (): 1 h 59 m 38 s (7178 s) Cnt:(c/wc/ec)3254/0/0 18.3%
"wlan_rx_wake" (): 1 h 49 m (6540 s) Cnt:(c/wc/ec)3304/0/3303 16.6%
"mipi_link" (): 38 m 53 s (2333 s) Cnt:(c/wc/ec)4550/509/0 5.9%
"BTLowPower" (): 30 m 22 s (1822 s) Cnt:(c/wc/ec)14/1/9 4.6%

You have a user-space wakelock keeping your phone awake - more on this soon.

You also have "BTLowPower" wakelock - I think this means you also have your wifi sleep policy set to allow sleeping - but some people say it is Bluetooth. I think because the wifi_rx_wake is there, it's wifi-related. Either way, the driver got stuck on something when unloading. A reboot will fix it, just watch out for it happening again. I found it was better to leave wifi and bluetooth on "always" because I found the constant start/stop of the wifi driver was a bigger problem than the battery usage of an idle wifi connection.

Wakelocks
=========
fullsync (com.whatsapp.WhatsApp): 1 h 10 m 15 s (4215 s) Count:34 10.8%
AudioOut_28 (1013): 17 m 5 s (1025 s) Count:3 2.6%
android.media.MediaPlayer (com.google.android.music.Google Play ×ž×•×¡×™×§×”): 16 m 45 s (1005 s) Count:23 2.6%

Your user-space wakelocks are mostly caused by whatsapp. Unless it is saving you a lot of money, get rid of it, or set it to not autostart, and then kill it or reboot once you are finished using it.

Your music player used a bit of battery too, but you should have been expecting that I think.
[BetterBatteryStats] EvanVanVan:
I've got a question about the Maps autostarts settings. In Karpfenhai's post the pics seem to show conflicting disables. Probably not a big deal, but I just wanted to ask.

The "Autostarts" picture has all the stock settings disabled, while the "Autorun Configuration" pictures have "On Package Remove" enabled. Should I leave that one enabled?

I'm trying to post a dump, but looking to give the cleanest one possible. Should I post one with the stock settings enabled? I just followed his instructions (and the hint) keeping Location Settings enabled, but disabling everything else from instruction #3 onward. And my Awake time went from bad to awful (constantly Awake with the screen off).

Thanks
[BetterBatteryStats] Karpfenhai:
Don't worry, this one is not the culprit, but here's my current setup:

Tapatalked from my Samsung GT9100
[BetterBatteryStats] EvanVanVan:
Thanks man. Interestingly, I uninstalled Autostarts and tried Gemini App Manager. Gemini was good enough to warn me that USB debugging wasn't enabled (on my nexus 7, which I was somewhat surprised to find out) but that is probably the reason it wasn't working with Autostarts.
[BetterBatteryStats] -iNCEPTiON-:
Hi , can someone read my dump file and provide me some solution plz ... cannot attach it as i am on the phone .. so here is the download link..

http://db.tt/rZ7FhcZI
[BetterBatteryStats] jeremysherriff:
sorry your dump isn't useful:

- the "since unplugged" time is 0s (you maybe plugged it in to the charger before taking the dump file?)

- this does not cover idle-only time, you have had the screen on and been using the phone for over an hour.

Please take another dump, maybe overnight, covering a period of time where the phone is only idle.

We only need a couple of hours.

---------- Post added at 02:19 PM ---------- Previous post was at 02:17 PM ----------

Another thing - open BBS, change to the "alarms" view, and grant BBS super-user rights.

We need to see the alarms section in the dump file.
[BetterBatteryStats] -iNCEPTiON-:
Okay thnx for the reply ... i will get back to u
[BetterBatteryStats] BeowolfAgate:
Hi It_ler and jeremysherriff

Here is another ideal log from me. The puzzling thing is that even though I had the wireless policy set to only when plugged in my wifi was almost on for the entire duration of the night, not sure why :what:

http://db.tt/TDjLyx3a

So the values for the Wakelocks are almost the same. Anyone aware of the reason why the wifi would not be switch to off?
[BetterBatteryStats] jeremysherriff:
It would be nice to get the alarm information in the dump. I think you need to open BBS, change view to Alarms, and grant root access.

The Alarms will show in the file, I hope.

Your power usage is very good, i doubt you will be able to improve it much from here.

Kernel Wakelocks
================
"battery-monitor" (): 33 m 26 s (2006 s) Cnt:(c/wc/ec)2021/0/2021 9.4%
"wlan_ctrl_wake" (): 32 m 37 s (1957 s) Cnt:(c/wc/ec)1978/0/1978 9.1%
"l2_hsic" (): 18 m 18 s (1098 s) Cnt:(c/wc/ec)2103/40/2103 5.1%
"PowerManagerService" (): 17 m 21 s (1041 s) Cnt:(c/wc/ec)586/0/0 4.9%
"alarm_rtc" (): 6 m 55 s (415 s) Cnt:(c/wc/ec)1011/9/23 1.9%
"wlan_wake" (): 6 m 14 s (374 s) Cnt:(c/wc/ec)23669/1855/0 1.7%
"wlan_rx_wake" (): 4 m 52 s (292 s) Cnt:(c/wc/ec)171/0/170 1.4%

Out of the top kernel wakelocks, 3 out of 7 are wifi related. Your wifi network is waking your phone for a little bit every 18-20 seconds. The wifi sleep policy isn't going to help, but if you are ok with the idea of wifi switching off when the screen is off, have a look in the Play Store for "Better Wifi On Off" - it's from the same guy as BBS, and it will actually deactivate your wifi instead. I don't use it, I like to keep my wifi connected 100% of the time despite the battery drain, so i can only recommend the developer.

The biggest drainer at the moment appears to be your "battery monitor" - I'm not sure if this is a kernel feature (I think so) or an app/widget you have installed. If this is a kernel thing, look at changing kernels, or if you have a custom kernel, check with the Dev or support thread whether they can reduce the amount of battery status polling.

Whatsapp will always be an issue, if you don;'t use it much then uninstall it.

Otherwise, I'd like to see the alarms info, as the alarms are the next biggest drainer.

Note: this is pretty good battery drain already, you might not be able to get much better and will just eat up your life obsessing about it. You appear to have fixed the majority of issues, perhaps you could now relax and enjoy your phone... just my opinion.
[BetterBatteryStats] BeowolfAgate:
Thanks Jeremysherriff for the detailed reply :)

I am on stock kernel and not rooted so the alarm would not be visible. I think the problem is wifi as you mentioned. The wifi signal in my bedroom is quite weak as the router is 2 rooms away and probably that is what is waking my phone so much.

And as you said I am probably would not be obsessed about it, the only thing which puzzles me that how come JuiceDefender is able to do better than me. With JD I manage to get a drain of 1.0% in ideal time. However I think i will try Charmonix's Better Wifi On Off to see how it works and then leave it at that. I think it is time to enjoy the smartphone rather than getting frustrated about petty things :p
[BetterBatteryStats] Vihru:
good morning.. can someone check my BetterBatteryStats log file that how can i make battery life better?

thanks a lot!

here is the dump file
[BetterBatteryStats] skivnit:
http://db.tt/IH0yEc5M

If anyone could please look at the dump. Some app is calling maps can't figure out which. Also android woke up my phone 500 times

Swyped from another galaxy
[BetterBatteryStats] Karpfenhai:
You sir are a troll and you know it! :D

Maps is not your main problem, it's the soundcloud plus your wifi, if you didn't listen to music for hours, then you should disable this app and find an alternative.

I would suggest to post a clean idle dump without any activity (music)

Good luck.

Tapatalked from my Samsung GT9100
[BetterBatteryStats] Vihru:
Karpfenhai: you sir are a troll and you know it! :D

what you mean? im serious that is that log good or can it be better? isnt google maps freezing enough or must i disable those autorun options?
[BetterBatteryStats] Subbu9:
i9100 Battery drain

Hello, I have tried a lot of Kernels and modems but my battery drain problem remains unsolved. I am attaching the Dump file here, so that any one interested to help will have a better idea about my problem.

Model: i9100

Location: Paris, France

ROM: CM stable 9.1

Kernel: Syriah 4.0.1

Modem:XXLPH (I have tried XXLPQ, XXLP6 & XXLPX)

Many many thanks to everyone who is contributing to this forum and a special thanks for the guys willing to help me :P

Regards,

Subbu
[BetterBatteryStats] imarvind:
Any Tips ?

Hi All

Running CM10 on Samsung Galaxy SL (i9003). Attached are the battery stats. Drain seems decent. Was running wifi off and on 2G during stats collection.

Autostarts disabled for GMaps and some other annoying apps. Latitude location reporting disabled and replaced with Backitude app.

FB, G+ etc. uninstalled. No weather / news widgets that poll data.

Screen sounds, haptic feedback, vibration disabled.

Would like to hear if the wakelocks look acceptable and/or if there is scope for further improvement.

Thanks in advance.
[BetterBatteryStats] BeowolfAgate:
really??..sir you have 0.4% battery drain for an hour..this means >10 days of standby time..:victory:..you can sleep tight..not much more you can do :highfive:
[BetterBatteryStats] azrash:
it is more than good! You are all set, enjoy your phone
[BetterBatteryStats] skivnit:
I'm more worried about the alarms. I was indeed using soundcloud but the maps is waking my phone a lot
[BetterBatteryStats] Karpfenhai:
this dump is absolutely perfect, there it's nothing to improve!

I assume you were not on flight mode during this period?

Enjoy your smartphone!

Tapatalked from my Samsung GT9100

---------- Post added at 01:29 PM ---------- Previous post was at 01:23 PM ----------

Hey there, your background data traffic is your main concern here, try to reduce it and check the network section of bbs to see which app is causing the mess.

I'm not a friend off siyah in terms of battery life.. try to find an alternative.

You've tried all the wrong modems :p

Give kh3, ki3 or ki4 a shot.

Good luck!

Tapatalked from my Samsung GT9100

---------- Post added at 01:44 PM ---------- Previous post was at 01:29 PM ----------

Looks pretty good so far, please provide a longer reading, this one it's a bit unreal due to media scanner.

Tapatalked from my Samsung GT9100
[BetterBatteryStats] Vihru:
okay.. im testing neatrom lite with Jelly Bean leak.. no flight mode.. thjat period was over night when i was sleeping.

i have 3200mAh battery.. thanks!
[BetterBatteryStats] apogiffa:
Hi everyone,

since I flashed (full wipe with CWM + app restore with Titanium Backup) a new 4.2.-Rom I'm getting serious issues with my battery life. I have no clue what app could cause the problems, but my phone just won't go into deep sleep anymore. :(

Help will be very appreciated because I just can't find the problems by myself.

Thanks a lot!
[BetterBatteryStats] EvanVanVan:
Hey, I got a "clean" dump last night on my nexus 7, but something is definitely keeping it awake with location services. I disabled all the Maps autoruns. And individually turned off all of the Google Now cards.

Any ideas?

Thanks

Also, will the donate version of Gemini App Manager let me search for apps using "alarm_wakeup_locator" with the 'custom' filter?
[BetterBatteryStats] bradddo:
Just lost 30% in 3.5 hours with phone in my pocket!!??

Just wanted to brag

Edit. Just killed the rest of it (37%) in 2.5 hours. Can't post an accurate log because I didn't set a reference pt. I'm having charging issues and my phone didn't recognize being on the charger all night.
[BetterBatteryStats] RandomPooka:
Running Eclipse 1.2.1 on a Droid Bionic by Motorola here. Should I just give up now, or put a dump file together tonight? My battery drops about 80% in a 9 hour work day with almost no real usage. But.... Motorola. Ami screwed before I start?
[BetterBatteryStats] jeremysherriff:
No man, get a nice dump file showing us a period of time the phone was idle.

Make sure you grant BBS "su" rights (go into the alarms view) as we'll want to see the alarms info.

Make sure you use "since unplugged", just put it on the charger for a few seconds and then unplug it.

An hour or two of idle time will be fine, any serious issues will show up in that time.

We might not be able to get it to a couple of days, but unless you have a failing battery we should be able to get some improvement.
[BetterBatteryStats] ThisIsDanial@gmail.com:
Just bought this app on the Play Store. I love it ! Thanks .
[BetterBatteryStats] chamonix:
Beta 2 being tested, solves speed problem and a few other things
[BetterBatteryStats] RandomPooka:
Thanks. I've been googling my brains out for kernel wakelocks uart, bpwake, and a usbhs one to no avail. I'll throw one together when I'm charged past 30-40%
[BetterBatteryStats] Karpfenhai:
Go to your chrome settings, developer options, disable tilt browsing, reboot, issue solved?

Tapatalked from my Samsung GT9100

---------- Post added at 12:31 AM ---------- Previous post was at 12:24 AM ----------

Hmm, did you turn off all location services? Signed out of latitude?

Freeze also Google +

Weird..

Tapatalked from my Samsung GT9100
[BetterBatteryStats] EvanVanVan:
Turning off location services entirely did solve it, but then Google Now doesn't work at all and I was hoping to figure out how to work around it.

I'm definitely signed out of latitude, and my location is set to "never update automatically." I can freeze Google+ if you think it will help, but when I got to Settings>Accounts>Google>Google+ to try and check my Google+ Settings it closes right away and says "You are not signed into Google+." So I'm not sure freezing it will do anything.

As I said in my first post, I think that the Awake time/alarms got worse after disabling all of the Maps autoruns, so I'm going to get another dump tonight with everything enabled (default).

Edit: Actually I may have just found one of my problems, I bought HD Widgets during one of the Google Play sales. And even thought I don't use it (I use Beautiful Widgets), it was set get my location automatically for weather updates. Maybe this will fix it...hopefully.
[BetterBatteryStats] Karpfenhai:
Google Now is definitely causing a lot of this, would you mind to give altitude a try?