yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] connectandroid:
Are app lockers known to consume battery power ?

cheers
[BetterBatteryStats] Casanoaa:
No problem it is looking good and it is normal usage now with these apps you have installed.

---------- Post added at 12:29 PM ---------- Previous post was at 12:25 PM ----------

Normally it wont affect that. Try it. I havent that app installed.

---------- Post added at 12:30 PM ---------- Previous post was at 12:29 PM ----------

IMO no I don't think that is neccassary
[BetterBatteryStats] chamonix:
Could you possibly post a few logcat when showing raw kwl and provide the wake up sources files as counterpart.

From the screenshots it looks like the times (mapping) is borked.

I am trying to find some more reading to avoid guessing the semantics of those values too
[BetterBatteryStats] fndpena:
Hey guys, I just did an overnight test. Didn't touch the phone during the time.

I lost 3% in 8h and a half.

DUMP: https://docs.google.com/open?id=0B2xwvLA6kyxAOFBjRGNoNm5NeDA

Is there anything else I can do to decrease battery drain?
[BetterBatteryStats] Casanoaa:
Congratulations it looks very good enjoy your phone :)

---------- Post added at 04:24 PM ---------- Previous post was at 04:21 PM ----------

exactly that you are using does

com.domobile.applock (): Wakeups: 206551
[BetterBatteryStats] fndpena:
What's this?

GTALK_ASYNC_CONN_com.google.android.gsf.gtalkservice.AndroidEndpoint

Gtalk is frozen and services are disabled...

I'm still worried about the 17 minutes that the phone was awake.

Awake (): 17 m 41 s (1061 s) Ratio: 3,5%

Looks like was mostly caused by kernel wakelocks...

Also, Gtalk is showing in Alarms...

Alarms: 4, Intent: com.google.android.intent.action.GTALK_RECONNECT
[BetterBatteryStats] connectandroid:
thanks, i use perfect app protector free edition right now hmm didn't have problems on 4.0.4 stock but 4.2.1 rootbox seems alot less battery life

Here's what BBS and GSAM Battery Monitor report Samsung S2 I9100 Rootbox 3.3.1 Android 4.2.1 Battery - Imgur

not as many wakeups as above user though http://imgur.com/a/BRRvx#3
[BetterBatteryStats] onewayout:
Hi Everyone,

1st time posting a dump file here....I have very decent battery life (average 1.9-2.3% p/h on standby during the day) but have found sometimes even when the phone is on standby it is eating 10-12% per hour....I am posting my dump file and an attachment of the BBS status.

What I noticed is that the alarm manager has a fairly high count rate and that doesn't add up to all the other processes count rate...Sooooo I'm tryin to find out what it is that is still running up my count rate in Alarm manager and be able to stop that.

I DO A FORCE CLOSE as much as possible on all my apps when I see this start to creep in but still can not figure out the culprit here....

Cheers, jeff

Galaxy note no root
[BetterBatteryStats] It_ler:
To find the culprit(s) behind "Alarm manager" wakelock, you have to look into the Alarms.

But to show Alarms, you have to root your phone.

Maybe you can root your Note, then enable root feature in BBS app, record an idle dump for about 4 hours (screen off all the time), and then unroot your phone again.
[BetterBatteryStats] Casanoaa:
Yes do what Itler says. Furthermore after root you can disable apps with titanium backup:

========

realtimechar (com.google.android.apps.plus.Google+): 6 m 7 s (367 s) Count:3 1.8%

Disable google apps.

goscreenlock WakeLock

Get rid of this screenlock app.

MAIL_SERVICE (com.android.exchange.Exchange Services)

Use pop9 settings instead of exchange in stock app. 0æ

SyncService (com.evernote.Evernote):

Uninstall evernote or dont use auto sync. Manual sync.

VibratorService (com.skype.raider.Skype)

Uninstall or turn off notifications and autosync.

---------- Post added at 05:24 PM ---------- Previous post was at 05:12 PM ----------

Your dump is fine but you can also try my settings. Not so much is disabled in autostarts. When i disable more i get more wakelocks.

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

GTALK_ASYNC_CONN_com.google.android.gsf.gtalkservice.AndroidEndpoint

Is complicated to explain but it is not only google talk. It is more the android (google) system build up. It is many processes.

---------- Post added at 05:27 PM ---------- Previous post was at 05:24 PM ----------

I don't operate with gsam and this is neither the place to talk about gsam because it is bbs thread. I can only say something for bbs my friend.
[BetterBatteryStats] connectandroid:
no worries it's only mentioned as the info is all lumped into one screenshot gallery via imgurl

from this thread discussion already started uninstaller perfect app protector and my microsoft exchange email accounts as well!
[BetterBatteryStats] onewayout:
Ok Cool! I have never done that before, is there any root kernels for beginners or something fairly easy in easy out (if need be) you recomend?
[BetterBatteryStats] It_ler:
The easiest way to root your Galaxy Note (if it's a GT-N7000) is by just installing and starting Chainfire's ExynosAbuse app from here => http://xdaforums.com/showthread.php?t=2050297

As long as the Exynos exploit is not patched on your phone, this app will root (install SU).

No flashing, no yellow triangle, no touching the flash counter, etc.

Good luck !
[BetterBatteryStats] onewayout:
Alrighty then, will post my results asap...(-:
[BetterBatteryStats] BTT8:
So I followed the recommended tweaks in this thread and here is what I have thus far.

Keep in mind I did not turn off location services or auto-sync as I need those features.

What are your thoughts?
[BetterBatteryStats] Grigoriy60:
Hi Karpfenhai,

The story is:

I use external sdhc card 32gb for hd movies. The card is formatted in ntfs.

Android conflicts with such data format. So I have to use Paragon NTFS&HFS+.

But it were problems with coping files more than 4gb from my pc in MTP usb mode.

To solve this problem I need to use mass storage mode and I installed a pair of USB Switcher & Multi Mount SD Card.

Today after reading your post I dissabled the option "Check if USB cable is plugged" in Multi Mount SD Card.

Then entries "DrReadUsbStatus returns false USB is offline E/DataRouter" disappeared from logcat (in attach).
[BetterBatteryStats] Casanoaa:
You can disable maps regarding karpfenfei' post 3 in this thread.

Uninstall facebook and use another app or browser.

Turn off backup in rom/settings

Disable google search with titanium backup.

For bamdmux you can look here http://xdaforums.com/showpost.php?p=29692073&postcount=1

For smdcntl0 you can look here:http://xdaforums.com/showpost.php?p=28070352&postcount=6038

Edit: It_ler i am glad we see the same in the dumps : )
[BetterBatteryStats] It_ler:
You have many alarms.

Main reason for alarms seems to be Google Maps.

Have you read Karpfenhai's description of how to "optimize" Maps (link in post #3)?

If not, do so and give it a try.

Google search and Facebook are also very busy on your phone. Disable/freeze these apps to see their influence to your battery life.

Good luck !

EDIT:

Casanoaa was quicker than me :crying:
[BetterBatteryStats] pat357:
I applied this settings and my battery usage is reduced from 20% over 8h non-usage to 7% over 8h !!

One thing I noticed only recently is that when I press the Google search bar and than the little "mic" to speak, google displays correctly what I've said.

After this I get "Google Search stopped working" ! :crying:

Of course this might not be related to the changes, but since both have to do with google....

Can anyone please test this and report back here ? :good:
[BetterBatteryStats] BTT8:
So I did disable maps according to post 3.

This is what it looks like in autostarts.

I use Google Search quite often so I won't disable that.

I'll go ahead and turn off backup and disable Facebook and follow your links you posted as well.

As you can see, I disabled everything under Maps in autostarts. I still don't know why Maps is showing up in Alarms though. Is it because I also need to disable latitude and location services? The only I didn't do according to post 3 was sign out/freeze latitude and disable location services because I need it.

Thanks for both of your help fellas :good:
[BetterBatteryStats] It_ler:
About Google Maps:

It will generate alarms as long as location services (and latitude) are enabled. These seem to "trigger" Maps ... so it is kind of collective wakelock/alarm for general location services as well.

If you need it every day, disable all location services (and latitude) just to check your battery life without it.

Then you can decide if you want this enabled all the time or maybe keep it disabled and only enable it when you really need it.

It's your decision.
[BetterBatteryStats] Casanoaa:
Let's see your next dump. One thing at a time
[BetterBatteryStats] BTT8:
Awesome. Thanks for the quick responses guys. I'll keep ya updated.
[BetterBatteryStats] stanley08:
Save urself the stress, and Freeze Maps

1. Save RAM

2. Save Battery

3. U can always Defrost if you want!

Use Titanium backup to freeze. :)
[BetterBatteryStats] MRDOCA:
ok that made quite a bit of difference.

heres my new dump. anything else i could do? i need facebook so cant disable that :) but if theres any "tweaks" that can be done in autostart or anything let me know.
[BetterBatteryStats] Karpfenhai:
@Sven,I hope this helps, and of course zero values are disabled...

View attachment logcat-2012-12-28_231451688.txt

View attachment wakeup_sources.txt

good luck!
[BetterBatteryStats] onewayout:
Ok phone all rooted and here is the dump file...But I still see a BIG difference from my TOTAL counts on my ALARM MANGER and the counts from individual apps....?

Was still getting 7.8% p/h with phone in standby for almost 3 hrs
[BetterBatteryStats] Karpfenhai:
Here you go:

View attachment logcat-2012-12-28_232405159.txt

View attachment logcat-2012-12-28_232514005.txt

View attachment wakeup_sources.txt

Gesendet von meinem Nexus 10 mit Tapatalk 2
[BetterBatteryStats] Karpfenhai:
Alright then, leave your device idle for a certain time and let's check whether it goes to sleep now and if the suspend backoff issue persist, please post another dump.

---------- Post added at 12:06 AM ---------- Previous post was at 12:00 AM ----------

You can leave network location enabled, gps and additional Google now are battery killers, simple location services for weather and maps (if active!!) are okay, it should look like this:

Regards.

---------- Post added at 12:20 AM ---------- Previous post was at 12:06 AM ----------

Mate, Skype is a problem, it might be your main culprit right now since I see thousands of network sent activity related wakelocks in your dump, so could you disable all Skype autostarts as well?

Skype will work anyway, but needs to be in foreground to make /receive calls.

Post another dump after a certain period.

Good luck.

Tapatalked from my Samsung GT9100
[BetterBatteryStats] Tungstwenty:
From the posted file, it looks like there are double tabs separating each numeric column and a single tab between the names and the first counter.

In addition, some of the names have spaces before the tab, I assume due to printf notation requesting them to be at least 12 chars or something like that.

Since String.split() uses a regexp, my guess is that editing this line to use " *\t+" instead of "\t" should make it work.
[BetterBatteryStats] chamonix:
You are right and I anticipated that you would say that: https://github.com/asksven/AndroidC...android/common/kernelutils/WakeupSources.java

:P ;)
[BetterBatteryStats] kimber45:
Just wanted to say thanks!! I have read every page of this thread and followed all of your suggestions and my battery thanks you. Keep up the awesome work!
[BetterBatteryStats] Firnagzen:
Well, here's an overnight log dump; my battery drained from 99% to 55%. There's a massive suspend_backoff count, but I have no idea what's triggering it, and my phone is effectively not sleeping at all.

This is a clean flash of XenonHD on a Galaxy Nexus with a Trinity kernel, though I also added that entropy generator from the general section, but that shouldn't be causing this much drain. Also, I'm aware that Chrome usually causes the suspend_back off issue but I don't have Chrome on my phone; never used it.

Looking at it I note that the Alarm Manager seems rather active, so I added a dump from that, too.

EDIT: Been keeping an eye on my phone. Something is keeping the CPU at a nearly constant maxed out clock speed.
[BetterBatteryStats] MRDOCA:
Anyone?
[BetterBatteryStats] Casanoaa:
Try also disable autostarts fpr these apps or get rid of them if you dont use them.

com.viber.voip (): Wakeups: 64

Alarms: 64, Intent: com.viber.voip.action.KEEP_ALIVE_RECEIVE

com.sirma.mobile.bible.android (): Wakeups: 43

Alarms: 43, Intent: com.urbanairship.push.HEARTBEAT
[BetterBatteryStats] MRDOCA:
Ok which option should I stop? Should I post screen shots of them in autostart?
[BetterBatteryStats] Casanoaa:
Try disabling all autostarts in viber and the other
[BetterBatteryStats] Karpfenhai:
...use friendcaster instead of Facebook...

Tapatalked from my Samsung GT9100
[BetterBatteryStats] MRDOCA:
Ok thanks. There's a autostart for viber which is sms received ive left that just in case it wont work lol ill try friendcaster aswell. New log maybe tomorrow haha
[BetterBatteryStats] Casanoaa:
Yeah i have said use other app or browser but he would not : ) .

I self use friendcaster too
[BetterBatteryStats] MRDOCA:
Ill try it out. Damn viber doesnt work now lol. Im not sure which autostart controls that
[BetterBatteryStats] Firnagzen:
Just in case this got buried...
[BetterBatteryStats] MRDOCA:
Downloaded friendcaster what settings di you guys use? Notifications off? Should I uninstall original facebook?
[BetterBatteryStats] rohan007:
Doesn't show stats on my HTC desire v! Any idea?
[BetterBatteryStats] Casanoaa:
Yes uninstall original facebook and install friendcaster. I dont use any sync and no notifications in friendcaster.
[BetterBatteryStats] MRDOCA:
thanks man. so no need to stop any autostarts then. thats good
[BetterBatteryStats] Casanoaa:
I found this tip by gradesm:

Also, how do you use viber? if you don't use it that frequently, u can stop it's wakelock by exiting the viber app properly by going settings / exit. that would stop the wakelocks but you will not recieve messages and calls during that period. If you are expecting any msg and calls just simply open the app and exit by pressing the back button.
[BetterBatteryStats] MRDOCA:
Awesome bro. Thanks heaps :)
[BetterBatteryStats] Kocai:
Two dumps, both of them are data off:

https://www.dropbox.com/s/rwle676tcluqtwa/BetterBatteryStats-2012-12-27_071053400.txt

https://www.dropbox.com/s/tib0g94jedju88x/BetterBatteryStats-2012-12-28_071734103.txt

My only problem is if I turn on mobile data, I'd get high count of com.android.internal.telephony.gprs-data-stall and ever since I use JB 4.2 I can't get 4 hours of screen on time.
[BetterBatteryStats] Hilmesh:
Hello There, I am back ;). Yesterday I ended up reflashing everything as something went wrong while installing Jelly Bean MOD (Flashed over Aroma MOD and they did not like each other ;)). So I took the opportunity of wiping off everything.

Wiped Cache / Dalvik Cache

Fromat / System

Format /Emmc

Format /SDCARD

then reinstalled NeatROM LITE 4.0 with Philz 3.75 and also TWeaks from Many40. And lastly all the freezes and Autostart settings. Somehow I got the feeling that now my phone was behaving better than before. Please see attached BBS and advise. Also I noticed the following,

I have dont have any GSF wakeups ???? I know i have disabled quite a lot in that but is this normal??? Right now everything is working fine and hope nothing goes wrong ;)

WhatsAPP wakeups??? This is the first time i got so many. I have not disabled Autostarts for this. Will work on this and see how it goes

Downloads wakeups - this is new for me. I have not done any downloads so i am not sure how i got these.

---------- Post added at 06:42 AM ---------- Previous post was at 06:38 AM ----------

Hello,

You could do away with the following if they are not much used, otherwise it looks great. others to comment. :)

NFC

Google Quick Search Box
[BetterBatteryStats] stanley08:
Hey guys! Please someone take a look at this for me. Unplugged my phone when it was full, and left it idle for EXACTLY 6 hours. 12:25am to 6:25am. I lost 2% because it was 98% when i dumped the file. I'm not an 'expert' in reading this file, but this line under network... I believe had ALOT to do with the little drain. :) I mean, trying to download 3MB on an edge network of transfer rate around 20 to 50KB/s must hurt. :laugh:

10060 (Mobile) (com.android.vending.Google Play Store): 3.0 MBytes 97.7%
[BetterBatteryStats] azrash:
0.3%/h is more than good enough, just enjoy your phone!
[BetterBatteryStats] Kocai:
Thank you for looking at my dump, I don't know why NFC always shows up on my dump. I disable them so maybe there's an app that overrides my setting and enable NFC? I would like to know how I can trace the app that's doing so.

Download wakeup was maybe because you're restoring your apps? I'd like to see your dump. I think you forgot to attach it :)
[BetterBatteryStats] Hilmesh:
hi thanks. i have added the dump file :)
[BetterBatteryStats] Kocai:
If you use whatsapp often like I do, then I think the high count in alarms is normal. And do you enable vibration for the keyboard? I found that if I reduce the keypad vibration duration, audio_out2 is significantly reduced.
[BetterBatteryStats] Hilmesh:
nope i use whatsapp whevere i go online to check mails. not throughout the day. also Audio_out2 if i am not wrong is related to all sounds. i had almost 40 minutes of videos playing for my son. so that i why probably it is high ???

also i use swype. but i am unable to remove vibrate on keypress. the option is activated and faded i cannot change. :(

apart from that my phone ring is with vibrate.
[BetterBatteryStats] wlxxiii:
hi people,

my battery life is getting from bad to worse. i have tried using autostarts in post 3 to setup maps, as well as GSF. also disabled FD. is there anything else i can do to improve my batt life??

thanks in advance!:)
[BetterBatteryStats] irish-sid:
Anyone have a glance at these please?
[BetterBatteryStats] Kocai:
Since you mentioned that you did a clean install, how did you restore whatsapp? Using TB or did you downloaded it from the market? Try uninstall and install it again from the market. That high count is unusual if you rarely use it. Usually I get a high count because I use whatsapp quite often.

I'm not sure about audio_out2. I think there's a link providing info about it a few pages back.

I don't use swype so I can't help you with that. But if you often get notifications, maybe using sound is better than vibrate if you lower the volume. I personally put my phone in silent mode and rely on notification light.

I think your dump looks good though. Better than mine.
[BetterBatteryStats] Hilmesh:
@kocai, I restored all with TB. Now though after a restart things are looking ok. Will let be as it is tonite and report tomorrow.

I have made the vibration minimum for key press, let's see how it goes.
[BetterBatteryStats] Casanoaa:
Have you optimized whatsapp with autostarts app?

Sync your mails manually

Turn off nfc. Your dump is fine though anyway.
[BetterBatteryStats] Grigoriy60:
Hi there.

:( suspend backoff issue still persists.

New dump file is in attach.

Good luck!
[BetterBatteryStats] It_ler:
I think I found something: "GpsLocationProvider"

Please make sure to disable all location service options (especially GPS) in ROM/Google settings.

Good luck !
[BetterBatteryStats] Karpfenhai:
In case of suspend backoff we always need a logcat to narrow down the possible cause.

Please disable screen rotation for a test, Thx, do you have funny features like smart stay activated? Could be a sensor going mad. Btw, bmw still causes too much awake time..

Tapatalked from my Samsung GT9100
[BetterBatteryStats] Kocai:
Speaking from my experience, restoring whatsapp with TB can cause it to be not responding so I never restore whatsapp with TB anymore. I downloaded it from the market and restore the chat manually.

Hope your battery drain can improve. Go for 4 hours of screen on time :fingers-crossed:

No, I haven't. I'm not sure which one to freeze and also I'm still reluctant since I use whatsapp quite often. Do you know which one I can freeze using autostarts?

I sync mails manually. Never use auto sync.

Don't know why NFC always shows up. Maybe because of the google search? The newest update can access NFC.
[BetterBatteryStats] azrash:
Open BMW, go to settings-history and untick 'save battery history' this will reduce the alarm to almost zero. If you still need to use the history feature, change the history update interval to a longer period.
[BetterBatteryStats] chamonix:
Just guessting here as you haven't provided a dmesg yet: do you have BT on? does the suspend_backoff symtom go away if you turn off Wifi/BT?

If this doesn't help we need a dmesg.
[BetterBatteryStats] Casanoaa:
No i dont no which one but do 1 thing at a time and see the difference in alarms. I talk about whatsapp autostarts
[BetterBatteryStats] Firnagzen:
OK, I have a new dump file, along with a logcat this time. Phone totally untouched in the interim, no incoming messages or anything, wifi and data on the whole time. Lost about 11% of battery over four hours or so. Would anyone be kind enough to help me take a look?
[BetterBatteryStats] chamonix:
Unfortunately that was a stat "from/to" so I can't match the wakelock_sources content to what is on the screen. Could you add a screenshot of a raw kernel wakelock stat together with a screenshot?

I have been doing some digging into sources and updated my source with the findings. That digging confirmed that the mapping I have chosen is the right one (duration used to be sleep_time and is prevent_suspend_time in the new setup).

I have done a few other fixes so I'll push the next RC but except the trimming of the name there is no change related to wakeup_sources.
[BetterBatteryStats] chamonix:
Release 1.12RC3

New RC is up with a few fixes
[BetterBatteryStats] Casanoaa:
Just like karpfenhai said did you turn off screen rotation.

On galaxy s3 all what the gyroscope is in use make that wakelock.

Also turn off smart rotation and all that fancy samsung stuff
[BetterBatteryStats] Firnagzen:
I never use the screen rotation- it's off in the Settings, so unless there's anything else to turn off? And I'm using a Galaxy Nexus.

As far as I know, the GNex doesn't have any fancy Samsung stuff.
[BetterBatteryStats] lennie paz:
Anyone know what NetworkLocationLocator is? I think it's causing my battery drain during deep sleep. I lost 18% overnight while I was sleeping, and not using the phone.
[BetterBatteryStats] Casanoaa:
You have to look at post 3 in this thread.

Karpfenhai' maps post
[BetterBatteryStats] chris2busy:
I am getting pretty massive "alarm manager" wakelocks..does anyone have a clue as to what it may be the cause?logs attached
[BetterBatteryStats] Casanoaa:
See post 3 in this thread for maps

For google alarms http://xdaforums.com/showthread.php?p=35755907 see my settings.

Then disable all google stuff with titanium backup pro.

If you dont use viber , whatsapp then delete them. Or try disabling autostarts for the apps using the app autostarts.

Next dump i will see for 4 hours. Not a day. : )

Unplug and leave phone 4 hours without touch then dump a file.
[BetterBatteryStats] chris2busy:
Ok , but before i try that,just how safe is to do that?

I mean, could the cause the phone to crash in the middle of a busy day, e.g?

And e.g if my whatsapp,viber, fb messenger take use of google services (e.g c2dm) for their push functions, will they work properly if i disable thses(the ones that show in the link you gave me.

P.s i do not use gmaps.