yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] chamonix:
Data does not require Wifi to be on and when moving the chances are low that you would connect to wifi all the time. On the ther hand Wifi being on when moving will cause maps to do some stuff that do not bring you anything (but collects data for google). This is the kind of overhead that I personally do not accept as there is no benefit for me in google using my phone as a data collection device.
[BetterBatteryStats] Musko:
Dear [MENTION=4355376]Karpfenhai[/MENTION] can you please post what I may disable in autostarts in GSF and Maps?

I was try to disable from this post http://xdaforums.com/showpost.php?p=35755907&postcount=11160 bubt I have some problems with phone via bluetooth.

Thank you.
[BetterBatteryStats] Karpfenhai:
hmm, that's unlikely, bt shouldn't be affected, what I've disabled is the same as shown in post 3 from this thread, all for maps and some from gsf, I'm using Bluetooth every day in my car without issues.

Tapatalked from my Galaxy SII
[BetterBatteryStats] terrrrrible:
Posted a while ago in here and was able to solve my problem and I appreciate the help. Ended up getting a replacement phone anyway because I was having issues. Fast forward a few months and I'm having issues again. Battery seems to be draining at a quicker pace than usual. I've attached the dump file and a few screen shots.

I forgot wifi was on last night so it was on a few after being unplugged. I also use bluetooth in the car, so that is why it was on. If this is an issue I can take another dump tomorrow with everything off.

Thanks!
[BetterBatteryStats] GermainZ:
Disable BT when not in use, sync your email/twitter/FB/Google account manually, read the OP about minimizing GSF and Google Maps wakelocks.
[BetterBatteryStats] iafko69:
Can anyone help me with my battery issue?
[BetterBatteryStats] kozmo21:
Possibly weak signal?

You need to follow instructions in post 1... provide

idle

dump, You had "Screen On (): 29 m 53 s (1793 s) Ratio: 6,5%" it should be less than 1 minute! Also, enable root features in settings so we can see alarms/network.
[BetterBatteryStats] HiDEFF:
I was going through Autostart and notice something called 'perso'; anyone know what this is? Is it OK to disable?
[BetterBatteryStats] kg3:
Can someone please review my log? My galaxy s4 battery doesn't seem to be lasting a long as reviews state it should be and as long as my friends. The phone stats show it to be awake more than 1 hour than the screen time. Not sure if this is normal. Wifi doesn't seem to go to sleep despite turning on the sleep setting in the wifi advanced menu when screen turns off. Any help is appreciated
[BetterBatteryStats] brunek:
Its not that bad,you have almost 2 h of screen on time.. You have a big alarm wakelocks from your calendar..

poslano s ubojitog LG 4X HD
[BetterBatteryStats] chc31:
Can someone please help me with something:

What causes Audioout_4 wakelocks? I have searched but only found people debating and saying viber causes it - i do not have viber. Its the biggest wakelock i have. I have 3 files attached just in case, but one should be enough. Been like this for 2 months!!! :(:(

Thanks a lot :)
[BetterBatteryStats] chamonix:
To /sdcard by default
[BetterBatteryStats] chamonix:
Please provide an idle dump. This one has too much screen on and time in call to tell if the pretty high number of Alarms are really a problem.
[BetterBatteryStats] chamonix:
You are using a very old bbs version and I strongly suggest that you update. This dumpfile does not show any cause for a loss in battery level of 50+ %
[BetterBatteryStats] chc31:
Thanks, i had JUST got that haha! You caught me just as i finished editing my post, thanks for the ridiculously quick reply!
[BetterBatteryStats] Maceee:
Hey guys. This is 5 hours dump and log cat of my S3 running Omega v43.5 and Siyah v1.9.1 kernel. Can you please ckeck it and tell if everything is okay? Thanks in advance!

Dumpfile: http://db.tt/6bh5WMKE

Log cat: http://db.tt/SVQabcXb
[BetterBatteryStats] ishyboy15:
Seems like theres no option with the xda app to upload text files or i just dont know where to find it. Hehehe. Maps issue are already gone.

10% drain in 5 hours with wifi on all the time.

(Wifi and power saving only on the toggle switch)

Google services and wifi seems to be the only trigger now. Will post the dump later from the pc.

Does this seem pretty normal already? Thanks
[BetterBatteryStats] tuxonhtc:
Hey guys, I have that horrible mmc1_detect kernel wakelock. And I don't even have an ext SD card now. Any ideas?
[BetterBatteryStats] It_ler:
Could be corrupt files on the internal sd card.

Connect your phone in Mass Storage mode to your PC, then run checkdisk with the option to correct errors on your phone's sd card.

Good luck !

P.S.:

You should also check for a folder named "LOST.DIR". If there are many files, remove them.
[BetterBatteryStats] Maceee:
And I want to say that I have another problem that BBS can't detect. I'll try to explain it very carefully. So, when I charge my phone to 100 %, I disconnect it from the charger and leave it for some time and then, as you can see, in six hours its battery drains from 100 to 97 % (0.5 %/hour). BUT! After I made a dumpfile and left my phone untouched for 4 hours, it drained from 94 to 90 % (1 %/hour). So why is that? I mean, why when I charge it to full and just immediately lock the screen and leave it untouched battery drains slower, but after I use it for a couple of minutes and then leave untouched, battery starts to drain twice faster than before? I mean it starts to drain faster after I use my phone for a couple of minutes.

And please someone check my dump! Maybe the problem is visible right there!
[BetterBatteryStats] tuxonhtc:
Yeah that's what I'd thought. But I just reformatted my SD, and moved my music files + some videos back. All of them works fine - but there's still this wakelock.

Is it even possible to checkdisk internal storage? :confused:
[BetterBatteryStats] kozmo21:
.6 % is not that bad...There are only a couple of things that I see.

1) "Poor Signal (): 13 m 30 s (810 s) Ratio: 4.3%"... can drain battery.

2) you have fast dormancy wakelock ""secril_fd-interface" (): 6 m (360 s) Cnt:(c/wc/ec)86/0/0 2.0%" ... You can fix this with Gokhanmoral's Fast Dormancy app from Play store... be sure to reboot after changing.
[BetterBatteryStats] Maceee:
Thanks! But how about that situation about faster discharging after some use? You quoted it.
[BetterBatteryStats] Karpfenhai:
It's about chemistry, the charge will increase further even if your unplug the charger because the ions and electrons are flying around, they are moving fast.. that's why it's recommend to not charge til 100 % every time.. charge between 10 and 98 %, your battery will be grateful.

In short, don't worry about that, it's normal and shows your battery is not degraded.

Tapatalked from my Galaxy SII
[BetterBatteryStats] Maceee:
Karpfenhai, can you please ckeck my dump too? Would be very thankful!!! :good:
[BetterBatteryStats] It_ler:
Yes, have you tried it alrready?

You have to connect the phone in Mass Storage mode to the PC.

Then you can run checkdisk on internal sd card too.

Good luck !
[BetterBatteryStats] Karpfenhai:
Are you sure about this what if the internal sd is ext4 formatted or encrypted?

Can Windows handle it?

I would run prefer adb and:

e2fsck -fv /dev/block/xxxx

Don't forget to umount first.

Tapatalked from my Galaxy SII

---------- Post added at 10:48 AM ---------- Previous post was at 10:44 AM ----------

I usually don't comment dumps others are working on it beside they are totally wrong....

Get rid of Facebook, figure what this light service is doing and you should be good..

Tapatalked from my Galaxy SII
[BetterBatteryStats] tuxonhtc:
That's not possible with JB right? Or am I missing something? It's just MTP, even with third party apps like SG USB Mass storage enabler, you can't mount internal storage?

---------- Post added at 11:17 AM ---------- Previous post was at 11:08 AM ----------

That's for me right? Should I do the whole adb thing? My issue is mmc1_detect wakelock :( I'm fairly sure it's not a corrupted file since I already formatted my Internal SD and placed back only selected files.
[BetterBatteryStats] It_ler:
Just checked it again.

It's working fine for my.

I have a SGS2 (GT-I9100), internal sd card is fat32 formatted, I am running XWLSW NeatROM Lite v4.8 (which is JB Android 4.1.2), I have successfully connected my phone using Mass Storage mode to my Windows 7 64-bit PC, and I could run checkdisk without any issues.

I don't know about other ROMs, phones, encrypted or ext4 formatted internal sd cards.

As long as you can enable Mas Storage mode and the PC can handle (read/write) to the used filesystem, it should work.

Ok, encrypted cards won't work for sure, as long as the PC system does not know how to decrypt it.
[BetterBatteryStats] tuxonhtc:
Oh no, I mean there's no Mass Storage Mode on my Note II? It's just MTP and Camera. And I'm fairly sure it's been that way since day one.
[BetterBatteryStats] ishyboy15:
Guys how do we attach dump files from here? Hehehe
[BetterBatteryStats] It_ler:
In xda app you have to upload the Dumpfile somewhere ... e.g. Dropbox ... and then insert a link to it in your post.
[BetterBatteryStats] Burgscheinkerkdeiktraast:
Hey, I have problems with my tablet. Do you see any issue in the log f file I attached?

Thank you.
[BetterBatteryStats] hounter17:
hi i dont know if i have some setting bad but its imposible to enable the dialog that show "%/h" in the app

pleas can some one help me?¡ how can i enable that dialog?¿
[BetterBatteryStats] ishyboy15:
http://db.tt/wKK8COsM

Link above for dump.

10% drain in 5 hours with wifi on all the time.

(Wifi and power saving only on the toggle switch)

Google services and wifi seems to be the only trigger now.

Does this seem pretty normal already? Although still has many wake clocks from both. Thanks
[BetterBatteryStats] travellinground:
Just trying this out, looks great!
[BetterBatteryStats] chc31:
(repost)

so can someone help me please find out the cause of audioOut_4 wakelocks please :)
[BetterBatteryStats] mikoal:
Hey chamonix.....Currently I'm encountering a lot of awake times when looking at the batter status.

Just to give you a brief history of whats been going on.

I've currently have tasker on disabling and enabling data (screen on/off), greenifying,ktoonsez kt747 kernel with under volt and under clock etc.

Under normal usage I can probably get 2-2.5 hours of screen time and a total of 6 hours of usage time at work. I was told this time wasn't great and I couldnt see how I can fix this problem.

Then at home I had my wifi enabled and left my phone sitting idle and noticed it drained a lot slower. I ended up with over 1.5 days of usage and 2-3 hours of on screen time.

The odd thing is...my screen was off most of the time, meaning data was both off. Wifi was on at home, also to note the signal strength was significantly weaker at home and its LTE. Thats why I'm so piuzzled why at home I can get much better battery life

To recap:

At work: (6 hours)

HSPA (not LTE)

Great signal (full bars or over 22 on the real signal app)

screen off during idle data is off

no wifi on

At home (36 hours)

LTE/HSPA (swapping back and forth trying to get a good signal)

Terrible signal 1-2 bars (0-5 on the real signal app)

Screen off and data off

wifi is left on the entire time

Both the at home and at work scenarios

- bbs are the same

- kernel settings remain the same

- widgets have been the same, refresh have been the same

- no syncs

As for BBS.........deep sleep for the processor accounts for majority of the processor state.

Though the "awake" bar on the battery status shows it gets woken up quite a bit.

Both at home and at work here are the BBS data I gathered.

Kernel Wakelock

Powermanagerservice

Deleted_wake_locks

Mmc1_detect

Sec-battery-monitor

Partial Wakelock

Alarm manager

Event log services

Alarms:

Android

Android.intent.action.date_changed

Com.android.server.lightservice.action.update_svc_ led

Android.intent.action.time_tick

Com.android.server.wifimanager.action.device_idle

Com.android.server.action.network_stats_poll

Com.android.server.throttlemanager.action.poll

Android.appwidget.action.appwidget_update

Com.Android.internal.policy.impl.phonewindowmanage r.delayed_keyguardandroid.app.backup.intent.run

Android.content.syncmanager.sync_alarm

Android.server.wifimanager.action.delayed_driver_stop

I'm running Stock TW JB 4.1.1 Kernel KT747 ktoonsez latest

App running in background...... like smanager, tasker, BBS, GO SMS Pro, and all the chats Facebook, gtalk, whats app etc......

I was told that i had a lot of alarm managers and that may be the thing causing the wakelocks. im not sure how to decipher the dumps/logs and what to get rid of.

Thanks!
[BetterBatteryStats] gorandroid:
Great app, i wonder does all the shortcut icons on the screens filled up consuming my battery? I just deleted them all.
[BetterBatteryStats] terrrrrible:
If I'm not rooted, will it give me all the information needed?
[BetterBatteryStats] azrash:
You'll be missing the more useful information
[BetterBatteryStats] Karpfenhai:
Wi-Fi does need less power than a mobile connection under normal circumstances, your objection is quite expected. Home network do normally have rather less multicast"shouting"devices than business network, that's the reason.

Assuming your radio was playing while screen was off, there is not much room for improvement visible within your current dump, please provide a straight idle one after a certain time of no screen activity for further investigation, as mentioned before, upgrade to the most recent version of bbs, thx.

sent from my Nexus 10
[BetterBatteryStats] mikoal:
gratitude karpfenhai.

WiFi does require less power. But when the screen is off, it is not using data or wifi. So it quite odd that it would drain more when wifi is on and data off VS just data off.

I'm not following you on the "multicast on the business network". I am using regular HSPA at work and Wifi / LTE at home.

Please note when switching to LTE and turning off wifi at home, my signal is so bad, that i cant surf the interwebs.

On LTE When the screen is off, I lost 8% in about 4 hours, which is better than my at work idle drain, but not as good as when it was on wifi.

Yes my radio was on when the screen was off as part of my tasker programmed alarm to enable data for 30 minutes in the morning.

I shall provide you with a straight idle tonight. I will leave it unplugged and on wifi and record the % drain along with an idle dump.

Looking at the awake bar, there seems to be many wake ups.

Thanks again!
[BetterBatteryStats] Karpfenhai:
The multicast at work story was just an example to get a better picture/understanding, many other are reading here too :)

I'm not sure about androids behavior in terms of tasker, but maybe lte / mobile data does not "kick in" while Wi-Fi is not "hard" switched off and therefore the weak signal doesn't harm?

Maybe chamonix can shed some light on this question.

I'm curious for your dump, regards.
[BetterBatteryStats] jicama:
The mipi_link wakelock is taken in https://android.googlesource.com/ke...rivers/misc/modem_if/modem_link_device_mipi.c at line 1799:

wake_lock_init(&mipi_ld->wlock, WAKE_LOCK_SUSPEND, "mipi_link");

It seems to be an interface module between the cellular modem and higher-level users.
[BetterBatteryStats] ishyboy15:
Repost for analysis please :)
[BetterBatteryStats] It_ler:
Your biggest wakelock is:

MAIL_SERVICE (com.android.exchange.Exchange services): 1 m 51 s (111 s) Count:45 0.7%

So change your mail account settings. (Maybe you can use manual pull in stock Email app ?!)

But this can not explain the battery loss of about 11% in about 4 hours of doing nothing.

Try again with wifi turned off. Just to see the difference.

And please enable root option in Advanced and TICK all stats in Dumpfile menu.
[BetterBatteryStats] ishyboy15:
Did you mean json dumpfilr, logcat, dmsg should be ticked? Or you are talking about inside settings? Im doing manual pull only. Nothing is in sync. Will try turning off wifi then get back to this thread. Cheers! :)
[BetterBatteryStats] It_ler:
Yes, I mean the settings in BBS app.
[BetterBatteryStats] negrobembon:
http://db.tt/tAGcnMKY

im having some wierd wakelocks that i thinks are network related, can somebody take a look please?
[BetterBatteryStats] It_ler:
Please provide an idle dump ... doing nothing with the phone (screen off all the time) for about 4 hours.

Then it's a lot easier to find the unwanted battery drainers.
[BetterBatteryStats] MichunB:
is it normal that I loose all reference 'unplugged' (and statistics?) after restart or shutdown?

my phone is samsung galaxy s3 on stock 4.1.2 rom with root
[BetterBatteryStats] It_ler:
Yes, it's the same for me on every BBS app version I've tested so far.
[BetterBatteryStats] mikoal:
Hey Karpfenhai,

So I did a striaght idle from 10pm ish to 5am (I received 4 texts). thats 7 hours with wifi on and data off when screen off

Then I did a 5-730am idle ( with 1 alarm, and i checked screen 3 times i believe) with wifi off and data off when screen off. I turned off the tasker that enables data for my radio alarm as well.

Attached are 2 screen shots and 1 dump and 1 logcat for the 7 hour - 8 hour run.

My next post will have it with wifi off for comparison.

EDIT: screen on time was 2 mins, that sounds about right since i got 4 text at 30 secs on time each.

but the radio had 30 something minutes which is wierd. Also.....the Alarm section there were lots of wakeups. I'm not sure whats causing them?

It would be great if i can get it down to as little wakelock as poissible.

.6%/hour is a good drain in my opinion.
[BetterBatteryStats] mikoal:
For my second test with wifi off here are the attachements

This second test is from my home for 2.5 hours and drive to work .5 hours

level lost is .7% / hour which is also good. I guess my initial guess of it draining more with wifi off was inaccurate.......having said that I did do one modification thats a bit dfiferent than before. ......I disabled LTE connections

I noticed that processor hits 1.51 ghz, but i capped it at 1.35ghz......odd

I believe the same wakelock applies to this one as well.

soon ill do a test at work and check its drain during idle........this will be hard to do since, i check my phone at work...
[BetterBatteryStats] It_ler:
There are many alarms on your phone.

I think it's mainly Tasker (disabled/freeze it just to test its influence to your battery life), Maps (disable autostarts like described by Karpfenhai), Accuweather (disable auto-refresh), Facebook and Tune-in player.

The rest seems to be OK IMO.

---------- Post added at 04:33 PM ---------- Previous post was at 04:26 PM ----------

This one is looking a bit better concerning the alarms.

Maybe you had slightly higher battery loss, as the test duration was shorter than for the first test with wifi on.

Can you change the Fast dormancy setting on your phone?

(Maybe gokhanmoral's Fast Dormancy app from Play store works on your phone.)

I can see FD wakelock in both of your dumpfiles.

Check if it is lower after changing the FD setting on your phone.
[BetterBatteryStats] mikoal:
Yea I'm a bit concerned with the alarms as well. I'm not sure what's causing it.

If it was tasker then I can freeze or disable it, but then that would mean my data will remain on (unless i turn it off manually each time i screen off). Which may or may not result in better battery savings.......

I just started using Tasker, but I'm sure there are many who uses Tasker here on XDA, do they have these alarms?

Apologies, I didnt quite catch the map disabling autostart from Karpfenhai? Did he mention that? Or is this somehting within the thread?

As for Tune - In. I'm not sure why it was awake for 30 minutes since I disabled my alarm.....

It probably looked better due to the fact that it was only 3 h vs 8 hrs

I was just going to ask, what is FD? and how do we change it. Here are my answers

http://www.androidnz.net/2012/06/at-your-own-risk-how-to-disable-fast.html

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

From what it looks like, it should work on my S3 (the app by gokhan).

So then from what I read, and from what you are saying. It sounds like the FD wakelock is caused by my netowrk not supporting FD and I should disable it. Is that correct?

I am currently doing a test at work with screen off to test the drain. Im hoping to get 3-4 hours of idle time. This is the major drainer (at least when I had LTE enabled) if this drain is comparable to the one at home, then I can conclude that LTE is the culprit.
[BetterBatteryStats] Pinan:
Typically, the threads author includes good/vital advice in the 1st post (OP), in this case it's the first 3 posts.

Use the threads Search function as well. Everything you're likely to ask has been asked before....many times.
[BetterBatteryStats] It_ler:
1. You don't need to turn off data to get good battery life. Disable/freeze Tasker and check its influence to your battery life. I am sure that you can optimize its settings, so that it won't affect the battery life much.

2. Karpfenhai posted a description how to optimize Google Maps. Link is in post #3.

3. FD = Fast Dormancy, ok you found it. I don't know if your mobile provider supports FD or not. So try to change the FD setting on your phone (if it's now enabled, disable it ... or wise versa). Then check in BBS dump if the FD wakelock will change. And use the FD setting that will cause the lowest FD wakelock for you.

And yes, gokhanmoral's Fast Dormancy app will work fine on the SGS3.

4. Ok, LTE (4G) needs more power than 2G or 3G ... that might be true. But I can't confirm, as I don't have LTE :(
[BetterBatteryStats] terrrrrible:
started turning BT off when not in use. i use the gmail app so it's at the default settings. work email i set to pull every hour, everything else i sync manually.

read through the posts in OP, did everything i could that didn't involve a 3rd party app (most of it was already turned off). anything else that can be done? doing that seems kind of absurd and i don't feel like paying for an app if it potentially doesn't fix my problem.

Thanks
[BetterBatteryStats] GermainZ:
Paying for an app? It's free for XDA users, read the OP again. :D

You can then buy it if you want, but it's totally free.
[BetterBatteryStats] mikoal:
I will try to turn off tasker, along with lte and giving map a try later.

As for FD, did you see any wakelocks from FD? I couldnt find any "secril_fd-interface " wakelocks.

So i'm not sure which variable im comparing when i enable/disable FD.
[BetterBatteryStats] It_ler:
How about this one from your first dumpfile:

FastDormancy (Phone): 2 m 29 s (149 s) Count:13 20.9%​

or this one from your second dumpfile:

FastDormancy (Phone): 34 s (34 s) Count:13 19.9%​

:confused:;)
[BetterBatteryStats] mikoal:
:P....im going to hang my head in shame now.....
[BetterBatteryStats] raha0007:
I have that too and Id like to know what it is, Ihave the same device I guess samsung s3 mini.

Could it just be screen on or something or a samsung service?

I have root and I attached my batterystatstxt, thanks in advance for looking at this.
[BetterBatteryStats] BTT8:
Ever since Google Play Services (https://play.google.com/store/apps/details?id=com.google.android.gms&hl=en) updated on the June 21, it's been eating at my battery and causing TONS of wakelocks, in particular, come.google.android.gms.nlp.ALARM_WAKEUP_LOCATOR.

I have disabled the recommended processes using autostarts for gsf and maps already.

Cas, is there any updates to what to disable with autostarts to prevent this nasty wakelock caused by the google play services?
[BetterBatteryStats] Casanoaa:
Have you tried disabling notifications in gplay. Disable autolocation in your google account / browser?
[BetterBatteryStats] BTT8:
I think I figured it out. I had play store version 4.1.6 which has a nasty location service bug. I just updated to 4.1.10. I'll see how things go. Thanks cas