yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] fanzai21:
Hi, i've encountered some issue with battery since I installed Omega v5.1 ROM. The new version of the Rom did'nt soved my problem.

I had some freeze and when I rebooted the phone the battery level dropped down of 20-30%...Also during the charge the behaviour was not "normal".. I can post some screenshot to made my description "visible".

The first time I had this problem, I reflashed the rom after a full wipe (data and cache) and after i hadn't performed the backup but installed the apps one by one from the store..that not solved the problem. I uninstalled set CPU, I also changed the battery...same freeze and same problem...

I'm changed the battery with a new one: same problem.

Moreover i left the phone on during the night in flight mode for the alarm: the phone was charged fully but when i woke up (after 7 - 8 hours) the phone was off. When I reboot after long press on the power button the battery indicates 1% left!!!!

I reflashed the rom after full wipes again..nothing (i changed kernel, changed modem..nothing at all)

Any advice?Thank you!
[BetterBatteryStats] Register_:
Thanks for your answer I will try to switch to 2G. All the night at home the phone was consuming less than 10mA. Got to work the consumption was around 30mA or 50mA. The Db is arround -90. I will check the level at home tonight.

If I'm on plane mode, did the phone try to test the signal (no data send) or the radio module is really shut down. Because i never really detect less battery drain on plane mode.

The problem with the Galaxy Note is that the mA is estimated (checked with BMW) and i suspect not to be very accurate. Seem like it's got 5 to 10 min late. e.g I start using wifi and Dolphin stay low, after several minutes it goes to 300 something, stop using both and it take an other several minutes to go back to it's lower value... Like if the curve is shifted in time.

Regards
[BetterBatteryStats] d3l1:
Just installed Catlog and now it's not FC anymore ... I just hate it ... but I'll provide the logcat when it crashes the next time (I hope).
[BetterBatteryStats] chamonix:
Could you please provide a logcat of the cf situation
[BetterBatteryStats] chamonix:
Not really bbs related but obviously you have either a calibration problem of the kernel is reporting wrong info
[BetterBatteryStats] chamonix:
I killed my dev laptop last Sunday while updating Ubuntu. Fortunately everything is now reinstalled and I restored my data so I will start coding again this week end. My focus in the next week's will be on bbs and I will be working on following features:

- reporting on what happened during the last sleep phase (I think of a widget for that but may make multiple steps)

- Tasker plugin for issuing commands to save dumps / references

- generic navigation / view of sampling periods

- more user friendly overview as start page showing all aspects of awake and wakeups

- some secret stuff you guys will love

I also want to reiterate my call for a designer: I need a new set of icons for version 2.0, if an UX specialist reads this I am also looking for support in that area.
[BetterBatteryStats] dirtyreturn:
Ever since installing v1.7.1 my phone on time has always been 100% as compared to actual screen on time. Running earlier versions this has not happened. Is there anyone that this has also happened to? Or if someone very familiar with android or this app could point me in the right direction. Right now I don't notice a battery drain issue.
[BetterBatteryStats] precision07:
2 same model phone, 1 with double battery consumtion of the other

Hi pros out there,

I have a samsung galaxy W that use to charge till 100% at night and idle 8 hours till morning, it usually consume around 2~9% of battery. When whole night no awake its usually 2~3%, sometimes awake few minutes might be 7~9%. It's idle time at most is 1% per hour that kind.

Later bought another same model same stock rom, it always consume around 16~20% for 8 hours of idle time. Its original stock rom with original default application, 0 user application install since the first day bought and its already consuming double the battery.

Note: Tried to swap the battery, its still the same, its not the physical battery issue since swaping the new battery to the older galaxy W still gets 1% per hour and the new galaxy W still 2%++ with the old battery.

- Older galaxy W is bought around Dec 2011.

- Newer galaxy W is bought around Feb 2012.

- All findings are base on Wifi OFF, Background data OFF, Bluetooth OFF, If anything is ON, its also ON in the older galaxy W. (Basically both phone settings is same, checked ROM version linux version everything looks the same)

Attached with the bbs dump file, charged till 100% -> reboot machine -> leave idle for 5 hours+ (100%->88%) -> check battery status/CPU spy/BBS & dump file -> continue idle till 9 hours+(another 4 hour) (88%-> 77%).

Anyone can see something from the dump file? Looks normal from dump file right? Hardware issue? Appreciate the sharring of your opinion in this. Thanks.
[BetterBatteryStats] d3l1:
I'm really trying but since I installed CatLog it just won't FC anymore, that's sooo strange :/
[BetterBatteryStats] madLyfe:
im not seeing the option in bbs to stop vibrate notifications.. i might be looking in the wrong place, but if im not can we get this as an option?
[BetterBatteryStats] chamonix:
Your alarm dump does not cover the same period of time as the BBS dump so it's pretty hard to analyse. You not granting BBS root rights to let the alarm dump being parsed.

One thing is sure: Alarms is your problem, causing 2 hours awake in that reading
[BetterBatteryStats] chamonix:
As you can see in the chapter "Kernel Wakelocks" your problem is network traffic. One cause may be the could backup, viber, facebook contact sync, fring, cooliris, whatsapp etc.

There is no other way than checking settings and shutting down / reactivating apps one by one as you seem to have quite a few apps known to be "chatty"
[BetterBatteryStats] networkn:
Is google maps still causing problems for people here? I had a problem and had to keep backreving to v5.8 but I think the latest version may be ok?

Anyone know how I can use Titanium Backup to block this app from updating (Or appearing in the list of updates)
[BetterBatteryStats] jeremysherriff:
@chamonix, just a quick "thanks" from me - I trawl these threads almost every day, but the massive amount of posts and questions on this thread alone means I often have to skip it. You're always popping in to help out, I don't know how you make the time, but you're awesome. Thanks!!

---------- Post added at 02:02 PM ---------- Previous post was at 01:53 PM ----------

#1 problem is no please, thanks, or attempt to read your own logs.

#2 problem is no searching on the thread to see how best to help yourself get a good, readable log: charge, unplug charger, leave the phone idle for a few hours, set the view to "since unplugged" and then take a reading.

#3 problem is posting the whole 200-lines content of a logfile as text in the post.

So, can you edit the post, remove that text, and add the original file as an attachment please? Then use my process above (charge, unplug charger, leave the phone idle for a few hours, set the view to "since unplugged" and then take a reading) to take a good reading, and post as an attachment to a new post?

Also, you may want to try updating to a newer version of BBS - v1.6 is good but the latest one gives us some more information to work with.

:)
[BetterBatteryStats] ArmanUV:
Great work man. I just bought your app to show my support. The only thing this app need right now is a new icon lol. It's perfect otherwise.
[BetterBatteryStats] marcosxd:
Hi, would you help me with my stats please?

I have a HUGE kernel wakelock:

suspend_backoff : 6h 11m

I left my SG2 all night without charging and was unable to enter deepsleep

I am in latest CM9 Nightly if that helps.

Please reply, Thanks!
[BetterBatteryStats] jeremysherriff:
Hi, there's pretty much nothing you can do with this issue other than contact the dev, or post in the kernel thread for assistance. BBS has helped you identify the wakelock but because it is kernel level, it's over to them to fix. If there's another kernel that will work with the nightly builds, I suggest flashing it to see if the issue remains - it may be a rom/app thing calling something that keeps the kernel wake in place. Unlikely though.
[BetterBatteryStats] chamonix:
Reading this http://androidxref.com/source/xref/kernel/common/kernel/power/wakeLockAcquire it looks like something really basic indeed. From what I picked up from the sources the situation may occur when suspend gets interrupted. This may be related to any peripheral not playing nice (EG sensor) or a regression. Anyway there is no way we can help, you should take this to the kernel dev.

Oh and once you got this fixed tasker will be your next worry
[BetterBatteryStats] marcosxd:
Yeah, there is nothing much I can do about tasker since I really need it. Thanks for both of your answers
[BetterBatteryStats] jeremysherriff:
It shouldn't be chewing up wake locks like this though. There's a post or two in this thread about some config changes that help reduce the wakes. I'll see if i can find it.

Got it: http://xdaforums.com/showthread.php?p=23145683&highlight=tasker#post23145683

The phrase to google might look a bit wrong, but this what you need.

basically, you set tasker to enable a profile at a certain time, rather than enable it between certain times. That way, tasker does it once, rather than sit there repeating the same task sequesnce over and over during that time period.
[BetterBatteryStats] manekineko:
I'm seeing some odd behavior from BetterBatteryStats, it doesn't seem to be identifying all of the culprits keeping my phone awake. Would anyone mind taking a look at my screenshots below and commenting?

Basically, you can see in the screen shots that my phone was awake with screen off, i.e. wakelocked, for over 25% of the time. I used an image editor and confirmed that when you combine the wakelock time, the awake time is in the 25-30% range. Screen on time is basically negligible.

The total time off battery is about 2 hours, therefore we should expect that something was holding a wakelock for a little more than 30 minutes.

Instead, when you look at my screenshots from BetterBatteryStats, only about 15 minutes worth of wakelocks are accounted for.

What could the cause of this discrepancy be? Are there things other than wakelocks that can keep my phone awake with screen off?
[BetterBatteryStats] jeremysherriff:
Post the BBS dump log, we need to see the "other" and "alarms" stuff too to get the whole context.
[BetterBatteryStats] CRXed:
I want to comment on this, because I had problems showing the Alarms in the log file too.

Yesterday I charged the phone to 100%, unplugged and rebooted and let the phone sleep for 8 hours.

In the morning, I created a dump file. This was the first time I did this, because I had not used BBS since I re-installed it. It asked for SU access and I granted permission.

Still, this is all that I saw in the log.

Then I selected RAW Alarms and it asked for SU permission again, which I granted. Raw alarms showed up.

Then I made another dump file and this time the Alarms were in the logs.

I checked the SU app and there are two different commands from BBS in there.

1) dumpsys alarm

2) ls /

So I believe, that when you do a ls / before dumpsys alarm it will not show the Alarms in the log file.

On another note:

What is the difference between regular Alarms and Raw Alarms?

I would like to see the Raw alarms in the log too!

Alarms only showed Facebook, but my list in Raw Alarms was much longer.

(I had unplugged at 100% and rebooted)
[BetterBatteryStats] chamonix:
One important piece is missing imho: what was the 'awake' time in 'other'. There are reasons besides wakelocks related to awake: aborted suspends and frequent wakeups. Those are not wakelock related and would show elsewhere
[BetterBatteryStats] chamonix:
Interesting stuff. ls / was added to force the su access to a point in time where the user could grant the rights. Now I didn't think of the command to be granted, only of the fact of granting. I will revisit accordingly: https://github.com/asksven/BetterBatteryStats/issues/117

About the difference between alarms and raw alarms: there should be none except the reference taken (raw is always 'since boot'). If you find a difference that can not be explained by the different ref then it's a bug. Could you please send me the output of 'dumpsys alarm' if that is the case?

Edit: added link to issue
[BetterBatteryStats] manekineko:
Thanks, next time this circumstance arises I will also look at those and if I still can't figure it out I'll post up here again including those.
[BetterBatteryStats] crazyykw:
Hi !!

i upgraded to xxlpq using odin few days back and now i m unsure regarding the battery life of the firmware as by night my phone needs recharging , i would describe the usage as moderate with some browsing, music , calling and gaming..

yesterrday i charged the phone to 100 % and in the morning i removed from charger and just used very minimally for around 4 5 hrs.. the BBS showed awake >>> screeen on.. can someone check my files for BBS and suggest what is hould do??

Thanks
[BetterBatteryStats] jeremysherriff:
Hi all

I just had the weirdest thing - battery drained in 3h.

I rebooted (don't ask, sometimes I just have to fiddle with my phone) - and since then, the battery level has just drained away. You can see it in the screenshot, which I have made some notations on as to what timeframe each log covers.

I have attached all three views (charged, unplugged, custom) in an effort to try and see some sort of pattern - but I can't spot anything. A little help please?

TIA,

Jeremy

Edit: changed out the since_unplugged log, it was broken

Edit 2: the thing that stopped the drain was plugging it in to my laptop to transfer off the dump files - not sure if it was the USB media mount, or the charging, but it's not draining any more?
[BetterBatteryStats] geemaan:
Hi,

I have a stock GSM Galaxy Nexus with ICS v4.0.2 and since sometime last week my battery started draining too quick without any obvious motive. On a typical day I would unplug from the charger at 8am and charge it again when I went to bet at 12am. Now, around 7pm the battery is almost empty.

So, this sunday I did a wipe data/factory reset. unfortunately it seems to me it still drains a lot. Yesterday evening I fully charged my phone and I let it discharge till this morning. I attached two screenshots and the dump from BBS. Android OS keep awake time was 1 hour.

What could be wrong? Why are there no kernel wakelocks?
[BetterBatteryStats] CRXed:
There doesn't seem to be a real cause for your drain. Have you tried to to disable WiFi?

BBS seems to think your phone was not fully charged, since there are no Kernel wakeups or Alarms....or maybe there just weren't any?:confused:
[BetterBatteryStats] geemaan:
Thanks for the answer. Tonight I'll do the same test but with wifi disabled.

I noticed one thing about wifi. If I set "Keep wifi on during sleep" to Never, it still is remains on in the Battery graph....
[BetterBatteryStats] sohebq:
How to decrease android gsf alarms? I have already disabled automatically sign-in.
[BetterBatteryStats] uumeshh:
Poor Battery Life - ZTE Blade

Hi,

My wife is using ZTE Blade running 2.3.7 CM based MIUI ROM. I have tried CM 7 and other ROMs based on CM 7.

My problem is that this phone gives me very poor battery life. I checked up CPU spy and it shows that the phone doesnt go into deep sleep (hardly 3-5%). I dont have any battery consuming apps installed and am unsure as to how to cure this problem.

I am attaching a BBS dump along.

Please help.
[BetterBatteryStats] yhrn:
The user space wakelocks do not explain why the phone is awake all the time and kernel wakelocks/alarms are missing in the dump. Charge the phone, unplug, leave the phone alone for a a couple of hours.

Assuming you see the massive drain during this period, check BBS kernel wakelocks (and possibly alarms) since unplugged. If the reason is not obvoius to you then post a new dump here and somebody may be able to help you.
[BetterBatteryStats] geemaan:
Continuing with the next test I did. Last evening I fully charged the phone, disabled wifi and data, unplugged and let it sit until this morning. I attached the screenshots and the dump.

It burned through 40%!! CPUSpy said the cpu was in deep sleep the whole time.

Can it be the battery or is the phone hardware broken?
[BetterBatteryStats] chamonix:
From what I picked up from wakelock.c deleted_wake_lock is a structure summing up wakelocks that were destroyed. Now we would need a kernel dev to tell us whether this counter is only a summary of other wakelocks related activities and should be ignored, if it is a problem by itself of if is a symptom for another problem.

If someone could confirm I would be happy to summarize that in a KB article
[BetterBatteryStats] jeremysherriff:
Sounds to me like poor cell reception, being handled badly by the modem/baseband.

This won't show up on anything that BBS can monitor, so it's hard to confirm.

Change from 3g to 2g for a bit - I need to do that at work because of poor 3g reception, but it's fine in most other places. It's also consistent across different ROM's and kernels. Worth a try, and easy to do.
[BetterBatteryStats] uumeshh:
Sorry , please delete.
[BetterBatteryStats] uumeshh:
As directed I am posting a fresh BBS dump along with an alarm dump taken using terminal. I am also posting an activity dump. If anyone can make out what keeps my phone awake more than 90 % of the time. It however goes into deep sleep only when i put it in airplane mode.

Help would be really appreciated.
[BetterBatteryStats] geemaan:
I thought of this but did not force 2G because I checked the battery consumption both at home and at work, so 2 different cell towers. I thought, maybe, it's some misconfiguration of my cell tower but then the cell near work it would have to be misconfigured too. So it might be the radio in my phone that went nuts.

Anyways I went to the Vodafone shop this morning and gave them the phone to fix it. Let's hope they do.
[BetterBatteryStats] Register_:
Hi,

Let the Note alone all night, here's the dump (unplugged at 22h30 or something)

Before the power usage will settle low even with Wifi. Maybe It was Juice defender, which I uninstall on this forum advice.

Here last night dump, and a screen capture off BMW.
[BetterBatteryStats] jeremysherriff:
Good thought - you have taken all reasonable steps, a manufacturer/carrier repair is certainly a viable option :)
[BetterBatteryStats] cheezzzz:
hey guys,

first of all hats off to dev, ur app is awesome! ive got the app for quite awhile now, and been removing unnecessary widgets as my phone is suffering the notorious AlarmManager wakelock being top, and the % of awake time is just ridiculous. Could someone explain to me what exactly could be causing it based on my dump?

Thank you guys so so much!
[BetterBatteryStats] gradesm:
bq275x0 wakelock seems to be the biggest issue here. A search showed that it has something to do with a battery process and it is definitely unusual for it to be that long. Might be a kernel specific bug, so if possible try switching kernels and see.
[BetterBatteryStats] DarkonerXD:
thanks bob..
[BetterBatteryStats] chamonix:
You have indeed an enormous amout of alarms, unfortunately either you have no root or you didn't grant BBS root access so the dump does not deliver any info. Part of the solution may be in turning GPS off (it seems to be on) to avoid overexpensive location activities triggered my maps and forsquare. Part of the alarms may be caused by that

But to start with you have to care about:

"bq275x0" (): 4 h 45 m 26 s (17126 s) Cnt:(c/wc/ec)33513/791/16613 13.1%
"mmc_delayed_work" (): 2 h 44 m 33 s (9873 s) Cnt:(c/wc/ec)15045/13156/15045 7.6%

The first kernel wakelock is driver related. Interesting is also the misspelled "rpcrotuer_smd_xprt" (I can only guess but I believe that one is MMC related anf google found it misspelled and related to CM7)

The second wakelock seems to be related to an app doing seriously frequent accesses to your SD card.

You may finding a solution by following this link http://androidforums.com/3851943-post631.html and the trail to the CM7 discussions about those two wakelocks
[BetterBatteryStats] chamonix:
I hope you didn't pick up the JD advice from this thread ;)

About your data:

Wifi On (): 9 h 4 m 9 s (32649 s) Ratio: 100,0%
Wifi Running (): 9 h 4 m 9 s (32649 s) Ratio: 100,0%
Awake (): 15 m 48 s (948 s) Ratio: 2,9%
Screen On (): 7 m 6 s (426 s) Ratio: 1,3%

8 minutes awake "for no obvious reason" in 9 hours isn't that bad.

What may worry you is that most of the awake is cause by traffic. Unfortunately the alarms are not there (did you not grant root to BBS?) so it's hard to say where it comes from except for K9 listed in the userland wakelocks.

WLAN has a side effect (see wlan_rx_wake) but it's not as high as you should worry about that for now.

Please provide alarms so we can have a closer look at potential network traffic causes

Edit: potentially JD is amplifying the alarms by causing apps to run in "error handling" mode due to no data availability (search this thread if you need details about my reasoning on this specific point)
[BetterBatteryStats] ArtificialMusik:
What is this thats killing my battery so fast?
[BetterBatteryStats] Register_:
For dumping it : ;)

Thanks, what is the securest way to root a Galaxy?

I'm suspecting the roaming to drain the battery but don't know how to get the GSM consumption.
[BetterBatteryStats] precision07:
Nobody can help on this? Is it irrelavant question in this thread?

Factory data reset still same, consume battery a lot.
[BetterBatteryStats] tomassan:
Tracking down sources of spurious reboots

I've bought BBS recently as a tool to track down the by now world famous battery consumption, sleep of death and reboot issues of TF101 with ICS.

But this morning I realized that the logs are cleared after I was forced to recharge the tablet after a probable sleep of death situation.

So, I have no logs to view that might help me to track down the events that lead to... this event.

Since I am new to the entire Andriod ecosystem, I have very little knowledge of what tools to use or look for, heck, I don't even know the words to use when searching this excellent forum. I do have some programming experience (C# or beginners level), I do know a bit about unix based operating systems, and yes, I do know what a wakelock is... (learned that from this thread actually)

So, if any of you guys knows what to install on my pad to keep track of these kinds of events, please help out a noob!
[BetterBatteryStats] Karpfenhai:
I checked your files

since its not visible the explanation might be quite easy, which modem is used on the devices? have they been in flight mode during your test?

Kernel and modem are very important, especially for "invisible" drain!

Are both on the same network? gsm 900 drains less then gsm 1800, Fast dormancy supported / off / on on both devices?

Please check and come Back ;)
[BetterBatteryStats] cheezzzz:
thanks for the feedback and advice guys, but i felt maybe that was not rly just considering the fact that it wasnt charged up to 100% before use.

now I've attached another dump, this time with bbs authorized w SU, please advice. the true culprit may not just be AlarmManager, ive noticed my phone has a *wifi* wakelock when using Elixir widget's wifi toggle.

EDIT: Chamonix, the kernel issue has something to do with CM7? but Im not on that rom anymore for quite a long while, in fact I've reverted to another custom rom after cm7,before my current rom where I did several full wipes..

EDIT2: Just posted up another dump after about 2 hrs of batt usage, hope it helps!

thanks again guys and mad props to Chamonix again :D
[BetterBatteryStats] figgarro:
Can anyone help on the following dump?