yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] tonyboy_23:
edit: ok so bizarrely it seems that you can't send attachments using the xda app?? does anyone know different??

Locke attached here.
[BetterBatteryStats] miten_sheth:
Use dropbox..

Sent from my SGH-I777

ROM - ShoStock v3.0.2

Kernel - AJK v1.48-S
[BetterBatteryStats] tonyboy_23:
Good idea why didn't I think of that lol
[BetterBatteryStats] Rapture Veteran:
i cant seem to get a "pretty" log of my battery stats so i took some screen shots with airdroid. im experiencing major battery drain right now, i asked this same question in the thread of the rom i have, figured i would post here too and see what i get back
[BetterBatteryStats] post-mortem:
Tap the Send To button in the corner (like a triangle), select Text Dumpfile, and save. The file will be /sdcard/BetterBatteryStats*.txt.
[BetterBatteryStats] Rapture Veteran:
?

that may not be enough information though i just cleared my cache and fixed permissions to see if that did the trick. ill probably have to wait a few more hours for a more accurate log.
[BetterBatteryStats] FabFabP:
thanks for this great tool :)
[BetterBatteryStats] jeff5347:
Just curious. I'm running 1.13.2 and after the phone has been in deep sleep or any screen off I can't get a screen off reading. Just boot, unplugged and charged. I have it set up correctly as its been the same as I've always run it and used to b able to see screen off stats. I ran the las test v also but still no screen off. How else should I set it up?
[BetterBatteryStats] Thomas_BA:
Well now i have updated to jelly bean 4.1.2 time to check again my battery and wakelogs.

Charged the battery to 100% and left it alone for about 10 hs.

It seams that i have some very high Kernel Wakelogs. Deep Sleep is also not very high ;)

- Wifi was off

- Frozen or disabled nearly all Google apps. Only Maps, Google Googles survived the elimination. Disabled Latitude, Location, etc.

Here some of the highest wakelocks:

FDCompleteTime (Phone): 37 m 58 s (2278 s) Count:905 6.4%

"PowerManagerService" (): 54 m 37 s (3277 s) Cnt:(c/wc/ec)2027/0/0 9.3%
"spi_tty_wakelock" (): 53 m 32 s (3212 s) Cnt:(c/wc/ec)948/0/949 9.1%
"bpwake" (): 29 m 18 s (1758 s) Cnt:(c/wc/ec)1283/140/1282 5.0%
"radio-interface" (): 25 m 39 s (1539 s) Cnt:(c/wc/ec)1365/0/0 4.4%
"uart_wake_lock" (): 18 m 4 s (1084 s) Cnt:(c/wc/ec)1405/0/1405 3.1%
"vril-moto-dlst-atcmd" (): 4 m 38 s (278 s) Cnt:(c/wc/ec)7226/0/0 0.8%
"alarm_rtc" (): 2 m 10 s (130 s) Cnt:(c/wc/ec)218/0/68 0.4%
"suspend_sync" (): 1 m 18 s (78 s) Cnt:(c/wc/ec)1234/0/0 0.2%
"alarm" (): 22 s (22 s) Cnt:(c/wc/ec)697/348/0 0.1%
"cpcap-irq" (): 3 s (3 s) Cnt:(c/wc/ec)979/70/0 0.0%
"vril-moto-unsol-atcmd" (): 1 s (1 s) Cnt:(c/wc/ec)1844/0/0 0.0%
"vril-moto-mdm-qmi" (): (0 s) Cnt:(c/wc/ec)452/0/0 0.0%
"KeyEvents" (): (0 s) Cnt:(c/wc/ec)956/0/0 0.0%
"mmc2_detect" (): (0 s) Cnt:(c/wc/ec)644/0/0 0.0%
"mmc1_detect" (): (0 s) Cnt:(c/wc/ec)276/0/0 0.0%

Even i have to say with Gingerbread i had 2,5% battery lost and with Jelly Bean only 2.0%

I had the Google framework and Maps edited with Autostarts before but i had the same high wakelocks. The attached log is without editing Google Framework and Maps as it did not made any changes regarding the high wakelocks i have.

Any suggestions?
[BetterBatteryStats] pistoke:
Do you have a weak mobiledata signal? I think that's one reason to battery leak. Keep it off as much as you can. Also change BBC news app's and exchange's settings so they'll use less data.
[BetterBatteryStats] jeff5347:
No one?
[BetterBatteryStats] kozmo21:
Did you enable watchdog?
[BetterBatteryStats] tonyboy_23:
Thanks for the idea. I am thinking that perhaps the only problem I have left is the svnet kernel causing wakelocks.

Something else I don't understand is why the phone is awake for about 30 minutes when the screen on is only about 1 minute or so. As I said the kernel wakelock is the problem I think but I'm not sure. I have already changed my modem tip what is apparently the best for battery.

Is this a normal looking dump file or is there still room for improvement?

Cheers, Tony.

http://db.tt/MtyiNx2W
[BetterBatteryStats] Karpfenhai:
Hey Tony, svnet clearly points to network traffic (aka multidpd on newer devices) responsible in your case is Facebook and exchange, so it's up to you to adjust this.

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] tonyboy_23:
Aah ok thanks for that.I thought svnet was to do with phone signal. What is multidpd? And what can I do about exchange? Not even sure what it is to be honest
[BetterBatteryStats] esrom02:
Can you help me with this? Especially with Kernel Wakelock and that AlarmManager.. thanks..
[BetterBatteryStats] It_ler:
You know your main culprit: Maps !

FaceBook is also active on your phone.

And you should disable bluetooth, if you don't need it.

The rest seems quite alright.

Good luck !
[BetterBatteryStats] zipkicker:
Thanks, I have a bad habit of keeping Bluetooth on during the week, also related to my job...

I have all fb sync options off, so I'm not sure why that's popping up.

Is there anything I can do to settle maps down without losing my latitude?
[BetterBatteryStats] It_ler:
Yes, Karpfenhai made a nice description of how to optimize Maps.

Link to it is in post #3.

You can disable some autostarts for Maps ... just give it a try and check if Latitude will still work correctly.

Good luck !
[BetterBatteryStats] YoCs Studio:
thank you!
[BetterBatteryStats] zipkicker:
Thanks! I'll get right on it..have a great day!
[BetterBatteryStats] iridescene:
Hi can anyone help check what's with the high idle drain? Thanks!

pastebin. com/xxfjPVm5

Sorry can't post links yet. Pls remove the spaces

Anyway, this only happens on wifi and suspend_backoff seems to be the main contributor.

One more thing is that AlarmManager (android system) has like 276 counts in like 30 mins. Is this normal?
[BetterBatteryStats] jeff5347:
I didnt. Thank you very much
[BetterBatteryStats] rignfool:
You can try one of Sven's other apps... ALTitude...
[BetterBatteryStats] iridescene:
Here's the dmseg. Hope someone can help me with this..
[BetterBatteryStats] pokedroid:
Hey all, my phone has gone through some pretty drastic changes in terms of battery life. I've heard that hsic wakelocks are a common nuisance, and that HTC has done a very good job with their kernel development is squashing them. However it's the biggest one on my phone next to wifi wakelocks. Does anyone see anything in the log that might help me reduce either of these?

P.S. I see on here that it's common practice to disable wifi, sync, mobile network in some cases, etc. I chose not to do that because this radio setup is how I will use my phone so I would be curious to see if I can make any improvements on these areas as well.

Thanks to all that can look this over and/or shed some light on these aspects too. I'll do my own research on hsic locks, but wifi troubleshooting and anything else would be over my head right now. So clarification would also be welcome, so I can learn.

http://db.tt/yNQ9KWEx

http://db.tt/kBfko5Yl
[BetterBatteryStats] It_ler:
Your main battery drainers are:

1. Facebook

2. Viber

3. WhatsApp

And Twitter is als active on your phone.

Think about disabling/freezing the apps you don't need, or try to greenify these apps.

Then check your battery life again.

Good luck !
[BetterBatteryStats] and8res:
Hi guys

What is the causative of these wakelocks ?

I mean ones with the question mark

Thanks in advance
[BetterBatteryStats] post-mortem:
Did you know you can tap on the question mark? It brings up a help page with information about the relevant wakelock.
[BetterBatteryStats] pistoke:
The reason why I asked about signal was gprs stall:

com.android.phone (): Wakeups: 63

Alarms: 62, Intent: com.android.internal.telephony.gprs-data-stall

Here's more about it:

http://code.google.com/p/android/issues/detail?id=35856

Weak signal -> more errors -> more data needs to be downloaded again -> svnet is more active (or something like that. :p )

Here's about setting up Exchange. http://www.techrepublic.com/blog/smartphones/set-up-an-exchange-account-on-your-android-phone/1581
[BetterBatteryStats] Casanoaa:
L2_hsic, multipdp and deleted wakelocks (Wifi activity) is caused by apps which constantly activates your phone and it is all network related activity in background.

You have to provide an idle log. Unplug and leave phone 4 hours without touch and dump a file. We have to see that dump for analyze.
[BetterBatteryStats] tonyboy_23:
Thanks for the reply :)

My mobile signal does drop out quite often when I am playing games like miniclip pool or whatever.

Like that link u posted days the signal seems fine and strong then all of a sudden drops out and connection dies.

I already tried a new radio but it didn't help. Any idea what I can do?

I'm running CM10 4.2.2 latest nightlies
[BetterBatteryStats] habylab:
Hi there, any help will be appreciated. Also received a calendar provider 240 alarm just now, googled around and it was a S2 problem, but is it an S3 issue? I'll see!

Thank you.
[BetterBatteryStats] Karpfenhai:
Sorry mate but you didn't read the op with care.. this dump does not help, we need an idle one to divide user caused from background activity.

Tapatalked from my Galaxy SII
[BetterBatteryStats] habylab:
I'm going to be honest and say I have read the OP and thought this was one, but it is such a pig to upload files from my phone. Can't with the app, so I didn't check when I transferred it over. May do one later. Thanks.
[BetterBatteryStats] Hk.Tang:
Battery drain ? Deep sleep battery drain ? Even airplane mode was on.

Hi everyone. After all I tried removed all UCCW widgets, Flashed back to 4.1.2 (stable, battery friendly for me I used before) from 4.2.2 .

The battery drain issue still here. I so MAD of it :mad:

Here is the BBS log.

Is it my phone battery was dead and need use new battery to try? Or is it hardware problem ? :(

What should I do ?

[MENTION=1330150]chamonix[/MENTION] / Anyones?
[BetterBatteryStats] pistoke:
I think you're right. You need a new battery. I didn't see any apps, which could cause the drainage, in your dump. Of course there's a small possibility it's a hardware problem or something else, but I'll vote for battery. :)
[BetterBatteryStats] Hk.Tang:
Thanks . :good:

Anyones still got any opinion? :rolleyes:
[BetterBatteryStats] It_ler:
You are on XXLPQ ?!

Try to flash the latest JB ROM available for your phone, ATM XWLSS.

Then give your battery stats chip some time to settle down and check again.

If the battery drain with such good deep sleep ratio will still be so high, then it really seems to be a "bad" battery.
[BetterBatteryStats] andrewilley:
My battery drain is not terrible, but since installing JB 4.2.2 (I was previously on ICS 4.0.4) it does seem to go down rather quicker than before.

I've got a few things which make periodic checks on the network - Aqua email, Hootsuite, etc. - but then those sort of things are what makes a Smartphone smart!

I think I'll turn off syncing for the native Facebook and Twitter apps as they really just duplicate Hootsuite. Also I'm not sure why so much Google maps activity is going on when the phone was just sitting idle on a table at home with GPS off.

Any suggestions for things I could improve without losing too much functionality?

Andre
[BetterBatteryStats] Hk.Tang:
ATM XWLSS ?

What's ROM you suggest then ? :confused:

But the way, I'm used 4.2.2 Rootbox with nightly before I flashed 4.1.2 . The issue still same.
[BetterBatteryStats] It_ler:
I recommend to check on stock ROM.

You may use official Sammy ROM from here or just try the same ROM I am using right now > XWLSS NeatROM Lite v4.7 (which is stock ROM, but deodexed + removed bloatware + some nice features) ... link is in my signature.

Good luck !
[BetterBatteryStats] Hk.Tang:
Thanks your suggestion. I gonna download the NeatROM and take a look on my battery drain :)

TAKE CARE
[BetterBatteryStats] and8res:
Should I keep wifi on or off ?
[BetterBatteryStats] cajunflavoredbob:
Hey guys. Dump is attached.

Everything was working fine up until last night. My normal battery drain overnight is about 4–8%. Last night it was 64%. The culprit appears to be mdm_hsic_pm0, which accounted for about 90% of the total drain.

After reading, not much information seems to be available about this particular wake lock. It does seem to be ROM related, though.

All my radios were off overnight except cellular.

http://www.dropbox.com/s/jz6v67k65llzm6b/BetterBatteryStats-2013-05-09_083759317.txt
[BetterBatteryStats] Casanoaa:
On
[BetterBatteryStats] rignfool:
For me... tons of calendar wake locks was caused by 'android pro widgets'...

I greenified it... since I only scheduled a daily update... and the only drawback is the date don't change until I manually refresh it... but... it took my wakes and alarms down dramatically....
[BetterBatteryStats] Casanoaa:
Start with disabling auto update autosync Google Play.. Disable all auto updates in all these apps. If you not use em daily disable them too.

Look for post 3 in this thread I wrote about how to minimize GSF wakelocks. In that post you can see what apps you can disable.

All this makes that mdm_hsic_pm0 kernel wakelock:

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

Network (requires root)

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

10059 (Mobile) (com.android.vending.Google Play Store): 11.0 MBytes 57.5%

10053 (Mobile) (com.google.android.apps.plus.Google+): 1.0 MBytes 7.0%

10043 (Mobile) (Google Services): 1.0 MBytes 6.9%

10073 (Mobile) (com.dropbox.android.Dropbox): 1.0 MBytes 6.3%

10125 (Mobile) (com.texty.sms.MightyText): 1.0 MBytes 4.9%

10111 (Mobile) (in.vineetsirohi.customwidget.UCCW): 866.0 KBytes 4.1%

10106 (Mobile) (com.webascender.callerid.Current Caller ID): 724.0 KBytes 3.4%

10060 (Mobile) (com.google.android.googlequicksearchbox.Google Search): 564.0 KBytes 2.7%

0 (Mobile) (0): 480.0 KBytes 2.3%

10046 (Mobile) (com.google.android.gm.Gmail): 438.0 KBytes 2.1%

10108 (Mobile) (com.dotsandlines.carbon.Carbon): 203.0 KBytes 1.0%

10071 (Mobile) (com.copy.Copy): 162.0 KBytes 0.8%

10082 (Mobile) (UID): 97.0 KBytes 0.5%

10158 (Mobile) (com.quoord.tapatalkpro.activity.Tapatalk): 31.0 KBytes 0.1%

10025 (Mobile) (com.cyanogenmod.lockclock.cLock): 28.0 KBytes 0.1%

10047 (Mobile) (com.google.android.syncadapters.calendar.Google Calendar Sync): 27.0 KBytes 0.1%

10076 (Mobile) (kik.android.Kik Messenger): 24.0 KBytes 0.1%

10051 (Mobile) (com.google.android.music.Google Play Music): 12.0 KBytes 0.1%

1000 (Mobile) (Android System): 11.0 KBytes 0.1%

10056 (Mobile) (com.google.android.apps.maps.Maps): 8.0 KBytes 0.0%

10048 (Mobile) (com.google.android.ears.Sound Search for Google Play): 5.0 KBytes 0.0%
[BetterBatteryStats] cajunflavoredbob:
Thanks. Weird how that changed pretty much overnight from amazing battery to crappy.
[BetterBatteryStats] Karpfenhai:
Not today, I'm just sitting on my balcony enjoying the sunset with a nice glass of 18 years old single malt and a cigar celebrating today's public holiday called "Fathers day".

Since you are from UK I guess you appreciate a good whiskey as much as I do.

Cheers!

Tapatalked from my Galaxy SII
[BetterBatteryStats] -earth-:
Thats's the right way! :D
[BetterBatteryStats] It_ler:
:D

Nice one :good:

P.S.:

I know it more than "Father's Day" or "Ascension Day" ... but I am a father and Catholic :angel:
[BetterBatteryStats] Casanoaa:
I am almost father guys. My son is on the way. I would share this with you my friends. I didn't know anything about fathers day. :)
[BetterBatteryStats] post-mortem:
Trust me, you're gonna know all about Mother's Day.

:p
[BetterBatteryStats] sirxdroid:
sns_async_ev_wakelock and smd_sns_dsps

Any ideas why there's a very high count of these 2 kernel wakelocks sns_async_ev_wakelock and smd_sns_dsps ? This is on a Nexus 4 and from what I understand they are related to sensors but I can't find any further info. The count lock goes up by 50-60/sec. which looks suspicious. The wakelock % of time awake is about 1%, but the count keeps going up at a high rate, even with the screen off.

In the attached screenshots, why is Max Time:0 ?
[BetterBatteryStats] laughingT:
Sirxdroid,

In nexus 4 forum,

http://xdaforums.com/showthread.php?p=36548659

Sent from the wholly ROMin' empire. SGH-I897 CM10.1
[BetterBatteryStats] sirxdroid:
Could be a problem specific to the Nexus 4. I did a clean install of 3 different ROMs with the stock kernel without installing any other apps besides BBS and they all had the same problem. I'm pretty sure "sns" stands for "sensor" based on this:

https://www.codeaurora.org/gitweb/q...in;h=b611edb79806dc7b486fd929b681740140e2fc10
[BetterBatteryStats] bobdoblo:
Hey Chamonix, Karpenfei, It_ler,

What do you make of this http://xdaforums.com/showthread.php?p=41247506

★NeatROM★ Mods ********************** Battery Guide
[BetterBatteryStats] It_ler:
35% deep sleep is not correct. (Something wrong with the stats in BBS?!)

About 6h time since unplugged and about 5,75h deep sleep > about 96% deep sleep ratio.

And -1% is very good, but you have 2000 mAh battery and it was from 100% (to 99%).

I think that from a different power level (e.g. 90%) the battery loss in the same time will be slightly higher.

Maps and Google quicksearch is active on your phone ... so it's very good battery life indeed :good:

You may want to set wifi policy "Keep wifi on when phone is sleeping" to "Always" or use Better Wifi On Off app (from chamonix) to turn off wifi shortly after screen goes off.

There is a massive wifi on/off switching during the night.
[BetterBatteryStats] tonyboy_23:
Ok guys so I have finally got all my app problems sorted out.now all that's left is the data and radio signal problem. I put my phone in airplane mode overnight and it lost an amazing 1% all night.

As I have mentioned in earlier posts my radio signal drops out now and again and signal icon shows that it is either empty or down to just 1 /2 bars.

I realise it happens now and then but in my case it's 3 /4 times per day at least.

I am running 4.2.2 CM10.1. I was using their modem but switched to a different one to try it out. There was no improvement at all really still lots of fluctuations with signal strength.

Does anyone have any ideas if there is anything I can do?
[BetterBatteryStats] bobdoblo:
I have 1650mah battery mate. (14 months old)

Me and ESD we're trying to break 7 hours, (not a competition) I managed 6hrs 52min best screen on with 20+hrs on http://xdaforums.com/showthread.php?p=40020231

But then we found that ESD had forgotten something from a few months ago http://xdaforums.com/showthread.php?p=36508076

You must be getting not far off that judging by your screens in your thread? (20+hrs, 2+hrs screen and still over 70%:thumbup:) but I have decided to give up chasing battery and have some colour and life on my phone.

Sick of it being a lifeless black brick just to have more battery.

I can still get on average 4.5hours screen and last all day with G-now, whatsapp and Gtalk on so that's good enough.

I have Gemini to stop auto starts and reinstalled maps as user app, configured with Karpenfai settings and Greenified but it doesn't stop Google now opening it.

I normally turn wifi/data and locations of overnight, it was just a sort of test and to see how much it would drain and if vbus wake lock has been fixed in NeatROM LSS (thanks to master_droid), I forgot Wi-Fi was on "only when plugged in" and should have tried with it always on:thumbup:

If I'd have rebooted after charger was taken out I think the Wi-Fi would have just stayed off or at least not been as active.

Thanks for your time It_ler:thumbup::)

★NeatROM★ Mods ********************** Battery Guide
[BetterBatteryStats] It_ler:
Good attitude :good:

For stock battery, it's fantastic battery life ... and don't forget to enjoy your phone :fingers-crossed:
[BetterBatteryStats] Shone1980:
My battery started dropping rapidly. I am not sure what caused it->Viber? Ebay? Face?. Here is the BBS dump.
[BetterBatteryStats] devaspora:
Works great

Works great on my Amaze 4G running GB.
[BetterBatteryStats] It_ler:
EBay has many alarms - disable / freeze / greenify it to check its influence to your battery life.

And I see FastDormancy wakelock, so try to change the Fast Dormancy setting on your phone to minimize this wakelock.

But I don't think that this will enhance your battery life that much.

Maybe you have bad mobile reception ... or a "bad" modem. You can try to flash another modem or check the battery life with wifi on and running all the time.

Good luck !
[BetterBatteryStats] Shone1980:
I don't understand why suddenly. My battery was great for months. Uninstalled Ebay. Fast dormancy was never there with my provider. How's it possible that it is present now :(? Mobile reception is great downtown Montreal. I'll try wifi only but even with LTE on i had very good expirience during past months.

Thank you.
[BetterBatteryStats] tonyboy_23:
Hi guys and girls. I have had some real problems with my battery performance for some time. I have managed to solve that problem eventually with the help of better battery stats and the guys in this forum.

My other problem is also battery related. Most of the time it counts down the battery quite accurately but sometimes, especially when playing graphical games or browsing, it will show maybe 35/40% and then suddenly die without displaying a lower number first.

I have tried the apps that reconfigure your battery stats and reset your battery etc, none of which seem to have solved the problem.

Anyone have any ideas what else I need to do?
[BetterBatteryStats] JakePNEFC:
Buy a new battery?
[BetterBatteryStats] pathologo:
Alarms don't work with [Apr. 21, 2013][ROM][4.2.2][720p] NexusHD2-JellyBean-CM10.1 V2.1 [NativeSD].

"Boot event was not registered yet, i will at next reboot" (lies)

BBS got root of course. Network stats are working.

No logs.
[BetterBatteryStats] Casanoaa:
Just reboot until it works. But unplugging works best.
[BetterBatteryStats] cajunflavoredbob:
Ok, yesterday, I posted about high wakelocks from mdm_hsic_pm0. I received a reply from [MENTION=4705372]Casanoaa[/MENTION] who suggested I disable auto sync.

I disabled pretty much everything I could think of overnight. All wireless radios were turned off, other than cellular, though mobile data was also turned off. Auto-sync was disabled, and I greenified pretty much everything.

The troublesome part is that, looking at the CPU states, my Note 2 is not going into deep sleep due to this mdm_hsic_pm0 kernel wakelock. Disabling sync and all radios helped a bit. During the same period, I lost only 30% battery instead of 45% tonight versus last night.

My log for last night is attached.
[BetterBatteryStats] GermainZ:
Just curious if Network stats work for everyone? Already submitted a bug report on github with a logcat, but I'd like to know if I'm the only one.

Root features are obviously enabled.
[BetterBatteryStats] Casanoaa:
I think maybe it could be your Flashed rom. I can see it isn't stock.. Have you tried search that forum you have your rom from. Rom/kernel..

Otherwise also do this.

Disable locations services in rom / settings.

Disable all autostarts for maps if you not use maps disable it with tb pro.

Disable Google search with tb pro.

Disable Google plus.