yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] pokedroid:
Hey everyone, I'm having some battery issues with my new HTC one, and after reading all of the positive battery comments about the s4, I'm starting to get cold feet. I realize that maps is the primary cause for my wakelocks but I've done everything to shut maps off that I read in the link provided in the faq, and it's still going. There are no auto stress at instances that I haven't disabled and I definitely forced closed it. I will say that I have not signed out of latitude because there is no option to stop latitude anywhere in my maps app (have done several searches to find it's location and it's simply not there). Can anyone read these two files and possibly see what's causing it? Thanks :)

http://db.tt/CBeNE96e

http://db.tt/hHW0UD1K
[BetterBatteryStats] teemo:
Did you try: Settings / Accounts-Google / Maps & Latitude ?
[BetterBatteryStats] pokedroid:
Yeah, I had reporting turned on (i didn't think it mattered because I turned everything else off) but I'll try turning that off too and see what happens. Everything looked good in the log files though?
[BetterBatteryStats] JakePNEFC:
I have 200 odd Wakelocks from com.google.android.googlequicksearchbox and another 200 from com.google.android.gsf and I'm only on 60% battery. Anyone know how to reduce them both?

Also vbus_present kernel Wakelock has been running for 2 hours, albeit out of 15 but still.
[BetterBatteryStats] It_ler:
vbus_present shows that the phone was plugged in.

If not, then clean your USB port carefully (while phone is turned off and battery pulled out).

Googlequicksearch box can be disabled, if you don't need it. Just go to system Settings > Application Manager > All > select it and then click Disable.

GSF (Google Service Framework) is a collective wakelock for all apps using the system's service. Mainly Google apps ... connecting to the internet.

Check your alarms for GSF. Maybe you can find more information there.

Or post your BBS dumpfile here.
[BetterBatteryStats] JakePNEFC:
Also power manager service has been running for 30min.
[BetterBatteryStats] mgs333:
excuse the 20 some minutes of me using the app 'reddit is fun' but otherwise the phone was in airplane mode while I slept but the phone only was in deep sleep for 2 seconds the entire night!! what is going on here? I can't seem to pinpoint it. And I do note the 'suspend backoff' was basically going ape **** the whole night and no I don't have Chrome installed.
[BetterBatteryStats] Karpfenhai:
Did you reboot after this mess?

Looks like a mad sensor causing this, guess proximity, could you try the app sensortest?

Anyway, should be gone after reboot, for such cases we recommend to attach a dmesg for debugging.
[BetterBatteryStats] slicetwo:
power manager service is a collection of all partial wakelocks. it is not a wakelock itself.
[BetterBatteryStats] sayaksark:
i was trying to understand those settings...its a bit difficult....can u make some helping word to describe the sett:eekings :eek:
[BetterBatteryStats] Xampy14:
Thank you!

I applied all your advices except for the email (in other moment).

Just to verify:

Fota --> I disabled both "Software update" apps

Factory Mode --> I disabled "Factory Client" and "Factory Mode" and "Factory Test"

Exchange Services --> Only had enabled "SMS Received" --> Disabled

Its ok?

Thank you again. :good:
[BetterBatteryStats] mgs333:
I'm going to have to attach another log. after a reboot, it was ok but now it's doing it again right now. There are multiple apps with a similar name, do you mean this app?

https://play.google.com/store/apps/...251bGwsMSwyLDEsInF1YWxpZ29uLnNlbnNvcnRlc3QiXQ..

Will attach a dmesg next time.
[BetterBatteryStats] Casanoaa:
It sounds fine. Provide an idle log. Unplug and leave phone 4 hours without touch and dump a file.
[BetterBatteryStats] pokedroid:
I didn't think that setting mattered since I disabled everything in the settings, but man what a difference! Four hours and one percent lost even with a few cheat text messages :)
[BetterBatteryStats] tojnk:
What is keeping my HTC Desire awake?

What is keeping my HTC Desire awake? 40% battery in 2 hours is a bit much...
[BetterBatteryStats] mgs333:
after reboot, it was ok for a while but it's doing the exact same thing again. dump and dmesg both attached.
[BetterBatteryStats] Karpfenhai:
I think it's this one:

https://play.google.com/store/apps/details?id=ctsr.android.SensorTest

Tapatalked from my Galaxy SII
[BetterBatteryStats] miten_sheth:
Anybody?

Sent from my SGH-I777

ROM - ShoStock v3.0.2

Kernel - AJK v1.48-S
[BetterBatteryStats] chamonix:
Exchange and Wifi are your mail problems
[BetterBatteryStats] chamonix:
MAIL_SERVICE (com.android.exchange.Exchange Services)
[BetterBatteryStats] chamonix:
You should really read the FAQ and the how-to and then proceed systematically
[BetterBatteryStats] nomiko:
Can someone help me i tried 2 roms 2.3.4 stock and shostock3 rom on my mbl and both do not let mbl tk go into deep sleep

In 2.3.4 stock svnet causing kernel wakelocks and keep mobile awake throughout

While in shosstock3 boot_hsic causes wakelock and keep mobile awake.

i want to get rid of this. No matter how even if i had to uninstall modem

(Note:i have lost imei/baseband so i want to use phone just as an media device)
[BetterBatteryStats] Casanoaa:
See in faq about minimizing GSF wakelocks. In that post i have also a freezing list. Go freeze some apps.

Post 3 in this thread.
[BetterBatteryStats] mgs333:
my issues continue, earlier i posted the dump + dmesg. http://xdaforums.com/showpost.php?p=41010697&postcount=15933

i'm running the 'sensor test' app, and the orientation, accelerometer, magnetic field, gyroscope and pressure sensors are all constantly varying even when the phone is left alone. most of the values are very small changes. (i.e. orientation only varies by like +/- 0.2 or less. magnetic field varies by +/- 1, the gyroscope is however crazy, i'm seeing +/- 10 with the phone left on a desk)

same behavior after reboot.
[BetterBatteryStats] Karpfenhai:
Hey again, afais after a quick look, this keeps your phone awake:

"active wake lock smd_sns_dsps"

What does Google now about it?

... not much I afraid. Seems to be related to the kernel somehow.

What next? Take a full backup, do a factory reset, reflash the kernel, reflash the Rom, in that order, good luck.

Tapatalked from my Galaxy SII
[BetterBatteryStats] Red_Vex:
I've a bug..

I bought zooper pro widget, and placed a Battery meter on home and associated with launch bbs.

But when i launch it show me an error msg about "could not load from and to" and it show me no stats

Inviato dal mio GT-I9100
[BetterBatteryStats] miten_sheth:
Just out of curiosity.. how much do you average out on your battery Chamonix?

Sent from my SGH-I777

ROM - ShoStock v3.0.2

Kernel - AJK v1.48-S
[BetterBatteryStats] chamonix:
It depends... I today I run at 11% per hour playing ingress but on a normal day of use it is about 2,5 - 3 % per hour, in idle about 1,1.

An no I don't use any autostart or greenify, my rom is stock (currently on gnex) kernel as well.
[BetterBatteryStats] nomiko:
I tried that didnt work. Damn it. Funny thing the wakelocks only occur when i turn of the display. When the display is on it freezes :@

And just when the lock button is pressed the wakelocks gets activated
[BetterBatteryStats] leongzxc:
hi guys..

im currently having issues with my phone as i noticed my phone's battery life has been decreasing like crazy for the past 2 weeks.

about 40% per hour (dropping from a fully charged 100%) of usage with minimal light + wifi only

*my phone used to drop only 10% per hour but recently its dropping more than that.

anyway, i hope someone could help me look into the dump file and further advise me which application should be uninstalled..

even if its common apps like whatsapp, twitter, facebook, just let me know. :)

thank you very much guys! appreciate it!

EDIT: if i am missing any important information, please let me know as well.. thanks!

View attachment BetterBatteryStats-2013-05-04_223628342.txt
[BetterBatteryStats] miten_sheth:
Provide an idle dump.. charge phone to 100 and leave it untouched for 4 hours+ n post the dump..

Sent from my SGH-I777

ROM - ShoStock v3.0.2

Kernel - AJK v1.48-S
[BetterBatteryStats] leongzxc:
so the file i uploaded isnt the correct one?
[BetterBatteryStats] tojnk:
Disabled exchange syncing. But the battery still drains 17% in 1 hour.The phone only has 76% deep sleep.

The built in battery status shows high wifi battery drain, but BBS shows very little network traphic.

I am a bit puzzled .. the battery is brand new. Any ideas?
[BetterBatteryStats] Casanoaa:
I can see that exchange still is on..

Look for your network in dump and disable what you not daily.

Look in faq about minimizing GSF wakelocks. I have also a freezing list in that post 3 in this thread

---------- Post added at 06:01 PM ---------- Previous post was at 06:00 PM ----------

Have you frozen some apps with titanium backup pro.?
[BetterBatteryStats] chamonix:
Those are Wakeups and not caused by outgoing traffic but to your phone waking up on invoking multicast packets.

Check the faq about what you can do against that
[BetterBatteryStats] xtribas:
Hi, I have a battery drain of 5% an hour on my LG 4X HD. This "baseband_xmm_power" kernel wakelock look like its preventing it to enter deep sleep. I have 3 bars on network reception.

Can u please help me to solve this?
[BetterBatteryStats] Karpfenhai:
Thats a known LG issue, set your network operator to manual, see how it goes then. good luck!

.. Edit .. Furthermore the widget asking for a lot of data ( com.rdr.widgets.core.Android Pro Widgets ) could be a part of the problem, set your network mode either to 2g or wcdma only to prevent switches between different modes.
[BetterBatteryStats] xtribas:
thanx, going to try, will post results later
[BetterBatteryStats] post-mortem:
I didn't find anything about multicasting in the faq, OP, or your site.
[BetterBatteryStats] kozmo21:
As already said, this should be an idle dump. In your dump you have... Screen On (): 40 m 49 s (2449 s) Ratio: 20.2% ... this should be less than 1 minute, really only a few seconds.

Also, make sure to enable root features in settings so we can see network/alarms.

You can also use Gokhanmoral's Fast Dormancy app from Play store to get rid of FD wakelocks... "secril_fd-interface" (): 8 m 53 s (533 s) Cnt:(c/wc/ec)300/0/0 3.8%

Make another dump after doing the above and we can see what else can be done to help.
[BetterBatteryStats] chamonix:
What I was refering to is the topic "Q:I have high wlan_rx kernel wakelock. What is it and how to proceed?" of the FAQ in post #3
[BetterBatteryStats] oae08:
Guys can this app replace the autostarts app?

Check out "Disable Service" - https://play.google.com/store/apps/details?id=cn.wq.disableservice
[BetterBatteryStats] akarol:
It should. Don't know if it will be as reliable. Give it a shot. I didn't have much luck with Gemini.

Sent from my badass Samsung Galaxy SIII.
[BetterBatteryStats] Thomas_BA:
It seams so. Why do you want to replace AutoStart, it is very reliable.
[BetterBatteryStats] o0boiboi0o:
Autostart is reliable, BUT no support already. Latest update - 10 dec 2011.
[BetterBatteryStats] Thomas_BA:
1.7.7 (2012-08-14)

Only released on Vodaphone AppSelect. Removes root functionality.

1.7.6 (2012-07-30)

Only released on Vodaphone AppSelect. Removes the "Find in Market" option.

You can get the latest compiled version (Its free open source) on F-Droid.
[BetterBatteryStats] post-mortem:
The Autostarts F-Droid page is here.
[BetterBatteryStats] Thomas_BA:
I checked that app.

Loads very quick but it shows "rights" which i disabled with Autostarts as enabled.

More, enabling the "rights" with this app seams to have no effect, at least the changes do NOT appear in Autostarts, even after a refresh. Perhaps a reboot is necessary, don´t know..
[BetterBatteryStats] noobSU:
Can anybody confirm me my BBS dump file is fine or not? Wakelocks are still creating issues or not?

http://db.tt/bwPFCgnA

Im in love with my Galaxy S3. I dont need a girl friend now. Sent from Tapatalk 2
[BetterBatteryStats] thechaoz:
I am using1.12.. wondering what the most stable build is? A lot of time it doesn't register even when I see the super user notice pop up. .times are off etc

Using a note 2, doesn't have this on my old charge though I read using older version ...Thanks

Jelly beans 13 with Perseus kernel banging note 2 i-605
[BetterBatteryStats] post-mortem:
Since it's not working the way you'd like anyway, why not try the newest version? You can always go back.
[BetterBatteryStats] ICuaI:
THx for your great app :good:
[BetterBatteryStats] oae08:
Thanks! I downloaded autostarts now too.

Just wanted to ask is it safe to disable this service? What it will affect? And will it get rid of the wakelock GTALK_ASYNC_CONN_com.google.android.gsf.gtalkservice.AndroidEndpoint
[BetterBatteryStats] oae08:
This is what is shown in the other app
[BetterBatteryStats] Dblaster:
I don't think anything is bad with your battery.

You lost 0% in ~3 hours, with only ~2 min. awake time.

The wakelocks are fine too, as the max. wakelock time is for facebook, which is just 25 sec.

IMO, your battery is doing fine, you shouldn't worry about it.
[BetterBatteryStats] chamonix:
1.13.4 is latest (see thread title)
[BetterBatteryStats] Solar_:
Hey, I bought your app on the Play Store (u deserve it!) but I have one little question:

Do I need to leave my internet (2G/3G) on or off while letting it idle to collect a dump?
[BetterBatteryStats] Karpfenhai:
Nope, to get valuable results you shouldn't turn off anything except screen :D

Tapatalked from my Galaxy SII
[BetterBatteryStats] Casanoaa:
No idea. It is up to you when you play with system apps.

You can disable and see. If it goes wrong you can enable it again and share your experience.
[BetterBatteryStats] Dblaster:
If you want to disable the service, disable it and see if it affects any other google app.

I assure you that it won't do any harm to your device, but you have to check if any other app is affected. So after disabling it, use other gapps and see what happens.
[BetterBatteryStats] Korpblast:
Desperate with the battery drain.

Hi people,

I was told to post my dump file over here to see if someone has an idea of what's causing my battery drain. My phone is an Xperia Mini Pro SK17, with locked bootloader (not allowed to unlock), but rooted with DoomLord tools + Flashtools + XperiaRoot.rev4. The phone started to drain battery from one day to another, and I didn't do anything special to trigger it (the phone didn't fell or something, and didn't change any app that I remember). It's wasting aprox 10%/hr; the battery info says that the battery has over 4100 mV when fully charged and that's in good shape. I'm using OctanE v6 ROM (and have been using it for > 2 months), but I've already tried reflashing the ROM, even the stock 4.0.4 ICS to see if that fixes the problem and nothing (so it seems to be something unrelated to the OS itself). The phone stops draining battery when in airplane mode, but that obviously isn't a solution. If someone has an idea, please tell me to fix this.

I'm attaching the dump file+screenshots (fully charged and left without touching for > 6 hours).

Any, ANY help is welcome.

Thank you all in advance.
[BetterBatteryStats] tonyboy_23:
battery drain

Hi everyone having some big problems with my battery life hope someone can help. It started quite a while ago. I have been trying for several weeks to find out why but cannot. I installed BBS a few days ago and have enclosed a dump. This is actually one of the better results I have had. I believe it's maybe something to do with the svnet kernel as it often shows up at the top of the list. In this file everything looks quite normal but the awake time is a lot longer than the screen on time maybe this is causing a problem but I do not know what is keeping it awake. If anyone has any ideas please let me know I will happily take more dump files if they will help. Thanks in advance for any help Tony.
[BetterBatteryStats] Kitschki:
Hi i got a question..is there any alternative to juice defender? It saves battery and has awesome features, but it wakes way too much!
[BetterBatteryStats] Casanoaa:
No i think you should stop using battery apps like that. It harms more than it helps.
[BetterBatteryStats] wolfen1086:
Problen with 3. 6 install, first time it startedvgood, then locked uo at the lock screen. Heres what i did pre install : wipe cache three times, wipe delvk cache three times reboot recovery, install

what dud i do wrong?

Should i do a titanium backup of apps and a factory reset first?
[BetterBatteryStats] Szczepanik:
HTC HD2 60mA Battery Drain

Chamonix thanks for the quick reply. Yes this is an HD2 Windows Mobile but it is running Android - in my case from SD card so I can quickly and easily switch from WM to Android and back again. However the problem exists in lots of ROMs. For example see this post http://xdaforums.com/showpost.php?p=15322362&postcount=36

I cross posted your app to the same thread http://xdaforums.com/showpost.php?p=15924773&postcount=112

Any help you can give would be greatly appreciated. Although I have found an SD ROM with <10ma standby, there are a lot of others with this problem.

Cheers

Tom
[BetterBatteryStats] Szczepanik:
Nobnut thanks I will have a go and use Titanium Backup to freeze the two apps with "talk" -Talk 1.3 & Talk Back 2.6.0.

Cheers

Tom
[BetterBatteryStats] chamonix:
I wouldn't exclude a bug. Today I have had wakelocks with a tool I use since ages to sync my bookmarks with google bookmarks. First time I even saw a wakelock but it. Outcome: there is is bug on connection timeout and the wakelock is only released on the next sync try.

Now I don't say that handcent is buggy or anything, I just explain what I see. What I suggest from here:

- see if it reproduces

- if yes we wan assume the reason was not a stuck notification. Then test is it reproduces with a connection that is guaranteed stable (wifi)

- check the settings if you see anything that could generate data connections (to servers that may not always respond) and see if you can change that behaviour

- reinstall the app

If we are still doing wild guesses in a week I'm ready to install the app and try reproducing the problem or help you correlate logs to put something together that may help handcent fixing the problem.
[BetterBatteryStats] chamonix:
I I know it and I commented on what I like and what I like less in this thread. Thanks for the pointer anyway
[BetterBatteryStats] nobnut:
This is off the top of my head and may not be accurate. The first one should be fine if you don't use Gtalk. The second one is I believe a Text to Speech related app. It can read text back to you. If you freeze it, you might lose some functionality if you have apps that read you things back (emails, texts etc).

What you can also do is to stop apps autostarting. There are several apps on the Market which can do this, I use two different apps, but they are both paid apps. Have a look at some here.

By preventing autostarts, you keep the functionality of the app (it isn't frozen) but it can't start itself when you don't want it to ;)

Good luck!
[BetterBatteryStats] chamonix:
This reminds me of old times, lol.

I'd be happy to contribute if you have anything concrete in mind and running on raph (or you send me a device). My pref would be phhusson's kernel (maintained by stinebd these days I believe, build should be by babijoee) because I know their power management trace by heart. Any suggestion?

Now I don't have any drain figures in mind but I remember the battery lasting about 4 hours when I started using my raph with eclair (and was at about 20-24 hours when I bought my desire). Back then the problems were in the kernel not in userland (mostly) but things may have changed.

The question is I guess always the same: what prevents the phone from sleeping? whether it's wakelocks by apps or wakelocks / irqs that are not released correctly the game is the same: find the right log, analyse it, study the causes, remove or prevent them, test systematically. I'm a Java guy but I really had fun with kernels and learned a lot from the guys mentioned above.
[BetterBatteryStats] chamonix:
@nobnut: I can't say less than thank you for your hints and your support, you definitely deserved all my "thanks" today ;)
[BetterBatteryStats] nobnut:
Don't mention it ;)

Happy to help if I can. You do the hard stuff (coding), I'll stick to the easier stuff :)
[BetterBatteryStats] chamonix:
I wish I could code more and hang out with you guys. Unfortunately I'm working for a paranoid employer and do all sorts of stuff that are less fun than coding. But what the heck, I get $ for it and it finances my hobbies :)
[BetterBatteryStats] riotkid976:
My phone has been off the charger since 9am, and it is now 3:45pm. I'm sitting at a manageable 65% but handcent is reporting 1.2 hours on the same lock. for the first three hours of the day, i didn't touch my phone at all. the lock is not as bad as it was, but still not ideal.

I went through today and augmented the settings to as low as was tolerable with the exception of disabling the popup...

Also, i'm starting to glean from the app that my battery may have a capacity issue. My "time since charged" in this application hasn't cleared. Under that tab, i'm still looking at totals from yesterday in spite of the fact that I charged my phone to "100%" last night. The fix may be as simple as re-calibrating my battery but i wanted an opinion or two first.
[BetterBatteryStats] nobnut:
Just for the record, I'm an old HD2 user also ;)

They can get down to 3-5mA... BUT remember the devices are getting old now. Every time you put a charge cycle through your device it loses some capacity. After a Li-on battery has had about 350 charge cycles, it only has about 80% of its capacity left. The battery becomes much more inefficient over time.
[BetterBatteryStats] chamonix:
I have also noticed, that the charges status is not what I expect it to be but it may be a calibration issue here as well (I haven't cleared hist once since I have my phone and flash at any level).

Nevertheless I'm persuaded, that this has nothing to do with the wakelock report. There is no way what you see does not exist or the figures being wrong (I have compared the readings from BetterBatteryStats on a Froyo Desire with Spare Parts).

If you are confident that there's nothing wrong with your settings I can give it a try. Just tell me what version you use and I'll install it together with GoSMS
[BetterBatteryStats] riotkid976:
yeah, i just dug through handcent again. I don't use their online services, i don't even have auto retrieve mms on. I'm using version 3.9.7. I'll also give goSMS a spin and see if i get any locks there.
[BetterBatteryStats] Layio:
What is "AlarmManager". I don't have enabled any clock alarms. Running background non-system apps - BatteryLife (widget), K-9 Mail (synchro off), Calendar and Notes (widgets), Swype.
[BetterBatteryStats] chamonix:
http://developer.android.com/reference/android/app/AlarmManager.html

Alarm Manager manages intents to Be triggered at Specific Times. 5 hrs Sound Heavy for such a Duty.

I'd check the Widget refresh settings
[BetterBatteryStats] chamonix:
Completely OT but I can't resist. Who is the guy who coded that auto suggest on iPad, what Drugs was He on, and Why the Heck do I use that Device without Keyboard and even worse, with no Eclipse?

Do I Look like I enjoyed objective C?:eek:
[BetterBatteryStats] chamonix:
Ok my sgs2 has no eclipse neither but swiftkey x rocks and villainROM even more :)

</monolog>
[BetterBatteryStats] brandall:
Great to see this getting attention on general release and thanks for the mention in the OP :)

It's a fantastic tool and I expect your thanks meter will be reflecting that! Good luck with it!!
[BetterBatteryStats] chamonix:
as SGS2 I assume 2.3.5 so I would guess Wifi. There is a known problem where wifi keeps the phone awake (read a few pages back, we had a discussion whether that's a bug or a feature). Turn Wifi off and your problem should be solved, or try different awake policies.