yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] nobnut:
I don't trust BMW. I don't like BMW. I don't use BMW. I'll just leave that there and let you interpret it ;)

I normally recommend people do use the stock email app. But since you are not rooted, what I normally recommend isn't possible.

I normally say set up your Gmail account in the stock email app and then freeze/delete Gmail altogether. That way you can control sync times etc.

You are quite right in that Gmail doesn't allow this customisation. I hate the fact that people run one email client to get Gmail and then have to run another client for their other accounts. That's two sets of services and processes going on for basically the same activity! Madness!

Latiatude/Places/Navigation are all fall under the Maps app umbrella. If you are logged on to Latitude, it wakes the phone periodically to get your location. It is a known battery hog. Chamonix has released an app called ALTitude which performs this task with a smaller 'footprint'.

IOf you want Latitude running, there is not much you can do about it. If you don't want it running, just log out.

I don't know why you are getting the dialog box, weird.

Good.

What I wold do from time to time is two things:

1 - Make sure you exit apps properly when you have finished with them

2 - Every few hours (or when you are bored), go to Settings>Applications>Running Services and see what is going on behind your back. You will be amazed at which apps are running. Again as you are not rooted, some of your options vanish... for example you can't prevent apps from autostarting.

:)

---------- Post added at 02:02 PM ---------- Previous post was at 01:58 PM ----------

I took a look earlier. Hopefully Chamonix will have a better idea. Unfortunately I don't know why this would be happening. I don't know what this means:

I/ActivityManager( 2659): moveTaskToBack: 7

D/dalvikvm( 9949): GC_CONCURRENT freed 423K, 53% free 3441K/7239K, external 768K/1188K, paused 2ms+5ms
[BetterBatteryStats] nobnut:
@hahaboy

There appears to be a little discrepancy in your log, maybe Chamonix can shed some light on this:

Other Usage
===========
Awake (): [COLOR="Red"]5 h 43 m 48 s[/COLOR] (20628 s) Ratio: 31.8%
Wifi On (): 3 h 15 m 39 s (11739 s) Ratio: 18.1%
Screen On (): 2 h 23 m 19 s (8599 s) Ratio: 13.2%
Phone On (): [COLOR="Red"]5 m 40 s[/COLOR] (340 s) Ratio: 0.5%
=========
Wakelocks
=========
RILJ (Dialer): 22 m 55 s (1375 s) Count:1942 2.1%
AlarmManager (Android System): 4 m 2 s (242 s) Count:7088 0.4%
ActivityManager-Launch (Android System): 3 m 52 s (232 s) Count:493 0.4%
FacebookService (com.facebook.katana.Facebook): 2 m 11 s (131 s) Count:25 0.2%

The phone was awake for longer than it was switched on :confused:

This might be the case but doesn't appear to have been caused by partial wakelock activity. The worst offender for you was RILJ. From my experience, this gets worse in low signal areas but there may be other causes.

What I said previously still stands, you appear to be getting good battery life, it is just that for some reason the BBS stats are perhaps not being reported on your phone as they should be.

Like I say, let's see what Chamonix might have to suggest.

In the meantime, don't worry, I believe it isn't as bad as it looks.
[BetterBatteryStats] xavihernandez:
@nobnut

Ok thank you man. I will wait for chamonix then.
[BetterBatteryStats] francisdeek:
In this case i really don't have any option to resolve this do I? :(

Is there anyway to remove Gmail if i were to use the stock email client? And the whole map service since i'm using another gps,
[BetterBatteryStats] nobnut:
All you can do if you don't want to root is to leave Gmail and check the syncs for any other email accounts you have.

You can check out Chamonix's ALTitude app re your location in Latitude. You can clear data in Maps if you use another app. That should resolve your problem.

PS Rooting is fun ;) and not at all scary (not too scary at least). I am not encouraging you to do it, but it is worth considering.
[BetterBatteryStats] francisdeek:
I use only the gmail, so i guess i can just leave the stock email client alone.

So i need to clear data in "manage applications" from time to time?

I think there's no root kernel for 9100g yet..
[BetterBatteryStats] xavihernandez:
@nobnut

You recommend using stock email when we have several email accounts, don't you?

I have only Gmail then I think it's better to.use it because it push mail, while stock client checks for new mail.

EDIT : I have always Maps running I don't know how to stop it until.I use it.

MIUI backup running too.
[BetterBatteryStats] hahaboy:
@nobnut

thank you very much !!!
[BetterBatteryStats] Panda_Face:
So Nobnut, all you use is this BetterBatteryStats app to monitor your device?

I'm using BMW, SystemPanel, BBS, and SetCPU to monitor everything.
[BetterBatteryStats] nobnut:
You can use Gemini App Manager to stop it starting.

---------- Post added at 05:05 PM ---------- Previous post was at 05:04 PM ----------

My Pleasure!

---------- Post added at 05:07 PM ---------- Previous post was at 05:05 PM ----------

Yes.

Once you get everything under control, you don't need all that stuff. I don't like anything that runs a service (because it uses battery). BBS doesn't run a service.

I don't need the rest of the monitoring software as I know that my phone is as tight as a duck's a$$hole ;)
[BetterBatteryStats] chamonix:
"Phone on" would be "in a call", the total time would be "since" in the dump. So basically everything is OK, I'd worry about your awake / screen on ratio though
[BetterBatteryStats] beepsilver:
Nobnut,

How are these stats? I've made some changes and hoping for your feedback. Thank you! PS, I'm still hunting the task/profile in Tasker that's causing the $#@! User.Absent wakelock--I've searched for loops, etc...can't come up with anything. I tried turning all my profiles off, but it continues to wake....I haven't tried turning them off, rebooting, then turning them on one by one though...do you think that's the way to go about investigating? I can pm you my userbackup if you have time to scan for a glaring issue? Ok, back on track...here are my stats:

View attachment 740267

View attachment 740268
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Exactly, 21 seconds are not much...

Tapatalked from my Galaxy SII
[BetterBatteryStats] RedSkyRoad:
Could someone please help me?

This is what I get with RC7. Just blanks... What is wrong here?
[BetterBatteryStats] Casanoaa:
Sv: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Provide an idle log. Unplug and leave 4 hours without touch and dump a file..

Have you tried that?
[BetterBatteryStats] chamonix:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

I can't reproduce so I'd need more details. What settings exactly are you using? When does that widget stop working? Please attach a logcat where I can see the error and the behavior after the pref change
[BetterBatteryStats] chamonix:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

I guess it's 4.2.2 related. Please attach a logcat and if possible the result of 'dumpsys alarm' run in a shell
[BetterBatteryStats] RedSkyRoad:
Logcat? Not yet...
[BetterBatteryStats] chamonix:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

The attachement is empty so please be a little more specific about what happens and if possible attach a logcat and Screenshots to illustrate
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Welcome back Sven! :thumbup:

Tapatalked from my Galaxy SII
[BetterBatteryStats] bassantics:
Anything You'd Recommend?

I've been reading this thread for awhile trying to learn from you all before posting and asking for help. I've tweaked my phone using various tips across this thread, and have been very happy with the results. I figured I'd now ask you all to see if there is anything else you'd recommend that I might have missed.

Things I've done and found to date:

disabled all google map auto starts. rebooted after changing.

watched the fd video and then downloaded the toggle app to disable it after testing for fd in my area. I also used the *#9900# menu to disable it there since it's available on my phone. rebooting after changing each.

changed beautiful widgets to refresh every 6 hours from every 2 hours

found evernote sync causing wake lock issues, changed to manual sync

disabled most google sync items (exception being calendar, chrome, contacts as I want them to sync)

cleared cache and disabled google search

I then charged phone to full, unplugged, left phone alone with screen off over night, then did a bbs dump after waking up. The dump file is attached..

Again, I'm pretty stoked and happy with my battery life after making all of the changes recommended to other users, but figured I'd now post to see if there is any thing else you all would recommend in my situation.

I'm also still stumped as to why I still see "secril_fd-interface" kernel wake locks even though I've disabled it (and rebooted after toggling it off).
[BetterBatteryStats] brack11:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

i can't figure out how to send logcat using Tapatalk. The setup i guess default one, I just installed the app and add widget which showed n/a i thought it's temporary issue because there is not enough data to display so, I tried to fix the problem only next morning. Found some forum via Google with similar issues discussed but on earlier versions, and ppl there suggest to set boot default stats first and then something else, so I did and it surely worked. Then I put phone on charge and next morning faced the same problem with the same solution. Then I reported it here.
[BetterBatteryStats] chamonix:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Thanks mate. The last week's have been crazy but now the deadline at work was reached so I can focus on the important stuff again ;)

I have a few doubts, especially about 4.2.2 as is seems to affect Alarms and will go through the latest issues to see if there is something that should be included in the final. Besides that I feel that the latest rc is pretty good for final preparation in order to release.

I have been doing some sketching and collected a few ideas for 2.0 as well and may start working on a prototype / click dummy, even if I feel that there will be one or two minor releases before I start making big changes.

I' like to hear your assessment on the current RC in terms of maturity
[BetterBatteryStats] chamonix:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

OK I see the screenshot now (didn't show earlier). Obviously there is no reference set yet (see n/a) so you should start by plugging / unplugging you phone and check the 'since unplugged' stats. If nothing shows go to the more menu and check the raw cpu states. I also suggest reading the faq in this thread to learn how bbs works with references and how those are created
[BetterBatteryStats] chamonix:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

OK that looks good. Please enable debug logging (advanced prefs) and post a logcat.

I will see if I can get hands on a 4.2.2 Rom to flash my GNex but maybe you are faster.

This is definitely something that I can fix when I have all info together and would go into a new rc before releasing
[BetterBatteryStats] Kocai:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

I'm doing this from my phone so I hope it's good enough.

http://db.tt/9OTmQp3G
[BetterBatteryStats] Markox89:
Here it is ;)
[BetterBatteryStats] brack11:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Ok i used dd to upload files and here are two logcats

Before solving the issue:http://db.tt/aMLkmnvN

And after choosing boot:http://db.tt/QkMUYg3R

Hope for a quick solution.
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Guys, don't post logcats on 4.2.2 if you are

not

using the latest rc since fetching the values introduced by Google after 4.2.1 is not available in prior builds!

Just read the changelog!

Thx for sharing and doing the homeworks before posting!

Unfortunately your dump does not show values, did you read it before posting? :)

I recommend to give speedmod kernel a try instead of jeboo.

For next dump, set reference to since unplugged, unplug and leave the phone idle for some hours.

Did you see my "feature" requests? _D

On 4.2.1 it performs pretty well, on all of my devices, on 4.2.2 it does it too but , shame on me, i didnt check the alarm section after the upgrade yet, so tomorrow i can deliver this information (Nexus).

Galaxy SII CM10.1 - 4.2.1 (tommorow they will probably release 4.2.2) no issues with latest RC.

Nexus 10 - 4.2.1 Stock - No Issues, neither on 4.2.2 but not yet fully checked.

Sensation (Pyramid) - 4.1.2 CM10 AOKP - No issues but still weird values (Github #332).

Thx for your work!

Tapatalked from my Galaxy SII
[BetterBatteryStats] Stryder5:
Downloaded latest BBS version with 4.2.2 rom and kernel shows empty alarm and cpu state for me too.

EDIT: Cpu State shows, but I had to refresh first. Initially said battery service could not be contacted. Refresh then shows CPU states. Still no luck with alarms.
[BetterBatteryStats] Karpfenhai:
Please check whether /proc/wakeup_sources exist and post its content here (wrap

around)

Thx!
[BetterBatteryStats] skivnit:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Guys can you please look at my alarm dumpsys? (chamonix wink) I see a lot of Gtalk wakeups but I froze it long time ago. I have sync disabled as well

http://db.tt/zP0W4Otm
[BetterBatteryStats] chamonix:
It's a little hard to tell without more context (runtime). Would you mind posting a full dumpfile?
[BetterBatteryStats] chamonix:
I have updated my gnex to 4.2.2 and am looking into the 4.2.2 issues right now
[BetterBatteryStats] skivnit:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

I'm gonna take one tonight and post it tomorrow
[BetterBatteryStats] chamonix:
Who does that in a suposedly hotfix version?

New format

ccc71.bmw +23s591ms running, 11 wakeups:
+23s591ms 11 wakes 11 alarms: cmp={ccc71.bmw/ccc71.bmw.lib.bmw_scheduler}
com.whatsapp +60s639ms running, 1 wakeups:
+60s589ms 0 wakes 13 alarms: act=ALARM_ACTION
+50ms 1 wakes 1 alarms: act=ALARM_ROTATE_LOGS

Old format

com.android.deskclock
318ms running, 1 wakeups
1 alarms: act=com.android.deskclock.ALARM_ALERT flg=0x14
com.google.android.gsf
90366ms running, 86 wakeups
1 alarms: act=com.google.android.intent.action.GTALK_RECONNECT flg=0x14
53 alarms: flg=0x14
9 alarms: act=com.google.android.intent.action.MCS_HEARTBEAT flg=0x14
23 alarms: act=com.google.android.intent.action.SEND_IDLE flg=0x14
[BetterBatteryStats] bturner75:
I too downloaded and installed 4.2.2 and am getting empty alarms.
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Does it indicate easy to fix? :cool:

Tapatalked from my Galaxy SII
[BetterBatteryStats] chamonix:
Well it requires a new parser and a check in order to determine which one is to be used so it's a little fiddling but basically pretty straight forward. Testing in 5

Edit: coding done

Edit2: testing done, release will be up in a few

Edit3: done
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

First thing I do tomorrow after heading home, test new release on the nexus :p

Tapatalked from my Galaxy SII
[BetterBatteryStats] chamonix:
1.12RC8

New RC is up for the Nexus users among us who had problems with alarms on 4.2.2. No other fixes in this release. Thank you for giving me some feedback on both 4.2.2 and other version so that I can rule out any regressions potentially caused by ugly version testing (SDK_INT is still 17 as in 4.2.1)
[BetterBatteryStats] chamonix:
Going to sleep now and will work on RC9 tomorrow, adding a few fixes and maybe some features. You guys have been waiting for 1.12 so long that I want to add a few more goodies
[BetterBatteryStats] chrone:
Re: [APP][2.1+][16 Feb. - V1.12RC8] BetterBatteryStats

I noticed bbs could read the alarms category on nexus 4 stock rom. Could not upload bbs log from tapatalk, will update later from PC.

Edit:

I missed the reported alarm issues on 4.2.2.

Sent from my Nexus 4
[BetterBatteryStats] kpavl01:
Sorry for bothering now, but you told me I should type *#*#4636#*#* after full charge. I typed it into dialer and nothing happens.

EDIT: it didnt work so i googled a little bit and found an app that does that.

Is this that you were looking for?
[BetterBatteryStats] Stryder5:
Tested RC8 on the Nexus 4 (PA 3.0 ROM with 4.2.2 build and kernel) and alarms are showing up again. Thanks!
[BetterBatteryStats] acme99:
Soooo... My IIIS started to act crazy again... And I think I have a clean log...

https://dl.dropbox.com/u/21818788/BetterBatteryStats-2013-02-15_011814574.txt

Unfortunately, my phone isn't rooted because I need Good for Enterprise to access my corporate email and this app won't run on a rooted phone.

Anybody can make sense of this? I wasn't using the phone... It lost about 10% an hour, doing "nothing".

Any help and suggestion will be greatly appreciated. :)
[BetterBatteryStats] eths83600:
hello guys here is my log after 8 hours of deep sleep

I woke up with only 40% left and android os using 90% of the battery.

I know about "line", but I don't think it's the only reason since I don't have the drain on other kernel.

only on the stock one.

why not using other kernel then? because my phone is only stable with the stock one.

thank you
[BetterBatteryStats] Casanoaa:
Sv: [APP][2.1+][16 Feb. - V1.12RC8] BetterBatteryStats

Disable naver.line.

Disable fd with gokhan morals fd app.

Your browser is downloading something look for your settings in browser. Disable auto location in browser.

Disable all locations services in rom / settings.

You have bad coverage switch to better coverage. If you are on 3g/lte then try gsm.
[BetterBatteryStats] eths83600:
Re: [APP][2.1+][16 Feb. - V1.12RC8] BetterBatteryStats

By bad coverage you mean changing modem/radio?

Thank you for helping
[BetterBatteryStats] hikki6139:
I think UI can do better !
[BetterBatteryStats] Casanoaa:
Sv: [APP][2.1+][16 Feb. - V1.12RC8] BetterBatteryStats

No switch to gsm if you are on 3g.. Or if you are on gsm switch to 4g or 3g..
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][16 Feb. - V1.12RC8] BetterBatteryStats

Yes mate :thumbup:

Would you mind to tell me which app does this?

This looks good so after we confirmed your phone is ruining okay at stock Rom, feel free to flash your favorite cyanogen but use a fresh one, don't restore, let's see what happens then.

Tapatalked from my Galaxy SII
[BetterBatteryStats] chamonix:
Re: [APP][2.1+][16 Feb. - V1.12RC8] BetterBatteryStats

Sure. Want to submit some sketches?
[BetterBatteryStats] chrone:
Re: [APP][2.1+][16 Feb. - V1.12RC8] BetterBatteryStats

1.12rc8 works great on nexus 4 4.2.2. Will post later once get full day usage. :thumbup:

Sent from my Nexus 4
[BetterBatteryStats] linus98:
Done!
[BetterBatteryStats] Casanoaa:
Very nice.. You can disable notification led too in rom / settings.

If you don't use this disable it : 10109 (Mobile) (com.marcoduff.infocostitre.InfoCosti Tre): 107.0 KBytes 42,6%
[BetterBatteryStats] linus98:
The LED notification is disabled ...
[BetterBatteryStats] Casanoaa:
This indicates it is on.

Alarms: 26, Intent: com.android.server.LightsService.action.UPDATE_SVC_LED
[BetterBatteryStats] dragon135:
Re: [APP][2.1+][16 Feb. - V1.12RC8] BetterBatteryStats

I find AudioOut_2 partial wakelock is very high. I'm on SGS3 MR3 stock rom.

I'm not listening to music, why there is that wakelock?

Sent from my GT-I9300
[BetterBatteryStats] brack11:
Re: [APP][2.1+][16 Feb. - V1.12RC8] BetterBatteryStats

Sad story... Just upgraded the version and still have all n/a stats if I choose any other type then boot. I already sent here logcat before and after the picking boot type, should I send anything else?
[BetterBatteryStats] linus98:
R: [APP][2.1+][16 Feb. - V1.12RC8] BetterBatteryStats

Inviato con Posta Prioritaria.
[BetterBatteryStats] It_ler:
AudioOut_2 wakelock is something audio/sound/voice related.

Could be phone calls, listening music, key/touch sounds, text-to-voice or voice recognition, etc.

Difficult to identify the real cause/app/setting.
[BetterBatteryStats] dragon135:
Re: [APP][2.1+][16 Feb. - V1.12RC8] BetterBatteryStats

Ok, I just found the cause of AudioOut_2 wakelock. It is because I enable screenlock sound option in the settings.

Now the highest partial wakelock is "ActivityManager-Launch", what is it? How can I disable it.

Sent from my GT-I9300
[BetterBatteryStats] skivnit:
Re: [APP][2.1+][16 Feb. - V1.12RC8] BetterBatteryStats

http://db.tt/s0Snalp1

Looks like Gtalk is causing me a lot of trouble
[BetterBatteryStats] kpavl01:
Thank you very much.

App is called Battery Monitor Widget : https://play.google.com/store/apps/...ch_result#?t=W251bGwsMSwxLDEsImNjYzcxLmJtdyJd .

You can find Battery info in Tests.
[BetterBatteryStats] buzzing_bee:
Hi chamonix or anybody else..

is someone can help me withmy battery stat?

is there some service I must turn off or keep it on??

After full charging, i leave my phone about 8hrs, then i turn on mobile data, turn off flight mode...then i notice my battery drop 2% in 5 minutes.

Here is the detail of my phone:

Samsung Galaxy S2 I9100

Baseband version: I9100XXLS8

Kernel : PhilZ-cwm6-XWLSD-OXX-4.31-signed

ROM: XWLSD NeatRom Lite v4.3

- Turn On flight mode when im not using internet

- Brightness set to lowest

- All sound is turned off

- Motion disabled

- Dark Wallpaper

- Developer Options:

- Window animation scale : Turn Off

- Transition animation scale : Turn off

- Animator duration scale : 1x

- USB Debugging : tick

- Power saving mode all ticked EXCEPT cpu power saving

Here's the dump file and some screenshot
[BetterBatteryStats] chamonix:
Sorry to disappoint you but as the changelog says there is only one issue addressed by this RC. I will be checking your logcats as I am now working on a few things to pack into RC9
[BetterBatteryStats] chamonix:
Unfortunately those logcats are empty so no joy. I can't figure out what you did that causes the problem you describe so I guess without more help / info I won't be able to fix: I use "since unplugged" most of the time and as long as a reference exists the widget is never showing "n/a". I am sure once we have checked your logcats the sulution will be simple but I really need those before I can do anything
[BetterBatteryStats] Hexxer:
Same here. Whatever kenrel i use (harsh latest 4.2.2 or Stock 4.2.2) BBS says it cannot find the reboot.
[BetterBatteryStats] Stryder5:
Are you using RC8? Works fine with Faux kernel (006b9). I can see Boot, Uncharged, Charged, Screen Off, and Custom.

Android: 4.2.2

Device: Nexus 4
[BetterBatteryStats] Santic7:
Hello. My phone slept like a baby for one week, now it`s draining my battery again :S Last time i changed fast dormancy, disabled all location services and optimazed Maps autostarts ... Didn`t do anything special with my phone, so don`t have a clue what woke him up again :) Here are some pics of todays BBS . Thank u for help and advices . Wish u all a beautiful evening ! :)
[BetterBatteryStats] It_ler:
I can't see much in your screenshots.

Just some suggestions:

Disable Samsung Push, Google search and Viber ... if you don't need it every day.

Reboot the phone after disconnecting from USB cable.

Charge while phone is turned off.

Good luck !