yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] -sandro-:
I will do that when I have time but how can it be downloads if it keeps drainng battery even in airplane mode where everything is "blocked"?
[BetterBatteryStats] Casanoaa:
Also it can be google play and Google Services.

Look also for post 3 in this thread for gsf minimizing.

But we need a dump to say more.

Read more here

http://xdaforums.com/showthread.php?t=1656705
[BetterBatteryStats] -sandro-:
A dump could tell what the cause is?
[BetterBatteryStats] Karpfenhai:
A dump can at least tell whether there is a high amount of alerts waking your phone and asking for connectivity...

It could be a symptom(imho for sure) not the cause itself..

Tapatalked from my Galaxy SII
[BetterBatteryStats] chc31:
Can anyone help me figure out what causes audio out 4 wakelock? You forgot me a few pages back guys :P
[BetterBatteryStats] Karpfenhai:
Nope we didn't.. wrong dump, outdated bbs version, read the op.. Regards :)

Tapatalked from my Galaxy SII
[BetterBatteryStats] atrix4nag:
After removing the sd card, again, my phone battery came to normal.. i will insert my card again, and check it.
[BetterBatteryStats] chc31:
Ahhh I see lol. I'll get that sorted out first then lol, thanks!
[BetterBatteryStats] teju4u:
Great Great App.. Helped me a ton to reduce my battery usage,
[BetterBatteryStats] Olegon:
Samsung Galaxy S4 i9500, l2_hsic

Who can tell?

No root. Stock firmware.

Telephone charged to 100% and allowed to stand overnight (about 7 hours).

l2_hsic (): 1 h 17 m 12 s (4632 s) Cnt:(c/wc/ec)2772/39/2771 19,1%
radio-interface (): 46 m 15 s (2775 s) Cnt:(c/wc/ec)2703/0/0 11,5%
umts_ipc0 (): 23 m 43 s (1423 s) Cnt:(c/wc/ec)2724/1/2723 5,9%
rpm_hsic (): 15 m 33 s (933 s) Cnt:(c/wc/ec)2773/21/0 3,9%

What does it mean?
[BetterBatteryStats] Karpfenhai:
That just means you have to install cm10.1 onto your brand new galaxy s4.

:D

Seriously I'm not sure whether there is a service menu allowing you to toggle fast dormancy, but you should consider rooting your device as an option.

Btw, your wake time is data traffic related, that's all we can tell for sure..

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] Karpfenhai:
Next time you should at least wrap some tags around your dump...

Assuming maps still shows up because you just disabled

all

autostarts your next dump should be free of it, so Google search box and this alarm clock is still left.

Furthermore your Wi-Fi shows a high amount,I recommend to use better Wi-Fi on off.

1.2 is not too bad btw.

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] rysup:
Hahaha you could say that for almost every page of this thread! We can dream though right:)
[BetterBatteryStats] shda:
Hello everyone,

Nothing new, i've got GTALK_ASYNC_CONN_com.google.android.gsf.gtalkservice.AndroidEndpoint and secril_fd-interface/multipdp/l2_hsic.

Wifi was disabled, mobile data was enabled.

gsf:

1. I've made autostarts changes from this post.

2. I've applied everything from this post.

3. Talk is not installed.

4. Auto-sync is turned off.

5. I don't have any APN proxies (according to this post).

fd:

1. Modem was installed with necessary ril.

2. Fast dormancy was turned off.

AudioOut_2 was because of the alarm, i think.

bln_wake_lock - yes, bln is enabled in kernel settings, but there were no notifications.

I would be grateful if someone could give some advice. Thanks.
[BetterBatteryStats] u.b.o.o.t:
Location Manager wake lock despite I don't have Maps / Latitude

Hi folks,

I could have reported this to Cyanogemod people of course, but for me it seems that many battery drainage experts are gathered in this thread...

I recently switched to CM10 on my Xperia Pro and now I'm struggling with a severe bug with Android Location Manager service causing a permanent wake lock and thus quickly draining my battery.

As soon as I enable GPS, use some app like Lokus, quit the app, re-disable GPS, the phone will never go to deep sleep anymore.

I don't have Latitude, Maps and according to dumpsys there is no other App that hooks into Location Manager for frequent location updates.

But even if I completely disable all location services and auto starts as described here, it does not help.

Only a reboot will help. But I don't wanna reboot every time I finish using GPS :(

The issue has already been reported here, but I don't believe that it is specific too the Freexperia project or the Android kernel. I think it is more related to the android framework internals of Cyanogenmod as other devices seem to be affected and changing to another kernel (3.0.8 instead of 2.6.32) didn't help.
[BetterBatteryStats] Karpfenhai:
View attachment BetterBatteryStats-2013-05-22_144655335.txt

Matey...

I'm on cm10.1 since early February too...

I'm currently using the nightly from last Friday, latest gapps, latest market, latest maps, I'm using GPS test app to find/mark spots on lakes while I'm fishing and maps even for navigation on a regular basis but.. I don't have this wakelock.. I have network location enabled for weather and certain apps.

It's fully working.

What I have done is simply disabling all autostarts from maps and some from gsf. I don't have gnow installed but I'm using g+ app.

So, it's possible to bring it down..

I'll attach my current dump in a few, the wakelock is there but that's why I used the service actively.

I don't use greenify or any task killer.

Just autostarts...

What I'm trying to say is, don't give up, you can get rid of it, just try harder!

Tapatalked from my Galaxy SII
[BetterBatteryStats] Casanoaa:
Try look at my suggestions in post 3 for gsf wakelock minimizing.

For fd, can you use gokhan Morals fd app? Remember reboot and launch the app to see if it is disabled.

AudioOut_2 problem here I think it is call recorder app you use. I am not sure
[BetterBatteryStats] sak-venom1997:
Hello dev!

One more query when I instantiate Battery Status Impl with the package from battery info service it logs that history data buffer is too large and nothing happens the app stops responding can you please suggest where possibly u went wrong?? I use the classes without any modifications

I you don't want to disclose its ok I can understand.
[BetterBatteryStats] shda:
Thanks for the answer.

I've already used it as i mentioned in point 1. Applied all autostarts changes. I don't use latitude, and talk is not installed, so i followed all the items.

I have sgs i9100, and gokhan Morals fd app is for i9300. And also i can use a service code to disable fd, what i successfully did. The fd was preliminary disabled as i mentioned.

There was once a problem with call recorder app - it was AudioOut_1. And about AudioOut_2 i thinks it was my morning alarm app.
[BetterBatteryStats] garbb:
I have noticed that occasionally the app will hang on the "computing" popup forever. I have to force close it and when I reopen it everything appears to be working normally, however there is a partial wakelock called "BBS_WAKELOCK_WHILE_SAVING_REF" that is now active 100% of the time and the phone will not sleep until I reboot it. It happens intermittently so I will try to make a dump the next time I see it.

Is there anyway to manually remove this "stuck on" wakelock since force closing the app doesn't seem to get rid of it. I tried

echo BBS_WAKELOCK_WHILE_SAVING_REF > /sys/power/wake_unlock

but it didn't work because I guess this is only for kernel wakelocks?
[BetterBatteryStats] Karpfenhai:
Fd toggle works also on galaxy s2.

Tapatalked from my Galaxy SII
[BetterBatteryStats] shda:
But should i use it if i can enable/disable fd with a service code? And it's status remains after reboot.
[BetterBatteryStats] Karpfenhai:
no, service code is just fine, but they usually dont work on cm10.x..

normally it persists.. weird.
[BetterBatteryStats] slayersparty:
Hello ! First of all, thanks for your answer.

Problem is I did disable everything from maps with autostarts yesterday, before going to bed :/

What do you mean about Wifi, it's better to turn it off when I sleep? But I'll use data / 3g so..

And about the 1.2,what is it, my draining /hour I assume?

It could be better since several users with my rom lose 0% overnight!

So I don't know..
[BetterBatteryStats] Karpfenhai:
Loosing zero percent over night does indicate flightmode.

If maps is still showing up you might have forgotten something ;) Latitude?

Check your google account settings briefly.

Dont you have a flatrate for Data?

If possible, try to set up a dedicated vlan for your device only, should help a lot in terms of wifi related wakeup / overhead.

good luck!
[BetterBatteryStats] shda:
I meant that it persists :) But it didn't help with fd wakelocks.
[BetterBatteryStats] slayersparty:
flatrate ? I have "unlimited" data connexion, but I prefer to use wifi when I can + I heard it uses less battery !

I guess the maps thing should be fixed, i disabled all latitute things and everything in autostarts too so ...

and about that " Google search box and this alarm clock is still left."

what can I do ? alarm clock is my alarm for waking up ? I'm using alarmdroid, not the stock one so that's weird!

and theres something i can do for google search box ?

Oh and I'm trying to disable stuff for gsf in autostarts, using this link :

http://xdaforums.com/showpost.php?p=35755907&postcount=11160

But I don't have com.google.android ........., android. ... . .. etc am I missing something here ?

thanks!
[BetterBatteryStats] Karpfenhai:
If you dont use google search box, just freeze it ;)

for com.google.. ensure you have expert.. or show system .. ticked and unticked hide unknown ..

something like that..

then live with the alarmclock alerts ;) or try another app..

now back to my z/OS powered Mainframe...

regards....
[BetterBatteryStats] slayersparty:
you were right, ty :) !

last thing, what's the playstore pending notification server ? it launches when my phone starts, i have disabled update notifications etc in store!
[BetterBatteryStats] RoboDroid13:
Needed this, works great. Thanks man :)
[BetterBatteryStats] chamonix:
Version 1.3

New version's out. Major imporvements are:

- kernel wakelocks

- zooming / panning single graphs

Market updating now, it make take a few hours to reach you

Enjoy!
[BetterBatteryStats] zicovsky:
@chamonix,

Great job on the app, trying 1.3 now.

Question: I seem to have GTALK_ASYNC_CONN under Partial Wakelocks with 1h22m and 255 Count. I don`t even have gtalk installed, is this process used by whatsapp or called by another app? Any ideas?

Thanks!
[BetterBatteryStats] jr67:
Just installed the update (XDA version) and everything is working great except the history graphs but I'm on Froyo so that was expected and at least no FCs just empty graphs and a message about it not being supported on Froyo. The only issue I had was this update didn't overwrite the previous version. I had to manually uninstall 1.2.1.
[BetterBatteryStats] MaluNoPeleke:
Could you add an output of "dumpsys alarm" into the GUI (especially the last part of it)?

With that information you can see what uses the AlarmManager.
[BetterBatteryStats] d8beat:
ok, just wondering, since in the newer updates the app actually logs data for the graph, does it actually use more battery as a result?
[BetterBatteryStats] nobnut:
No one is quite sure why this happens. It is normal though. A poor signal strength increases this count.
[BetterBatteryStats] chamonix:
that's already in the feature list so don't worry, it will be looked into
[BetterBatteryStats] chamonix:
bbs does not log anything. I follow a strict policy of no footprint and there is no action and no data collection happening. The trick is android already has a service collecting all that and I just read it and show it
[BetterBatteryStats] d8beat:
is there a way to disable this then? seeing that this MIGHT take up unnecessary battery.
[BetterBatteryStats] nobnut:
It doesn't use any resources. No need to disable anything.
[BetterBatteryStats] edpo1976:
Hi.

First of all, congrats for this great app, thanks for your extraordianry support and sorry for my horrible english.

I've been testing the behavior of my battery before and after BBS, and i've passed from 15-20 hours with limited use to 50-60!. I use Wifi, sync accounts from time to time, some calls, some whatsapp... but, in general, a very limited use, just to know maximum of battery life.

I've detected that, by now, the only problem i have is with wakelock RILJ (dialer), that appears randomly and prevents my phone from deep sleep. If i detect the problem, checking BBS, there is no problem. I reboot my phone and RILJ stops (and normally doesn't show again for hours). I still haven't found a solution to prevent this wakelock, just the way to stop it, by rebooting.

I've read carefully more than 50 pages of this thread (thanks again to all of you, specially Nobnut and Chamonix), and i've learned that this wakelock may be caused for my poor signal. Anyway, i don't understand why it appears randomly and how could i prevent this wakelock, not simply stop it (it's annoying when you don't detect it by checking BBS and you stop it too late, with a big part of your battery drained; that is my concern about this wakelock).

I would like to ask you if this problem has been solved (sorry if there is more information in this thread, it is very difficult to me to read all the information, as i said my english is horrible).

These are my screenshots. This time i`ve been checking BBS constantly and i've had to reboot the phone once to stop RIJL (other times the RIJL wakelocks has spent more than 4 hours!).

I just have an additional question. As you can see, I turn the phone in to airplane mode by night. Well, the graphic of battery usage shows that the first night, having the phone on airplane mode, screen is on, and of course phone doesn't sleep?!. May it be a bug in the graphics?. I'm sure that screen was off. The behavior was normal the second night.

Again, many thanks for your kind support.
[BetterBatteryStats] Biker1:
Wanted to give this a try, but I'm getting 'Download Unsuccessful' messages after attempting to install either of the 2 apk's in post #1.
[BetterBatteryStats] tboooe:
my phone has gone haywire!

I am not sure what happened but I used to get about .7% drain per hour but starting yesterday its much more erratic. I lost about 25% over 2.5 hours and overnight its draining at about 3% per hour. In looking at the battery graph I see that my phone is active for twice as long as my screen was actually on. The file dump point to Alarm Manager which is showing a very high count of wakelocks. Any suggestions on what app may be causing this? I have not installed anything new. Here are my top wakelocks:

===========

Other Usage

===========

Awake (): 2 h 5 m 13 s (7513 s) Ratio: 24.7%

Screen On (): 58 m 42 s (3522 s) Ratio: 11.6%

Wifi On (): 53 m 57 s (3237 s) Ratio: 10.7%

=========

Wakelocks

=========

AlarmManager (Android System): 2 m 25 s (145 s) Count:2577 0.5%

RILJ (Dialer): 19 s (19 s) Count:1338 0.1%

GTALK_CONN (Google Services): 3 s (3 s) Count:817 0.0%

Event Log Service (Google Services): 3 s (3 s) Count:666 0.0%

*network-location* (Google Services): 12 s (12 s) Count:649 0.0%

*sync* (Google Services): 2 s (2 s) Count:628 0.0%

*network-location-cell-update* (Google Services): 7 s (7 s) Count:626 0.0%

WifiService (Android System): 3 s (3 s) Count:576 0.0%

ActivityManager-Launch (Android System): 1 m 38 s (98 s) Count:365 0.3%

E (net.dinglisch.android.taskerm.Tasker): 32 s (32 s) Count:351 0.1%

M (net.dinglisch.android.taskerm.Tasker): 3 s (3 s) Count:309 0.0%

QuickAgendaWakeLock (com.everybodyallthetime.android.quickagenda.QuickAgenda): 2 m 22 s (142 s) Count:282 0.5%

SCREEN_FROZEN (Android System): 5 s (5 s) Count:61 0.0%

sleep_broadcast (Android System): 3 s (3 s) Count:47 0.0%

WidgetLocker (com.teslacoilsw.widgetlocker.WidgetLocker): 1 s (1 s) Count:26 0.0%

PowerAMP scan (com.maxmpz.audioplayer.PowerAMP): 42 s (42 s) Count:23 0.1%

UpdaterService (com.protrade.sportacular.Sportacular): 49 s (49 s) Count:17 0.2%

com.maxmpz.audioplayer.player.PlayerService temp (com.maxmpz.audioplayer.PowerAMP): 59 s (59 s) Count:15 0.2%

LockerService (com.teslacoilsw.widgetlocker.WidgetLocker): 14 s (14 s) Count:13 0.0%

GTALK_ASYNC_CONN (Google Services): 12 s (12 s) Count:7 0.0%

com.bellshare.util.WakefulIntentService (com.bellshare.beweather.BeWeather Pro): 33 s (33 s) Count:6 0.1%
[BetterBatteryStats] chamonix:
There are a few reasons known to me where RILJ would show that behavior:

- bad coverage

- buggy radio

- fast dormancy on but not supported by your carrier

I guess for the second one it would be a good start to see if there are other radio versions available for your phone. FD is something that you can try too if your phone supports it.
[BetterBatteryStats] chamonix:
Alarm manager is the first thing to look at, your could double check kernel wakelocks too (use v1.3) to see if there is anything wifi related.

To see what is causing that really high number of wakelocks have a look here: https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/AlarmManager
[BetterBatteryStats] chamonix:
Congrats!

From the wakelocks and besides AlarmManager there is not much. What you could look into are your account settings to see if you need all to sync, especially the contacts of whatsapp.

A few more potentials are shown in the alarms:

- gmaps: you seem to be using navigation and it is causing some background noise

- jp.naver.line.android (whatever that is) is waking up your phone pretty often

- com.qi.trafficlivewidget: a widget should never do anything when the phone is off and I can't imagine all tose alarms occured in the 4 minutes your screen was on so that widget is a candidate for the blacklist

- same for com.levelup.beautifulwidgets.... maybe "beautiful" but very bad design imho
[BetterBatteryStats] Karpfenhai:
No clue, never seen, maybe update notifications from playstore? someone else have seen this? Casanova? IT_Ler..
[BetterBatteryStats] It_ler:
I have disabled all notifications from Play store ... and haven't seen the "playstore pending notification server" wakelock yet.

But I have a black version of Play store v4.1.6 on my SGS2.
[BetterBatteryStats] -sandro-:
I'm starting the 4h idle log to make a dump to understand what is causing my phone to be awake for hours. Is there any option or feature I should enable before I start?
[BetterBatteryStats] Ritesh:
I read this earlier somewhere: there are two services running PendingNotificationsService and ContentSyncService that enable the check of any application updates etc. Uses GCM so its supposed to be quiet efficient.
[BetterBatteryStats] slayersparty:
google cloud messaging ?

i mean it's not under bbs (yet), its just there when i go into settings -> apps. (launched)

playstore is in the list and when I tap on it, I can see this pendingnotificationsservice(er?)

even though i never actually launched the playstore!
[BetterBatteryStats] Casanoaa:
I have it too when I reboot. Then I get in to programs/running and turn it off.

I don't no why it is on.
[BetterBatteryStats] Casanoaa:
Enable Alarms and network in bbs app if you are rooted
[BetterBatteryStats] -sandro-:
I'll see you in 4h :D
[BetterBatteryStats] slayersparty:
ok so nothing to worry, just turn it off manually when booting / rebooting and it's all good ?
[BetterBatteryStats] Konstigt:
My Nexus 4 has become poor regarding battery life lately I think. Before I usually could go around 20-24h before charging with 1hr screen-on and 1hr of talk-time (circa).

Using CM 10.1 nightly from 2012-05-21 (not much has changed since RC2).

Is it some app I have installed that has gone bananas?

I have also BatteryGuru installed but I also had that before when the stats was good.

Can the dump file explain it?
[BetterBatteryStats] gabling23:
Really useful app

Inviato dal mio HUAWEI U9508 con Tapatalk 2
[BetterBatteryStats] balint933:
Hello!

I have some strange wakelocks, these waklocks started about 1week ago,

baseband_xmm_power + radio-interface wakelocks wake up my phone very often (2,9%/h with 5s screen on), before these wakelocks I had 0,2%/h drain)

Device: HOX

Current ROM: ViperX3.6.1, but I have the same problems with all other roms, if someone can help me, or had the same problems and solved it please help me with a reply or PM.

dumpfile attaced
[BetterBatteryStats] teemo:
You have 1h 28m ScreenOn. If you make a dump without ScreenOn time, it would be much easier to help.

Charge, unplug and leave the phone OFF until you make the dump.

So, what happened about 1 week ago? Did you change your wifi gear, flash a new ROM/kernel or ...?
[BetterBatteryStats] balint933:
Yes I chaned ROMs, these wakelocks appeared when I installed an AOSP rom, and then I tried other roms I used before, but the wakelocks are still there, tried 3-4 roms with n3o, xm or stock kernel but nothing changed (I always do fresh install with full wipe),
[BetterBatteryStats] Casanoaa:
Yes and it would not pop up again unless you reboot.
[BetterBatteryStats] teemo:
Okay strange. But something must have changed. You have the usual wifi problem, but I can't help you there, i always have a good wifi setup.

Call in the experts :D
[BetterBatteryStats] balint933:
I have no problems with wifi, or wifi causes baseband_xmm_power + radio-interface wakelocks?
[BetterBatteryStats] chamonix:
I don't have any secrets and my code is open source. From here it is hard to say so if you want me to look into it sources allowing me to reproduce the problem would be great. I don't remember running into such a problem.
[BetterBatteryStats] chamonix:
That may be related to cloud to device messaging.
[BetterBatteryStats] chantoine:
Same thing here. You should try keeping gps on. In my case this wakelock quickly stops, and as maps is tweaked, there is no bad effect on battery.

Envoyé depuis mon GT-N7000 avec Tapatalk
[BetterBatteryStats] Number999:
Hi there!

If anyone could take a look at my log, I would appreciate it:

http://db.tt/PMXiOnr5
[BetterBatteryStats] shda:
Do i understand it correctly that if i have already done all the things that i mentioned it my post, there are no other ways yet to minimize gsf and secril_fd-interface wakelocks?

Thanks.
[BetterBatteryStats] Casanoaa:
Disable autosync of Google account in rom/settings.

Disable locations services in rom/settings.

Disable Google search in rom/settings. programs/all.

Use manual pull for email.

You cant do much when you are not rooted and we can't see your Alarms and network.
[BetterBatteryStats] chamonix:
I have finished looking at the tech Web casts about the new playstore services. Focusing on the topic of this thread playstore services will have a huge (and potentially negative) impact on how we deal with freezing and disabling parts of the framework. The two main areas I have in mind are:

- location providers are not only part of the android core anymore but also of the services. Namely this would be the fused location provider

- gcm has big changes: messaging is from but also to the cloud, it is now based on xmpp and implements transaction security (data is stored on the device and deleted when it was acknowledged but the cloud)
[BetterBatteryStats] Noisemaker00:
Short battery life after flashing CM 10 on Samsung i8150

Hi guys,

i've made correct Dump with only 1min of screen on (during night). As i writed before I flashed CyanogenMod 10 a few days ago and i have some battery life issues.

I will attach the dump and an image of the battery usage that show phone is "active" during the night.

Can someone help me?
[BetterBatteryStats] Karpfenhai:
Okay mate, now we have a clear picture..

Your awake is caused by Facebook, some Google cloud backup and whatsapp, that's all what's left but the drain is too much unfortunately..

Since you were not on Wi-Fi I assume your network reception is the culprit, switching to 2g during the night may help. I recommend to try other basebands, check the desired thread for known as battery friendly ones.

Regards

Tapatalked from my Galaxy SII