yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] chamonix:
WeatherZone is still visible in this dumpfile (partial wakelocks). Are there other parts you didn't uninstall?

The main kernel wakelock is battery-monitor but this is a side effect as the battery status is updated at every wakeup. This leaves us with Wifi still being the main cause of wakeup.
[BetterBatteryStats] chamonix:
Indeed. The kernel wakelock suspend-backoff suggests that power manager is interrupted in the sequence of going to sleep. There is no indication in this dumpfile about the cause but that's not uncommon. You should have a look at dmesg to see if you find a hint about what part (potentially peripheral or sensor) preventing the phone to go to sleep. Anyhow the cause is probably in the kernel
[BetterBatteryStats] chamonix:
This dumpfile is definitely borked as it shows a collection of data for.... 6 seconds ;)
[BetterBatteryStats] chamonix:
Of let's see:

- you have had download manager running for 27 minutes

- twitter is set to refresh every 5 minutes (!)

- Wifi is on all the time

That's it for this reading. Make the proper changes and repost a new dumpfile
[BetterBatteryStats] krntehknik303:
Had a few questions that I couldn't find through search for some reason:

Curious to know if its normal to see 100% deep sleep on BBS?

Also, is Audio_out2 same thing as Audio_out1?

Cpu spy shows 67-70% deep sleep, but BBS shows 80% which one is more accurate?
[BetterBatteryStats] chamonix:
You are using an ad blocker redirecting analytics to 127.0.0.1 but I guess you wanted to post a dumpfile and not a logcat didn't you?
[BetterBatteryStats] chamonix:
battery monitor is caused by the battery gauge refreshing. That's a symptom not a cause. The cause is something causing a wakeup. It may be an alarm or wlan_rx. I can't tell as you didn't post any context
[BetterBatteryStats] chamonix:
BBS just reads /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state

In your case the logcat suggests that BBS does not have proper root access
[BetterBatteryStats] chamonix:
Since 10 h 41 m 36 s

Deep Sleep (): 10 h 38 m 50 s (38330 s) Ratio: 99.6%

Awake (): 2 m 46 s (166 s) Ratio: 0.4%

Screen On (): 1 m 6 s (66 s) Ratio: 0.2%

You phone drains battery when sleeping like a baby. I'd suggest trying other radios
[BetterBatteryStats] chamonix:
What are you doing when it asks for su? and don't tell me nothing because BBS does nothing when you are not using it or configured it to do stuff when you turn the screen on/off
[BetterBatteryStats] chamonix:
Stop tuning or you phone will charge the battery while you use it ;)
[BetterBatteryStats] Casanoaa:
Hehe thanks for your app and your support.

That means i can't do more Sven :)
[BetterBatteryStats] brbbX:
Well, I installed shark for root, but I the results were not user-friendly at all.. Couldn't understand anything..

But shouldn't the stats on the "network" section of BBS be enough to see what's using all that data?
[BetterBatteryStats] chamonix:
Unfortunately not. Broadcasts / multicast is incoming traffic hitting the Wifi stack but not userland, the amount of data is minimal, the wakeups are expensive. You may want to read this related article to get a better general understanding about what you should be looking for: http://howto.techworld.com/networking/3210245/how-to-track-network-problems-with-wireshark/
[BetterBatteryStats] haarsh:
@Karpfenhai

Hi,

I have posted a DUMP (Since Unplugged). Also I have quoted my previous post with the screenshots taken related to autostarts configuration I did.

I have DUMPS taken under other types mentioned below if in case.

Since Charged

Since Screen off

Since Boot

Please tell me if there is anything I should take care of and also whether the config I did with autostarts is correct or not :) if ok any suggestions to improve is much appreciated :)

Thank you

tc
[BetterBatteryStats] rchtk:
Unless i am mistaken this directory is readable by user. With an unrooted jb i was able to. I guess the cpu states does not request root priv in your app?

While rooted and allowing andromizer to load, the latter does something (kernel module loading?) that restrict the directory to root user. In this case both apps are conflicting and cpu states do not show up.

Took me some time to spot the app. Still wonder why then /sys a virtual directory gets all its permissions changed.
[BetterBatteryStats] cool1007:
Hello,

I'm hoping any of you experts could provide me with advice about my battery performance. I'm attaching a BBS log.

I'm running Rootbox 3.0 with Dorimanx 7.6

Thanks :)
[BetterBatteryStats] WeedoBrT:
Guys,

Im getting massive battery drain. in 12h (unplugged around 11 pm and used it for the first time at 10am) ive lost 56%.

Ive searched for help within Omega team- they see no problem in rom. Siyah Kernel doesnt seem to be problematic for other users. But since ive installed Siyah 1.7 and omega v31 i got this problem. I loose 15-30 % of battery overnight and i cant find the problem! this is crazy

Please, look into the log
[BetterBatteryStats] Karpfenhai:
Hey there, first disable location services, then post another reading.

Tapatalked from my Samsung GT9100
[BetterBatteryStats] Karpfenhai:
Your drain its not explainable by your wakelocks but this dump is not a clean idle one...

I recommend to use another modem and kernel! Try ki3, kh3, ki4 or bvlp7 + speedmod /phenomenal kernel.

Tapatalked from my Samsung GT9100

---------- Post added at 12:50 PM ---------- Previous post was at 12:47 PM ----------

The dump looks weird but does not show an obvious issue, therefore also for you, try another kernel /modem combo.

Good luck!

Tapatalked from my Samsung GT9100
[BetterBatteryStats] haarsh:
Hi, Thanx for the reply. I will try and post another DUMP before moving on. I am currently using ICZen which I am in love atm :D

you guys are doin awesome work

Thanx again

tc
[BetterBatteryStats] chamonix:
This is interesting and awkward. You are correct, root is not required, as it isn't for cpuspy. Of course I could optionally catch the access denied and go again with su but I'd like to know the reason first
[BetterBatteryStats] jackal424:
okay so I'm having battery issues...I tried deciphering the attached file with no success.

Can one of you gurus help out?
[BetterBatteryStats] sohebq:
i am sorry if this is asked before, i just want to know what is the importance of alarms in bbs. if an app has let,s say 100 wakeups shown in alarms section, what can i judge that how much it has drained the battery?

sent from: designed for humans :)
[BetterBatteryStats] Karpfenhai:
You have 15 mins overhead, 5 are caused by location based services (maps) tread post 3 how to control maps and if possible freeze google now.

All other is caused by your wlan, try to identify the devices which are talking to much by using shark for root and doable /block them,a firewall may help with that.

Tapatalked from my Samsung GT9100
[BetterBatteryStats] mrp1nk:
Guys, I'm using Sabsa Prime 8.5 on Desire S which is supposedly very good ROM also in terms of battery life. But in my case i can't get through 12 hours without a need to recharge - here's what betterbatterystats have shown: 'AlarmManager' with 8m26s, Count 16892 1,5% and LocationManagerService with 1m36s Count 17280 0,3% here's alarmdump.txt, any help ? I switched off now locations and uninstalled TALK, duno if it'll bring some more juice to my battery, any other ideas ?
[BetterBatteryStats] eminakbulut:
That's a great app. Thank you !
[BetterBatteryStats] Tungstwenty:
IIRC this is not the 1st time this is reported. Apparently some of the root-only tools will for some reason modify the permissions of the stats file after each reboot so that they're no longer readable by all users. Go figure...
[BetterBatteryStats] XenomorphXx121:
Hi I'm having problems with my galaxy s3, it seems to be having a bit of bad battery drain and losing 20% over night without doing anything and when I'm using it the drain seems to go down very quickly.

I'm using stock jellybean firmware and rooted and left my phone alone and unplugged for over two hours and took a dump.

Bought this app as a last resort as it seems like a great idea.
[BetterBatteryStats] chamonix:
Those two hours are a little short for telling much. Please provide an idle dump and avoid setting the ref right after boot: as you can see mediascanner runs for about 1/2 hour in your case, biasing the reading
[BetterBatteryStats] chamonix:
Why don't you provide a dumpfile? it contains more context and the alarm stats
[BetterBatteryStats] chamonix:
To make a parallel: the same overhead as turning on/off your car's engine 1000 times instead of letting it off
[BetterBatteryStats] XenomorphXx121:
I don't know what an idle dump is or how to do one?

Should I not do a ref or before I boot?

I don't know what media scanner is or why it's biasing the reading, do I turn that off? How?

Okay I'll have another go and leave it over night, it did say on first page from 1-4 hours
[BetterBatteryStats] abcrndm:
any ideas with my stats below? I noted my phone battery getting worse and worse lately, and i was surprised by all my wakelocks. Couldn't find much from googling. i have a verizon droid razr.

"PowerManagerService" (): 26 m 39 s (1599 s) Cnt:(c/wc/ec)1302/0/0 4.2%

"bpwake" (): 21 m 53 s (1313 s) Cnt:(c/wc/ec)100/3/100 3.4%

"uart_wake_lock" (): 21 m 12 s (1272 s) Cnt:(c/wc/ec)133/0/133 3.3%

"vril-moto-dlst-atcmd" (): 20 m 31 s (1231 s) Cnt:(c/wc/ec)5453/0/0 3.2%

"suspend_sync" (): 12 m 46 s (766 s) Cnt:(c/wc/ec)47439/0/0 2.0%

"omap_usbhs_wakelock" (): 12 m 25 s (745 s) Cnt:(c/wc/ec)945/0/0 1.9%

GpsLocationProvider (Android System): 19 m 55 s (1195 s) Count:130 34.5%

Any ideas? thanks!
[BetterBatteryStats] jackal424:
check this out, it helped me...

http://xdaforums.com/showpost.php?p=33625164&postcount=532
[BetterBatteryStats] XenomorphXx121:
Hi I left my screen off and untouched for over 7 hours and had my wifi switched off before I left it alone but lost 16%.

I found out something interesting, when I checked my stats it says my wifi was on for over 7 hours even though I have my keep wifi switched on during sleep as never which is weird and when I tried to switch wifi on it wouldn't come on but on the pull down notifications the wifi was lit up as on and had to reboot my phone to make wifi work again?

Now phone is really hot and all I'm doing is using WiFi for internet :confused:

So here is my dump, hope someone can help
[BetterBatteryStats] XenomorphXx121:
Thanks but it says it's only for sprint galaxy s3, not sure what sprint is but I have international UK s3?
[BetterBatteryStats] jujuburi:
Could I get some idea about these wakelocks, the ones I marked in yellow, especially the kernel one? What is this 'battery-monitor' thing? How can I disable it?

I always turn off all connectivity at night, sync is set to off.

Thanks in advance.

PS: The device is a Note 2, running stock odexed with custom recovery.
[BetterBatteryStats] tc80tc80:
Advice please on my battery drain

BBS is telling me that I had "com.android.internal.telephony.gprs-reconnect 34" in a 12 hour period while the phone was sitting on a table doing nothing. It says it has five bars of signal where I keep it.

Does this mean that the connection to the cell tower keeps dropping out?

BTW, I am on Rogers in Canada and the baseband is I9000XXJVT
[BetterBatteryStats] bik2101:
Can someone take a look? Thanks

http://db.tt/133y48Da
[BetterBatteryStats] Pinan:
2 nights. Very different results.

Please find my dumps from the last two night. Two nights ago I lost only 10% in 9 hours, while last night I lost over 30% in 9 hours. :confused:

No changes to phone on my part. I would greatly appreciate some advise.

Thank you much!
[BetterBatteryStats] chamonix:
Correct
[BetterBatteryStats] chamonix:
Level lost [%]: 41 Bat.: 41% (94% to 53%) [7.2%/h]

Deep Sleep (): 5 h 36 m 40 s (20200 s) Ratio: 98.2%

Awake (): 6 m 12 s (372 s) Ratio: 1.8%

The drain is definitely not cause by your phone being awake / woken up. Are there other users having the same problem?
[BetterBatteryStats] chamonix:
Comparing the two readings:

Since 9 h 13 m 25 s
Level lost [%]: 10 Bat.: 10% (100% to 90%) [1.1%/h]
Deep Sleep (): 8 h 49 m 43 s (31783 s) Ratio: 95.7%
Wifi On (): 9 h 13 m 25 s (33205 s) Ratio: 100.0%
Wifi Running (): 9 h 13 m 25 s (33205 s) Ratio: 100.0%
Awake (): 24 m 33 s (1473 s) Ratio: 4.4%
Screen On (): 6 m 25 s (385 s) Ratio: 1.2%

Since 9 h 5 m 18 s
Level lost [%]: 32 Bat.: 32% (100% to 68%) [3.5%/h]
Deep Sleep (): 8 h 41 m 19 s (31279 s) Ratio: 95.6%
Wifi On (): 9 h 5 m 18 s (32718 s) Ratio: 100.0%
Wifi Running (): 9 h 5 m 18 s (32718 s) Ratio: 100.0%
Awake (): 23 m 58 s (1438 s) Ratio: 4.4%
Screen On (): 4 m 16 s (256 s) Ratio: 0.8%

There is not much of a difference in the distribution of times between those two readings.

But I see that you have Wifi always on and the counts for wlan_rx_wake (wakeups dut to incoming traffic) are different and that may be part of the reason: do not leave Wifi on when you don't use your phone.

Another cause of drain is constant in those readings: com.guidology.sparephone is waking up your phone every 5 minutes
[BetterBatteryStats] Pinan:
1. I leave wifi on because my phone calls are all VoIP.

2. Spare Phone is the VoIP app I use. I'm working with the dev to lower wake locks, and they're actually much better now than before.

Do you have any idea why the two nights were so different though? Again...nothing changed that I can see.

Note that 11/3 was only 1% hour drop, with wifi ON. That's pretty darn good.

Thank you Chamonix

~~~~~

Edit: I did enable AP Isolation on my Linksys router yesterday. Could that do it?? I read that could help with wifi wakelocks, not hurt.
[BetterBatteryStats] xelra:
Well, 1 is maps. The other is exchange (the software called Mail). In your screenshot they even have the according symbol in front. What knowledge is it you seek?

sec-battery-monitor is the system internal battery monitor. It's standard, don't worry about it.
[BetterBatteryStats] Karpfenhai:
The drain cannot be explained by dump,i would suggest to change kernel and if possible, your baseband.

Tapatalked from my Samsung GT9100
[BetterBatteryStats] bobdoblo:
http://xdaforums.com/showthread.php?p=33669047

[4 Nov 2012] [KERNEL TESTS] [SAMMY ROMS] Kernel battery tests and benchmark results

NeatROM -The Best!

Salesale - True Super-Dev!
[BetterBatteryStats] chamonix:
The major difference I saw between those two reading was the number of wakeups due to rx_wake. tkets. There are different ways to do this, f SMPProm kernel implementing a proper filter to sniff your network traffic and identify / remove the causes (often but not always upnp annoncements).

Edit: I don't know what requirements are on voip but what I reported were not wakelocks but wakeups. One wakeup very five minutes looks pretty high to me compared to the optimal of 24-30 minutes for e.g. XMPP or IMAP
[BetterBatteryStats] bik2101:
Will monitor over the next few days. Possible that sandy has messed up some stuff around here as I've never had issues with signal at home.
[BetterBatteryStats] Pinan:
Please excuse my misuse of terms. I stated wakelocks, but should have stated wakeups.

Thank you for looking. I'll keep working on it.
[BetterBatteryStats] taz1458:
I had horrendously bad battery today. I have attached every logcat from the app. If anyone wohldnt mind looking through them and see if they can decifer any of it out I would greatly appreciate it. I'm running AOKP JB Milestone 1 on the fascinate if that means anything. Thanks
[BetterBatteryStats] cool1007:
I'll do a new clean BBS log tomorrow. My modem currently is UHLPG with matching RIL (bvlp7 was not good for me, I'm in Ecuador). I could try more modem combos but I'll wait to show the clean BBS log first.

Also, I did a search for the phenomenal kernel and it seems to be for ICS only. Like I mentioned I'm running Rootbox 3.0 (cm 10 with new Mali drivers)

Thanks,
[BetterBatteryStats] ZunRob:
On some Wi-Fi networks my battery is draining. When I have a look in BBS I can see that "DHCP" is a partial wakelock, and the countnumber keeps increasing. I can't find a lot of information about this, anyone any idea how to fix it? It is even there after a factory reset, and happens with a few Wi-Fi networks...

Also see this thread: http://xdaforums.com/showthread.php?p=30155058#post30155058
[BetterBatteryStats] monster007:
hi guys i have battery drain problem

please tell me where is the mistake
[BetterBatteryStats] monster007:
http://db.tt/KdF5eWRy here is the log
[BetterBatteryStats] taz1458:
Don't think those other logs worked. Here is the other one I exported. If anyone can figure this out please let me know. http://db.tt/N9QYbjTM
[BetterBatteryStats] a1exus:
I just installed BBS (1.11) and it's been a while already yet I don't see much of stats, not sure why...

I'm using Samsung Galaxy Nexus 4.1.1 (stock ROM + root (SuperSuPro))

Whenever I enable "Root features", and relaunch app, I'm getting "Fallback to 'Since boot'" and still no stats...

Any advice is appreciate it, if you want I can attach dump, logcat.
[BetterBatteryStats] jujuburi:
You selected 'since boot'?
[BetterBatteryStats] a1exus:
I've tried them all, including that as well. I installed it about an hour ago, maybe I should wait?
[BetterBatteryStats] Karpfenhai:
Maybe you should simply plug / unplug your charger? Perhaps like it is described in the OP ?

regards :D

Tapatalked from my Samsung GT9100

---------- Post added at 06:54 PM ---------- Previous post was at 06:50 PM ----------

In short, good modem, bad kernel, wrong bbs version.. :cool:

Please update to the most recent version and post another dump.thx

Tapatalked from my Samsung GT9100
[BetterBatteryStats] chamonix:
Make sure to read the FAQ to understand when references are created.
[BetterBatteryStats] chamonix:
Logcats are not the right mean to analyse the battery behavior of your device but for analyzing the behavior ob BBS. In your case I guess you are looking for the details of your drai situation so a dumpfile would be the right tool
[BetterBatteryStats] haarsh:
Hi,

I am posting the DUMP. Please take a look and tell me what can I do to improve :)

Thank you

tc

I attach screenshot of system's battery information
[BetterBatteryStats] chamonix:
I usually don't cross post threads. DHCP is the symptom, the cause is your phone negiciating dynamic IP addresses. Now without looking into a dumpfile it's hard to get all the context but there are multiple potential parts of the problem:

- you leave Wifi on all the time

- your Wifi sleep policy is set to disconnect when screen is off (that is different from turning Wifi off)

- you have Wifi on and are moving or have multiple access points nearby and the connection strength is at the edge, potentially forcing your phone to switch between access points

- DHCP is only one part of the equation, a dumpfile would mean more context and cause a more precise answer
[BetterBatteryStats] taz1458:
Posted it afterwards when i realized it wasnt right. Thanks!
[BetterBatteryStats] chamonix:
that reading was taken while on charger as far as I can see so is not usable. Please refer to the FAQ for providing an idle dump
[BetterBatteryStats] chamonix:
com.youmail.android.vvm.YouMail causes your phone not to sleep at all
[BetterBatteryStats] taz1458:
That pretty much the entire reason?
[BetterBatteryStats] chamonix:
Since 5 h 25 m 49 s

Deep Sleep (): 5 h 1 m 25 s (18085 s) Ratio: 92.5%

Awake (): 24 m 23 s (1463 s) Ratio: 7.5%

Screen On (): 2 m 21 s (141 s) Ratio: 0.7%

Phone On (): 33 s (33 s) Ratio: 0.2%

Was your phone in airplane mode during this reading? What leads to this question: No Data Connection (): 5 h 25 m 49 s (19549 s) Ratio: 100.0%

The only clear cause of wakeup I could see here (beseides network stats) are wakeups cause by com.android.providers.calendar. Did you have a recurring reminder/alarm?
[BetterBatteryStats] chamonix:
Well, that app kept your phone awake all the time so any other reasons were masked. Please fix and repost so we can have a look at the pictore after fixing that one
[BetterBatteryStats] taz1458:
Will do. Thanka
[BetterBatteryStats] haarsh:
No. I was NOT in airplane mode. I received 02 messages while 4n is idle :) Why does that displays like that :( I have alarms set but not activated..
[BetterBatteryStats] a1exus:
you were right, i did that and now it's start collecting information. thanks so much!
[BetterBatteryStats] chamonix:
I can't tell: as I don't have the device I can only tell you that the calendar has been waking up the device again and again. If this issue does not show in another dumpfile it was a one time effect blurring the reading, if it persists then it's one thing you should look into. If you can't find a connection between what the reading tells and what you observe I suggest that you provide another idle dump
[BetterBatteryStats] taz1458:
Here is one from since I fixed YouMail. Please let me know if anything strikes you. Thanks. http://db.tt/lEma7qDW
[BetterBatteryStats] Karpfenhai:
You still have some overhead but it looks way better now! Next produce an idle dump to get a good picture what is left, no screen activity!

Regards

Tapatalked from my Samsung GT9100
[BetterBatteryStats] Hilmesh:
Key Karpfenhai, the drain will be faster if we have 3G / Wifi continuously ON right?
[BetterBatteryStats] Karpfenhai:
It depends, on 3g with active data yes, on a well configured wifi, not neccessarily.

But no data on 2g no drain almost..

Hard to answer.. Whats your point?
[BetterBatteryStats] Hilmesh:
Till date i have been always switching 3G on & Off. So i just wanted to try out if i keep my 3G / Wifi On all the time and do the sync manually. I tried the same for almost 5Hrs and had a drain of about 4% per hr with about 42 M Screen on Time. My Wifi i have set the IP and all Manually and not automatic.

Just trying to use my phone differently. THanks
[BetterBatteryStats] taz1458:
Any set amount of time for the idle dump?
[BetterBatteryStats] Hilmesh:
at least 4 hrs without any screen activity. most ideal would be leaving the phone untouched overnite.
[BetterBatteryStats] stuart0001:
I would suggest not doing an overnight dump for HTC ICS or jb devices as the data connections are turned off automatically from midnight to 6am so you will get a misleading result.
[BetterBatteryStats] Hilmesh:
Thanks for the info. I did not know this :)
[BetterBatteryStats] taz1458:
I got a Samsung fascinate so I am good. Will do the idle dump tonight. Thanks for helping.
[BetterBatteryStats] ZunRob:
Thanks for your reply, I've attached a dump! :)

A few answers:

- WiFi is always on indeed

- No, the sleep policy is set to never, so it keeps connected and doesn't go to sleep

- No, I'm on the same location. Although this log is collected at two different WiFi networks, the location was steady on both of them.
[BetterBatteryStats] bik2101:
i didn't have much awake time (about 5-6 min over about 5 hours overnight with rest as deep sleep) but under alarms, i had alarm manager at a little over an hour. lost 30% battery. any idea why?

also, my reception was good all night according to gsam battery data.
[BetterBatteryStats] SinfulRoad:
Well at least I know now for sure that it's Light Flow waking up my phone. But I still don't know if that's what's necessarily killing my battery.