yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Hilmesh:
yes that was initiated by me and hence it has kept the phone awake but after download i had exited it properly still during the nite i had 4 huge wakelocks and i lost 10% over 7 Hrs. During that time i had nothing running , no GPS, 3G nor wifi.

I am doing another test today.
[BetterBatteryStats] chamonix:
As you awake time is almost equal to your screen on time the drain comes from the activity.

Please check/try the following:

- make sure you battery is calibrated and the battery indicator accurate (if using a third party)

- reduce your screen brightness

- remove widgets

- remove animated wallpapers

- check your CPU freqs (if you oc stop for a few runs, check the CPU freqs over time with cpuspy)
[BetterBatteryStats] chamonix:
How do you come to the conclusion that a process consumes battery? Please post some readings so we can draw the right conclusions
[BetterBatteryStats] chamonix:
Besides the already mentioned wakelock for over one hour I still see stuff I have addressed many times already in your readings so I won't comment anymore on that, you have all the info you need to take proper actions. It's up to you if you follow them or be happy with that high counts of wakelocks
[BetterBatteryStats] :
Hi,

firstly sorry for my english, it's not my mother language.

I have a serious battery drain problem with my Samsung Galaxy SCL 9003. It happened after using it for about 2 weeks from buying. It happened instantly. Originally, the software was froyo 2.2.1 and the device battery lasted for about 1-1.5 days with normal using. From one day battery lasts only for up to 8 hours with light using (no wifi, no internet, no bluetooth, very rarely screen on, and so on). I have try to update id to XXKPE and now to XXKPQ (2.3.6) but nothing with the battery condition changed. I checked it with some android software recently and it said the overall battery condition is good.

Today I have installed the batterybetterstats app and I feel that I am closely to solve my problem. Speaking about this app:

In 'Other' I have since ~52minutes:

46% ratio for AWAKE (24min)

44% ratio for SCREEN ON (23min)

0,1% ratio for WIFI [i opened it for an accident lately]

So I as you see I have no SLEEPING mode, but the device was out of use for sure for about no less than 30minutes. So my device is never sleeping and I think that's the point.

In Partial Wakelocks:

since 1h

nothing exceeds 2,2%

the highest counts are for activitymanager-launch (172), something called RILJ (139) and alarm manager (228)

In Kernel Wakelocks:

since 1h

nothing exceeds 0,9%

dont know what c/wc/ec stands for but the highest values of them are

for the first number:

mmc_delayed_work 1340/0/1

KeyEvents 8015/0/0

for the second number:

alarm 54/6/0

event2-1473 26/8/0

samsung battery 22/8/22

third number

svnet 231/0/231

samsung battery 22/8/22

In Processsince 1h

none of them has "sys" for more than 4s and "us" for more than 7s

Please for God, help me guys :o

Where is the final solution? What to do?

If this post is not in the right place please leave a link (here) to it at least ;)
[BetterBatteryStats] chamonix:
What these figures tell you is in fact that half of the time your screen was on and the awake time is almost the same. That's the way it should be.

I suggest you do two things for us to solve the mystery:

- install CPUSpy so you can display how much time your phone spent in the different CPU states, including deep sleep. This will help us confirm whether your phone goes to deep sleep or not

- take a longer run with BBS, preferably by leaving the phone alone for 1-4 hours after a reboot. Once the time has passed create a dump file and attach it here together with the info from CPUSpy.
[BetterBatteryStats] DrunkFuX666:
Hey Chamonix how goes it...??

Last we spoke was when I had a Moto Atrix... man was that things battery terrible... got a S2 now thankfully and much much better battery life :)

I had a question tho... I tend to have a wake lock due to something in the kernel wakelocks called vbus_present... any idea what that is for...?? I'm currently using cm7 build 117... I'm pretty sure its some app just not sure which one... was thinking maybe viber...?? Because I wasn't having aany wakelocks before that I think... or maybe didn't notice... :s

Thanks for the great app by the way... the updated one is great...!! :D

Sent from my Galaxy SII
[BetterBatteryStats] chamonix:
Don't panic, vbus_present is you charging :)
[BetterBatteryStats] DrunkFuX666:
Ohhh... lol... stupid me I guess... but charging causes the phone to stay awake...?? I mean I guess essentially it doesn't matter since its charging... but still...??

Sent from my Galaxy SII
[BetterBatteryStats] Hilmesh:
Hello, I think the only thing I did not change was k9. But then I need it. Rest I followed all the procedures. Still thanks for bringing up to this good for me.
[BetterBatteryStats] :
I installed CPUSpy when it was on XXKPE (when the problem still existed) and after about 30min of testing it showed I think correct results, the data was about: 77% deep sleep/or 100MHz, I dont remember but the last possible option at the bottom, with every option stated), only 1% in 1000MHz, and just several percentages for 800 500 and 300 MHz.

Now on XXKPQ I have managed recently to charge it up to 100% for the first time since several attempts (charging from device dead, device off, no sd card, no sim card during charging, and I did it after I had removed the battery for more than 90 seconds to reset some kind of a chip which Galaxy SII possess and perhaps my device also)

Now I have reboot it and leaved only with BBS. At the moment, after several minutes after that charging to 100% ended, the battery shows 91% (!) so I dont think the precedure will last for 4 hours but I willl dump the results to file and post them here to be verified
[BetterBatteryStats] CRXed:
I know the Alarms can be read under Settings -> Actions, but can you also include it in the BetterBatteryStats.txt output or make it possible to save the Alarms stats to a file too?
[BetterBatteryStats] chamonix:
You could still go from push to poll
[BetterBatteryStats] chamonix:
It is in dumpfile in upcoming v1.5
[BetterBatteryStats] t-pip:
I thought that Push was supposed to beer more battery friendly?
[BetterBatteryStats] chamonix:
It's supposed to be but my experience is it's not
[BetterBatteryStats] Hilmesh:
Yes now I have done just the following,

1. Made k9 as manual pull

2. Made Skype to go offline as soon I am out off wifi or 3g

3. Same with im+.

Will post results soon.
[BetterBatteryStats] chamonix:
Merry Christmas all!
[BetterBatteryStats] mariotme:
Thanks m8 :)

same to you
[BetterBatteryStats] Perseus:
Not sure I completely follow. Are you referring to the wakelock of "Cell Standby" ? If so, have you looked at this petition ? (Note its against Touchwiz Battery Service in general) Also I may be asking again, but is it possible to change your modem ?
[BetterBatteryStats] Acer4605:
Perseus do you have an idea where the jimbo wakelocks are comming from

Verstuurd vanaf mijn GT-P3110 met Tapatalk
[BetterBatteryStats] Perseus:
Are you referring to the KWorker entries ? Those are Kernel Threads in limbo.
[BetterBatteryStats] Acer4605:
Yes is there a wat to get rid of it?

Verstuurd vanaf mijn GT-P3110 met Tapatalk
[BetterBatteryStats] Perseus:
Try changing the kernel.
[BetterBatteryStats] Acer4605:
And which kernel should I use? Kt Adam or jeboo? In case of kt with wich profile or script would be your favorite

Verstuurd vanaf mijn GT-P3110 met Tapatalk
[BetterBatteryStats] Perseus:
Try KT. I prefer "Dead by April" profile due to my light usage. Choose what works best for you.
[BetterBatteryStats] Acer4605:
OK thanks for tour support at the moment I'm at 2.4% per hour

Verstuurd vanaf mijn GT-P3110 met Tapatalk

---------- Post added at 10:08 PM ---------- Previous post was at 09:37 PM ----------

Do you use just the profile april or also the script?

Verstuurd vanaf mijn GT-P3110 met Tapatalk
[BetterBatteryStats] Perseus:
I don't use any script. But I do also use this Mod.
[BetterBatteryStats] kylealanr:
I've been having lots of kernel wakelocks that are called something like "event0-888" and my phone is not sleeping properly. It's a Nexus 5 running PA 4.2 Beta 3 on ElementalX kernel. Attached is a dumpfile from unplugged. The phone was sitting on my desk on wifi for the majority of the time, I didn't touch it for close to 4 hours.
[BetterBatteryStats] dimm0k:
I'm curious about this specific setting... do you have an example of when an app would scan for Wi-Fi?
[BetterBatteryStats] Acer4605:
if I'm not mistaken the location services are using this, on the other hand it improved my batterylife so for me it helps
[BetterBatteryStats] paddybear:
Sorry, I lost track. Does BBS now work on Kitkat installations without root access?

I mean, I understood that some features will not be available, but does it include core features as well or only some comfort functions as it was with earlier versions?

Gesendet von meinem SM-N9005 mit Tapatalk
[BetterBatteryStats] blakdrew:
New to bbs .... can I get some help analyzing my stats or what I need to do to get things going

https://docs.google.com/file/d/0B1i0zLMhYrwhOFNmd0pZRjBVc0E/edit?usp=docslist_api
[BetterBatteryStats] Skyborns:
Hello!

fulfill your instructions please see my logs and tell me how otkluchit semc_pover process.

thank you Skyborn
[BetterBatteryStats] Skyborns:
Simply forgot to attach a file alarms

thank you Skyborn
[BetterBatteryStats] IZ1PSJ:
I have some problem with upgrade BBS.

I used normally the 1.15V un Dark CM 4.4.2 but I'd like to try the 1.16 version but after changing permission when i open BBS they don't start but ask me to uninstal.

Where i wrong on the installation of 1.16v? all versions.
[BetterBatteryStats] dimm0k:
any idea why there's a difference of ~.5% battery drain between the two logs? an extra hour before saving the logs shouldn't have made this much of a difference, should it?
[BetterBatteryStats] mlkjuggalo:
You might try going to settings apps BBS clear data reboot. I did this and mine works with no issues.
[BetterBatteryStats] qwerty22:
chamonix, please fix:

BetterBatteryStats-2014-04-06_075057538.txt:

com.google.android.gms (): Wakeups: 2
Alarms: -1, Intent: {com.google.android.gms
Alarms: 1, Intent: {com.google.android.gms

alarms.txt (dumpsys alarm):

com.google.android.gms/com.google.android.gms.common.download.DownloadAlarmReceiver
[BetterBatteryStats] IZ1PSJ:
Thank you, i will try in the next days :good:
[BetterBatteryStats] Aitch:
Is there any way to make BBS work on KitKat without Rooting?
[BetterBatteryStats] vishal11in:
How can I get rid of sec battery monitor wakelock
[BetterBatteryStats] Hopper8:
Hi [MENTION=4705372]Casanoaa[/MENTION] or [MENTION=4355376]Karpfenhai[/MENTION], just wondering if there is an update to this post for the newest versions of GSF and GPlay Services? I've used that post consistently, but as of late the Gplay services update seems to have gotten to my battery a bit. Is there an updated list I can follow to disable? I'm on KitKat if it matters. Thanks :)
[BetterBatteryStats] AssToast:
Latest ones that Google auto updates are working great and not draining battery on my device

Sent from my XT1033
[BetterBatteryStats] Perseus:
Version 1.15 has been working great and fully for me on Kitkat.

Everything is looking good. For 10 hour window, that's pretty good.

NO
[BetterBatteryStats] henry8668:
Is it possible to call BBS to save a text dump from tasker?

Want I want to do is: when battery is less than 10%, tasker will be triggered to call BBS to save a text dump.
[BetterBatteryStats] Skyborns:
Hello!

Perseus 71 Thanks for answer. My logs care processes semc_power please tell me how to reduce its appetite. Widgets tied food I turned off.Сhange flash different kernel but can `t overcome this process.

respect Skyborn
[BetterBatteryStats] triathlete66:
yes, have a look in Tasker. There should be a plugin available
[BetterBatteryStats] chamonix:
That's what Google Play services uses for fused location
[BetterBatteryStats] chamonix:
yes

edit: Tapatalk quoted twice (bug if hitting reply multiple times)
[BetterBatteryStats] kaushikd:
Can someone help to check the wakelocks? Does this looks fine? I can see the proximity sensor is causing partial wakelocks.
[BetterBatteryStats] Perseus:
Do you have Sony Ericsson Power Saver App or something ? If so can you disable or freeze that App ?

Please turn off Google Location Reporting. Please remove EZ Weather app and Battery widget. Reboot and get another log. Preferable Idle for 4 to 5 hours at least.
[BetterBatteryStats] kaushikd:
Ok, I'll do that . But does the proximity sensor wakelock looks fine?

Sent from my Nexus 5
[BetterBatteryStats] Perseus:
Essentially it popped up when during Calls, your screen would intermittently light up due to being held in a certain angle. So long its close to your ear and the screen does not turn on, this wakelock will go away.
[BetterBatteryStats] dimm0k:
Can someone take a look at these two logs and tell me why there's a difference? looked it over myself and the differences seem too minimal to account for that much of a difference.
[BetterBatteryStats] kaushikd:
But I'm pretty sure the I hold the phone very near to my ears only. Will check that tomorrow once again.

Sent from my Nexus 5
[BetterBatteryStats] Perseus:
Charging Cycle time depends on variety of environmental factors. This is in addition to what you have got running in background. So It would be difficult to tell.

If you post two logs where neither had charge cycle, then it would be more concrete to tell.
[BetterBatteryStats] dimm0k:
I'm a bit confused... where do you see charge cycle time? how would I obtain a log without a charge cycle?
[BetterBatteryStats] Perseus:
Log 1

Level lost [%]: Bat.: -6% (70% to 64%) [0.8%/h]

Log 2

Level lost [%]: Bat.: -2% (91% to 89%) [0.3%/h]

Negative Values indicate Charging.
[BetterBatteryStats] wh4g:
Re: Karpfenhai; Here you go:

Tapatalked from my Galaxy SII[/QUOTE

Please repost this guide, the instructions are missing.
[BetterBatteryStats] gaich:
Opposite, it`s discharging.
[BetterBatteryStats] Fuoritempo:
Hi, I've always used this app on my devices, but now seems not to access root properly, as it gives me back the message "this feature requires root" if I try selectin' certain options even if my phone is correctly rooted...

Inviato dal mio SM-N9005 utilizzando Tapatalk
[BetterBatteryStats] dimm0k:
perhaps I'm getting confused by the terms, but if it's discharging isn't that as expected? how would I obtain a log without a charge cycle?
[BetterBatteryStats] tiuro:
I wouldlike to ask you to help me with my problem with my S2.

There is a battery drain when the power is totally off.

During the night it is always about 2-3% per hour.

I made a test with plane mode and the results are similar like when the power is off.

Level lost [%]: Bat.: -19% (37% to 18%) [2,8%/h]

A few weeks ago I replaced USB board, and I had no GSM signal, so I found this topic:

http://xdaforums.com/galaxy-s2/help/weak-signal-reception-changing-micro-t1950114/page4

I used solution from post #32 (I cut the USB board :laugh:) and it worked in terms of signal and USB charging :victory:

Is this a hardware issue? If yes is this again USB board issue or maybe something else?

THX in advance.

And of course thx to the author of the BBS :good:
[BetterBatteryStats] revan17:
I'm having a lot of com.android.phone wakeups in alarms section. It's always in thousands. I've checked with my operator about fast dormancy and they replied they support "3GPP release 8 Network controlled Fast Dormancy" in their whole network. So I have fast dormancy enabled in my phone. However, once I disable fast dormancy I don't get these wakeups in the alarms section. So I'm kinda stumped. Can anyone shed some light on this?
[BetterBatteryStats] migadeath:
CM battery drain

Hi, I need help figuring what is causing battery drain. I've attached all logs form BBS form custom checkpoint when phone entered flight mode till morning. Normally it uses 2-3% battery power during night. I'm seeing nothing that could cause this F**** drain, phone sleeps 99,5% and drains!

============

Battery Info

============

Level lost [%]: Bat.: -12% (44% to 32%) [1.5%/h]

Voltage lost [mV]: (3783-3766) [2.1%/h]

===========

Other Usage

===========

Screen On (): 1 m 20 s (80 s) Ratio: 0.3%

Deep Sleep (): 8 h 2 s (28802 s) Ratio: 99.5%

Awake (): 2 m 27 s (147 s) Ratio: 0.5%

I suspect RIL because this drain comes after call/sms (after month of observations) and restart is mostly only solution - sometimes it stops draining battery after next call. This drain was on CM10.2 too and now on CM11. It was on Galaxy S2 (i9100) and now on my Galaxy nexus too.

Is there any way how to monitor radio interface power consumption? Powertop shows insane numbers for me.

Thank you very much for your help

Kind regards,

Milan
[BetterBatteryStats] Perseus:
I'd turn off Fast Dormancy anyway since it seems to bring down the wakeups.

The log you provided is not the Text Dump of BBS for Processes and wakelocks.

Try the following and see if it helps.

Every time you reach Work / School, turn on Airplane mode briefly and then turn it off. Do the same thing when you reach home.

hopefully that will bring down RIL Wakelocks if that's the issue. Your Log does seem to confirm Radio issues. Also try changing Modem / Radio if that's an option.
[BetterBatteryStats] skylar.sutton:
Can anyone help me decypher the attached log, or point me to some literature on how to "read the tea leaves"?

I have an "alarm" keeping the device awake but I don't know how to figure out what app owns that alarm.
[BetterBatteryStats] Perseus:
Its your Email Syncing periodically. I'd change its refresh frequency to be less frequent.
[BetterBatteryStats] cartman_73:
alarms doesn't appear into dump BBS and battery drain

Hi guys,

[MENTION=1330150]chamonix[/MENTION] thanks to your great work, I've got two troubles and I hope anyone can help me.

The first one, I've got a high battery drain on my e975 (LG OPTIMUS G), it consumes 2,5-3,5 %/h and it has the rate between screen on and awake time of 1:3.

The second trouble, I don't have any stats on Alarms sheet, my installation is:

e975 with android 4.1.2 lg stock firmware kernel 3.4.0

BBS ver 1.16.0.0_B3

rooted and root features on BBS set on

I 've attached a dump file to help.

thanks to all

regard
[BetterBatteryStats] Perseus:
May be it was a missing Reference Point. Hit the Refresh button inside the app and watch out for Toast Notifications. Also plug the phone in Briefly as well.

As to the Drain, do you have Wifi Always on ? Or "Scan for Wireless Networks" set to always ?
[BetterBatteryStats] youshoe:
CM11 M5 on Nexus 4 BBS Log

I'm running CM11 M5 on Nexus 4.

When I was on CM10.2, my battery life was so much better and I would be able to end my day with 45-60% battery.

However, after upgrading to CM11, my battery has been draining much more. If I'm lucky, my battery will end up at 20% by the end of the way. If not, It'll be dead like 4 hrs before the end of the day (my typical day is about 6am-12am, 18hrs).

I do not keep my data on (but juicedefender enables it once every hour).

Attached is the BBS log.

Thank you in advance!
[BetterBatteryStats] diggmc:
Just wanted to say thanks for an awesome utility. I've managed to get my hourly drain down to 0.3%/hr.

Thanks
[BetterBatteryStats] cartman_73:
Thanks for your responce.

I have Wi-fi always on because in my office exists connection acces point, "Scan for Wireless Networks" is set to off.

Sorry but I don't understand what you say me for missing Reference Point and Toast Notification,

Is it possible that the trouble is permission issue?

This morning, I unchecked the display->filter stats option and I see the message that I've attached in Alarms's tab, hope it help you.

I didn't installed busybox, now I try to install it and try again.

In addition, I've attached the last night dump file, the phone was in a airplain mode.

thanks

regards

update: Installation of busybox don't solved the troblue
[BetterBatteryStats] migadeath:
Hi mate! Thanx for response. After received call has drain stopped, see screen-shot and this morning begun again. :( Switching Airplane doesn't help, maybe more times, I'll try that.

On my SGS2 the newer modem the worse (more frequent) drain, old ICS modem was less affected. I've tired different older modems (for my region XX) on maguro without success, maybe will try modem for different region.

I'll attach dumps from last reboot till now.

I want to debug this because its nasty bug somewhere and plaguing me a lot and other users for sure too, but heavy users wont notice it maybe.

Kind regards,

Milan
[BetterBatteryStats] chamonix:
On current beta youu should not have this message anymore. On 1.15 you must go to advanced prefs and enable the root features
[BetterBatteryStats] Fuoritempo:
...I discovered I had to enable that feature a few hours after posting...stupid me....[emoji37]

Inviato dal mio SM-N9005 utilizzando Tapatalk
[BetterBatteryStats] cartman_73:
permission fix?

[MENTION=1330150]chamonix[/MENTION]

Perhaps, I've got the same trouble, on my e975 (4.1.2 stock LG), my device is rooted and root features is on, but in Alarms tab I see the message that I attached.

I tried to remove and reinstall 1.6.0.0_B3 but not solved it
[BetterBatteryStats] chamonix:
please post a logcat
[BetterBatteryStats] :
SD Card

My SD Card is causing the Bcm_sdhc.3 wakelock to be active and preventing the phone going into deep sleep. As soon as I remove the sd card there are no problems and phone goes into deep sleep. I have 2nd Partition on my sd card for increased memory, can that be a problem? Also, the wakelock is a kernel side wakelock, and I haven't found a problem in weeks, after searching here there is noone with similar problem, only problems that have the said wakelock (Bcm_sdhc.3) in their name.

How can this be fixed?
[BetterBatteryStats] cartman_73:
logcat and text dump

I hope that it is what you want :o I'm a newbie for this

thanks to all
[BetterBatteryStats] Perseus:
Remove Superuser permissions (if they were granted) from your superuser app. Reboot and relaunch BBS. Make sure the re-grant the permissions. If you go to Settings > Advanced and check the "Enable Root Features", it will prompt. The log you posted is from under heavy usage period. It will be more helpful if you could post a log from really Idle Period. You'd have to reboot before beginning the Idle period.

This is a Good Log. The phone was awake only for 10 minutes during a period of 23 hours. That I'd say is a cost of doing business. Can you please reboot and try another log to catch that drain again ? Nevermind Airplane mode for now.

Paging again. Not sure if you saw my message about 1.15 version. Apologies if I missed your response.
[BetterBatteryStats] cartman_73:
I've try again :silly:

I've uninstalled and reinstall BBS but Alarms doesn't appear.

I removed the Superuser grant than restart and open bbs again, Superuser asked me the grant and I granted but I dont see any Alarms.

I attached new logcat and dump file from restart.

Thanks
[BetterBatteryStats] Perseus:
What Version of BBS are you using ?
[BetterBatteryStats] cartman_73:
the last one, 1.16.0.0_B3
[BetterBatteryStats] Perseus:
Try 1.15 instead. Remember to re-grant Root access.
[BetterBatteryStats] tiuro:
I'm a newbie, maybe I wrote my post on the wrong way...

Can any one could take a look on my log please?

Wysłane z mojego GT-I9100 przy użyciu Tapatalka
[BetterBatteryStats] Perseus:
Based on your Log, there isn't much that stands out. During the 7 hour period of the Log, the phone was only awake for 3 minutes. That's pretty good from application and OS point of view. So I think it may be time to change battery.
[BetterBatteryStats] cartman_73:
problem solved

:D:D:D:D:D:D:D

thanks Perseus71, the v.1.5.0.0 is correct and shows my Alarms correctly.

[MENTION=1330150]chamonix[/MENTION]

I don't Know if my trouble will fix in next release but if I can help you on post #23248 I attached the last logcat and dump as Perseus71 told me

Thanks to all again