yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Karpfenhai:
Im Sorry guys i was on Tapa, i didn't see your Phone type in the first place, maybe someone will make a port / a modded phone.apk for your devices.

@ Jason,

Here you go:

Even if you set K9 to push it will produce less wakelocks (push refresh set to 1 hour is fine):

You will find both options under settings -> account setting -> fetching mail.
[BetterBatteryStats] Ray_Grey:
is this possible>?
[BetterBatteryStats] MeWarning:
You can set wifi sleep to always on, only when plugged in, or never. It's in System Settings > Wifi then hit the menu button and hit Advanced. From there you'll see the wifi sleep options.
[BetterBatteryStats] Spinvis:
Thanks chamonix for the app, been using it for two days and discovered that my phone (S2) actually never went to deep sleep at all. Quickly fixed that and my battery live is much better, although not perfect yet, i will spend some more time researching and going through this topic to get it completely sorted the way i want it.

I'll also start running it on my Tab 10.1 to see what is happening there.

Anyway, thanks again for this really awesome application.
[BetterBatteryStats] xavihernandez:
Hi peeps,

I just want to share my dump file (after 1h34 of resting after unplug). If someone can help me to understand few things.

Like SMSDispatcher...

Also I'm under silent profile without any sound and I still got this AudioOut_1 wakelock, maybe someone got the answer why.

I have heard about multipdp, I'm using GTalk and received some messages during my device was resting, is it the reason why it appears?

I have sometimes Browser causing wakelock too.

I'm on CM9 with latest Siyah ICS for GT-I9100.

I don't know what to choose as google mail client: at the moment I use GMail app but sync is disabled, I enable it when I want to (sometimes, every 1hour or more), this to avoid high wakelock from Google sync. Do you think, guys, it is really better to switch to k9? And if yes better to fetch or to use push with 1hour idle refresh? (Better for battery naturally)

Anyways thanks in advance for any investigation.

And of course thanks for the application.

http://pastebin.com/0MxJvF56

EDIT: another question, has someone disabled fast dormancy by editing build.prop, and does it have a real effect on battery life?
[BetterBatteryStats] Karpfenhai:
Man your dump looks good, nothing to worry about!

the only thing you could spare is 1 minute from Fast Dormancy, before you disable it, check whether its supported by your carrier.

LPR modem may consume more power as it should, if you live in an urban area, try KI3 or KI4 Modem instead.

Using K9.. its up to you, there is no need if you are experienced to control the gmail app manually, maybe Llama can help and bring some automation into this.

4 sec Audio out? Really ? Thats perfect ;) Haptic feedback sounds and keyboard sounds, even lockscreen sounds are causing this, but, if you got a call / sms and a noise came out of your device, this would explain the 4 sec!

The gprs stall date points to bad network connectivity, switching to GSM Only may help on that.

Conclusion, Enjoy your phone! ;)
[BetterBatteryStats] xavihernandez:
Gonna a take a look at Llama thank you.

I had KI3 before (when I was on CM7) and it was working goo, I'll switch to it according to your advice.

About AudioOut_1 I didn't receive nor make a call. No noise from my device. All silent. It's the reason why I think it is weird.

My carrier support Fast dormancy, I will disable it.

What about SMSDispatcher? And multipdp wakelocks are due to GTalk?

Thanks for your answer.
[BetterBatteryStats] Karpfenhai:
wooh wooh, if your carrier supports FD, dont disable it!

for the other topics i dont have a reliable answer so lets wait for others to contribute ;) btw, i wouldnt worry about 4 sec within 1 1/2 hour ..

Nice whitsun to you guys!
[BetterBatteryStats] Tungstwenty:
Damn, searching for FD shows lots and lots of explanations about the power impacts, and opinion towards both enabling and disabling always with supporting arguments :confused:

First of all, is there any way for one to confirm whether the network (+ location, I guess) supports FD? logcat, dmesg, even symptoms (e.g. frequency of H+ symbol changing)?

Also, what do you guys recommend? Doing all combinations of modems and FD on/off and leave each of those for a couple of days?

I was hoping for something more assertive, but if not, i guess don't fix what doesn't seem to be "too broken" :)
[BetterBatteryStats] xavihernandez:
Well FD wastes battery as I have understaood since when not using connection for 7sec it switches to UMTS. Imagine you are surfing on the web and reading some things. Or just when reading here, when you jump to next page it has to switch to H again. This is supposed to save battery juice, but IMHO it does not do that in lots of situation.

Btw it seems that nothing has changed even after adding ro.ril.fast.dormancy.rule=0 to build.prop and rebooting.

Too bad time is not a trigger in Llama, you can only set a range.

EDIT: actually it's more 2-3sec and not 7.
[BetterBatteryStats] Tungstwenty:
What about a scenario such as:

Phone idle most of the time, but with gmail in push mode (a connection always open, I presume, but with short bursts of activity to receive notifications or even keepalives)

In this case would H+ be activated, and if so, wouldn't it be best if it dropped back faster (7s) instead of 30s?
[BetterBatteryStats] xavihernandez:
Well really dunno, but I think 30sec is acceptable. Mine drops in 2 seconds from H (+?) to 3G. Its too fast for me.
[BetterBatteryStats] fsrkewd:
My log shows that alarmmanager is keeping my phone awake. Does anyone know how to determine what causes it?

Here is my log http://pastebin.com/Jc5QKSf6
[BetterBatteryStats] gaui:
Yes, under Alarms are all the alarms that wake your phone up.
[BetterBatteryStats] Ray_Grey:
Hi guys,

Just looking for some feedback on this idle dump i took last night - 7hrs 31mins

http://pastebin.com/MfuPqS0d

I've no idea what that foursquare entry is as i've never used it!

I have a Samsung GS2 and am running 4.0.3 with a SIN_LP9 kernel.

I generally leave wifi on all the times as i have a wireless network at work & home.

I think the log looks ok to me, whatsapp and sugarsync have a few alarms but other than that, any tips, suggestions?
[BetterBatteryStats] gaui:
Seems ok, but if you idle your phone a lot I would personally put WiFi sleep policy to "When screen turns off".

Could also help to set static IP (modify WiFi SSID and tick in "Advanced options" and there you can change from DHCP to Static)

Also I would not use Exchange as it drains too much. I would recommend K-9 Mail with IMAP instead.
[BetterBatteryStats] chamonix:
You should be more worried about your phone not sleeping at all. This is not caused by wakelocks but probably related to a kernel / sensor issue
[BetterBatteryStats] chamonix:
This time it is very obvious. Now there is no reason for maps to behave like this and it is weird as well that freezing maps has side effects on your keyboard (my maps is frozen except when I need to use it).

Have you frozen anything that may cause maps to behave like that?

Is the wakelock present also when wifi is off?
[BetterBatteryStats] Flomaster:
When I went to bed last might at midnight

I had 79% when I woke up only 33% here is my dump

http://pastebin.com/tvXaTDDi

-=Jason=-

sent from my Gnex via Tapacrap
[BetterBatteryStats] strobolus:
DownloadManager media - I can't figure this out

I have been using betterbatterystats for some time and I was able to identify all battery draning apps / processes.

Yesterday I flash Apex 1.1.2 to my Galaxy Nexus

restored my titanium backup

And there is a DownloadManager process started by some app which is draining the battery.

I can't figure out what it is and if I stop it automatically re-starts right right away.

I took some screenshots below

Any help would be greatly appreciated!

Thank you!
[BetterBatteryStats] o0boiboi0o:
Anyone know what causes 'SyncLoopWakeLock'?
[BetterBatteryStats] gaui:
I think it's a signal issue. Your phone tries constantly to get a signal and drains because of that.

Maybe someone else has an explanation.

FireFox is in beta so I would first try to remove that and see if it fixes the problem.

Also I don't like this CSip app.

But if that doesn't fix it, get Shark for Root from Play Store and let it run for a whole night and read the log with Wireshark on your computer. There you can see what network activity is going on, so if the phone is downloading/uploading something, you can track down the destination and from that you probably can see the manufacturer of the app.

It's the syncs you got under "Accounts & sync". They are scheduled and while they are syncing it causes a wakelock loop. Try to disable them and check if it fixes the problem.
[BetterBatteryStats] KC Boutiette:
Hi chamonix, thanks a lot for your information!

I have some questions though, you say it is obvious maps behaves like this. I think the same, but have no proof. Are you sure google maps is causing my wakelock problem? Do you have proof? Can you read that from the log? That would narrow down my search a lot :D

About freezing other apps; the keyboard problem is also there when only maps is frozen. By the way, I call it freezing but use the app: App Quarantine from the play store. I believe it does exactly the same but I am no expert. Could this be the cause of my keyboard problem?

About wifi, I always have it on so I dont know if this happens as well when it is off, but I can try.
[BetterBatteryStats] o0boiboi0o:
That's weird. I did not enable the sync to be auto. I manually sync them. Was wondering why this wakelock appeared. Hmm...
[BetterBatteryStats] Flomaster:
Sounds about right, I get spotty coverage at home and at work. I'll have 4G one minute and the next I have nothing. I hate living in the sticks

-=Jason=-

sent from my Gnex via Tapacrap
[BetterBatteryStats] chamonix:
German members can now enjoy the online doc in german: http://asksven.github.com/BetterBatteryStats-Knowledge-Base/help_de.html
[BetterBatteryStats] jonneymendoza:
please can anyone tell me whats the issue? it seems be based on the baseband_xmm_power?

what the hell is that?
[BetterBatteryStats] gaui:
Don't know. But I would recommend turning off your GPS and network location when you're not using it.

Also Poweramp is behaving badly, try to remove it and check if it exrends battery life.

Also it wouldn't hurt to flash ClockWorkMod and flash another radio/modem. Not sure if you need root to do that. Wouldn't hurt.
[BetterBatteryStats] stask1:
Hi.

I have Litening ROM v.3.2 with XXKI4 Radio and LitePro v.3.2 Kernel, on ATT network in NYC. Battery is about 10 months old. Tried different combinations of ROMS/Radios/Kernels but this looks like the most energy efficient one, but I still getting around 1%/hour or 10-20mAh battery drain. I left the phone idling (no phone calls, stand by with Data and GPS toggles ON). According to CPU spy I got 89% of deep sleep , 5% of 200Mhz, 2% of 800Mnz and 1% of 1200Mhz for the last 6h and 45 minutes. I attached BBS and Battery Monitor dumps. Please help!!!
[BetterBatteryStats] mmm286:
Hi

I have about 2 hours of multipdp process. That's normal?

Many thks and sorry for my english
[BetterBatteryStats] jonneymendoza:
Ok looks like i will have to get rid of poweramp then. i will see how the battery life is liek tomorrow after removing it.

any alternative apps i can use for music?
[BetterBatteryStats] gaui:
http://xdaforums.com/showthread.php?t=1665441
[BetterBatteryStats] Karpfenhai:
Go weather and battery monitor widget are your problem, anything else looks quite normal to me.

Tapatalked from my Samsung GT9100
[BetterBatteryStats] hadi_rena:
Hi guys I want to ask something about PRE_PARTIAL_WAKELOCK_xxxx caused by AlarmDroid app, but I don't understand what is that ? At first I think it'll caused a lot of battery drain so I try another alarm app (alarm clock plus) and the result there is no PRE_PARTIAL_WAKELOCK_xxxx.

Ok I'm happy that there is no PRE_PARTIAL_WAKELOCK_xxxx but i didn't see any difference in battery usage :confused: even I'm using alarmdroid with a lot of this the battery usage is still low... can someone expert explain to me ?

I attached dump file while I using alarmdroid
[BetterBatteryStats] killian32:
Hi guys,

How can I understand which app is using svnet-dormacy or powermanagerservice ?
[BetterBatteryStats] gaui:
I saw this in my logcat:
[BetterBatteryStats] logrej:
Hi to all,

I have huge batt drain, and trying to find out why. Phone even in flight mode doesn't go to deep sleep (only about 9%). I have changed many stock roms, all the same. Installed Siyah kernel, nothing changed. Tried GB (2.3.6, 2.3.5), again the same. Only with 2.3.4 with my csc there is normal batt use (but that rom have some bugs, so I don't want to use it, and I would like ICS). For week+ I have tried to understand batt stats but still cant find problem. New to this, so can someone read this stats for me. It is only 2,5 hours, but it is all the same through 7 hours that my batt lasts. It is constantly using cpu...

Maybe to full wipe rom and kernel and instal stock? (How to full wipe rom and kernel?)

Thanks...
[BetterBatteryStats] DanRZ:
Edit : Sorry i moved my question somewhere else, not a BetterBatteryStats issue ...
[BetterBatteryStats] listentochaos:
Can someone with more battery knowledge than me take a look at these logs and see where im ****ing up. Only getting 1.5 hours screen time :(
[BetterBatteryStats] gaui:
com.google.android.apps.maps (): Wakeups: 259

This seems to be your biggest problem. I see a lot of "Network Location" as partial wakelocks. Try disabling GPS and Network location under "Location services" :)

---------- Post added at 04:19 PM ---------- Previous post was at 03:50 PM ----------

@chamonix I saw this in my logcat and I don't even have a widget:
[BetterBatteryStats] cordell12:
Not sure if its been noted yet, on the HTC Evo 3D I get a different look than what is in OP. I attached a screen shot...

I havent had a chance to play with the app much but there are a LOT of stats this reads, awesome work. Thanks!
[BetterBatteryStats] Szczepanik:
Chamonix, Thank you and Nobnut for the new graphics. Could not find it in Market yet...

Cheers, Tom
[BetterBatteryStats] nobnut:
I think this is the last version before Chamonix unleashes his beast (excuse the pun) on the Market.

@Chamonix, I pm'd you the updated graphics. There are 512, 256, 128 & 76 versions. I also included the original .psd (Photoshop) file if you needed it.
[BetterBatteryStats] chamonix:
Could you please post one showing the bars in the "partial wakelock" section. It is correct that the bars are not in the op because I Haven't updated the screenshot yet but in the bars you are supposed to see a percentage (or I have a problem with density/resolution that would require a closer look)
[BetterBatteryStats] chamonix:
Awsome! one step more towards completion of the release :)
[BetterBatteryStats] cordell12:
Same thing in Partial Wake Lock, this is in Evo 3D. Resolution is 540*960 with qhd display. Density is 240, so it may not be displaying properly on the Evo 3d but correctly on others?

Thanks
[BetterBatteryStats] dzontra11:
You mean my wifi is bad or 3g?
[BetterBatteryStats] nobnut:
For information, displays just fine on my Flyer...

Sent from my HTC Flyer using vodka
[BetterBatteryStats] nobnut:
3G... relax.

Sent from my HTC Flyer using vodka
[BetterBatteryStats] Irish Whiskey:
The graphs look nice, but never see the colored lines on mine.

rooting is fun.
[BetterBatteryStats] nobnut:
I think Chamonix is looking into it. I'm sure it won't be long for the fix ;)

Sent from my HTC Flyer using vodka
[BetterBatteryStats] thekayman:
same with me no graphics on the bars' I have the Desire HD
[BetterBatteryStats] thekayman:
my battery has been draining a bit lately and when I look at partial wake locks I notice the first few are to do with mail ( I have exchange email sync every 10 mins) so that should be normal I assume but the one that makes me question is GTALK_ASYNC_CONN it seems to be coming from Google Talk I checked to make sure I was signed out and no auto sign in but it still keeps on coming up even after reboot etc.

I checked my apps under market and I couldnt find it, I checked under appbrain and couldnt find it (wanted to see comments and if there were updates), it does however exist under all apps in manage apps on my phone however, its listed as Talk version 1.3

I tried searching the market for talk and couldnt see the google talk version I have?

anyone have ideas why it is taking wakelock?
[BetterBatteryStats] R3wt3d:
I've been looking why my Atrix is not going to deep sleep and found out that AlarmManager is almost running always.

So I saw in this thread I think about dumpsys alarm > /sdcard/dumpsys.txt

and wanted to analyze what software keeps always up the system.

But i have no clue how to read the log lol.

So I googled around and found something which *might* help us reading...let me share with u...

https://github.com/nagamatu/AlarmDumper

apk is here (u need root) http://cloud.github.com/downloads/nagamatu/AlarmDumper/AlarmDumper.apk

It shows up a nice screen with 3 tabs on it...but still have no clue how to read it lol.
[BetterBatteryStats] JVogler:
Figured I would post this again, and maybe some new eyeballs would see it who have the same thing.

I'm still getting something just labelled 'X' as my main battery drain. I had previously thought it was actually supposed to read 'Android OS' but now I'm seeing Android OS along with X on the same battery draw lists. So it's not Android OS, like I thought. Anyone with any other ideas what it might be?

I can't find anything App or System related that is X, so pretty lost on this one still. I'm getting less than 6 hours a charge though, with light use.
[BetterBatteryStats] ithehappy:
I use it regularly and don't have it in Wakelock for more than 30-40 seconds. But I always press Sign out to Exit the app. And also I have disabled the option of Automatic Sign in, don't know if it helps anything or not.

Regards.
[BetterBatteryStats] nobnut:
If you don't use it, grab Gemini App Manager (free) from the Market and find it in the list and prevent it from Autostarting. I posted some instructions here.

Many users who don't have Gtalk installed still see this problem. As long as the partial wakelocks are measured in the seconds, or low minutes per hours of use, then don't worry about it.

Thanks for sharing, I'll have a look at it later.

To reduce the AlarmManager partial wakelocks, if you can, avoid using alarms (or at least uneccessary ones) and also reminders in your calendar. If you need them however, unlucky... or maybe try a different calendar/reminder program.

It is possibly/probably 'Android System' as opposed to 'Android OS', which is being misreported. Depending on which device you have, it may show different readings at different times. For example, on the SGSII, sometimes they both show very high values, other times they show low values and sometimes, 'Android System' (or 'X' in your case), doesn't show at all. Many people believe that there is a 'bug' causing high readings which leads to battery drain. This is not true however. I have studied this extensively and can state for a fact that high readings do not correspond to high drain. If there is drain, then it is somethnig else which is causing it on the user's device.

If it is really bugging you, then you could backup and reflash your ROM, or maybe another ROM and see if this 'X' either disappears or starts to be reported as 'Android System'.
[BetterBatteryStats] ithehappy:
Is this Autostart related with rebooting the device? Or an app could be started at any time without a reboot?

Asked because I rarely reboot the device, so trying to find out if it's needed for me or not.

Regards.
[BetterBatteryStats] nobnut:
You have to reboot the device for the change in autostart permissions to take effect if that is what you meant.

But restarting the device has little to do with apps autostarting. For example, in the screenshot below, you can see that apps can start by themselves under many circumstances. Just a few are:

1. On boot

2. On power connected

3. On call received

4. On state change

5. On application installed

The above are just a few of the many instances of when an app can start by itself. If you only use the app once per week for example, then just by turning the screen on, or plugging in a cable (just two examples), this app may start up and then be held as a process/service, or be held in RAM just using up battery.

If you have any such app, to me at least it makes sense to take control over when it starts and then stop it when you are finished with it. By doing this you can significantly boost you free RAM at any given time. I used to have between 300 and 375Mb of free RAM available. I now see no less than 500Mb at any time and over 600Mb on first boot. Screenshot below:

It is relevant to anyone who has apps with autostart permissions on their devices... so 'yes' it is relevant to you and everyone else ;)

EDIT: Something else to bear in mind... if the app isn't running in the background (or foreground), then it can't cause partial wakelocks!! ;)
[BetterBatteryStats] ithehappy:
Well I got you. Now the thing is which apps should I stop from Auto Starting? I see some apps/processes running on background, like- DRM Content, Settings, Task Manager, Maps, Email, Swype, Social Hub etc. Now some of them are system processes and can't be stopped, so I'd like to know which ones I can stop from auto starting?

I know this part ;)

Regards.
[BetterBatteryStats] NoSpamDan:
Could someone please take a look at my log? I left my phone after unplugging it for some 4 1/2 hours, and it seems that it didn't sleep well... There is a lot of time related to wlan stuff, and a lot of kennel usage.

Thanks!
[BetterBatteryStats] gaui:
Your dump doesn't work.
[BetterBatteryStats] NoSpamDan:
Hi gaui, could you be more specific? The link doesn't work, or did I do something wrong?

I'll try attaching again to this message...
[BetterBatteryStats] jonneymendoza:
i guess no one knows what this baseband crap is? still eating my battery for breakfest
[BetterBatteryStats] Karpfenhai:
This time the dump works :)

Wlan and location services are your main issues, disable all location based services, especially "Use wifi" for location. Try to find a better router setup, read some pages back for hints.

Gaui, do u see some more? :cool:

Swyped from my GT-I9100 using XDA App.
[BetterBatteryStats] chamonix:
looks like some interface module between kernal and modem: https://bitbucket.org/ergoen/star-newk-36/src/c17183077093/arch/arm/mach-tegra/baseband-xmm-power.c

What does your kernel thread say?
[BetterBatteryStats] chamonix:
Go weather is keeping waking up your phone: this is a known issue, switch to another weather widget from some dev who knows what he does
[BetterBatteryStats] chamonix:
There is now way to tell as this is closed source. You should contact the dev
[BetterBatteryStats] chamonix:
Read more here: https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/svnet-dormancy

PowerManagerService is the service managing wakelocks so it is used by any app requesting / managing wakelocks. As the powermanager service manages wakelocks in the name of apps those should be listed in partia wakelocks
[BetterBatteryStats] chamonix:
The only thing your stat shows is that your phones does not sleep. There is no reason for that high time not sleeping. The ROM is not the cause of that so you should search for another kernel.

Villain ROM work great on my S2