yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] gaui:
I always have mobile data turned off and have WiFi sleep policy enabled.

No, I don't have any sync apps. Removed Facebook/FriendCaster/Google+ but only syncs I have is calendar and contacts.

The only tweak I did was disabling some event stuff under "Google Services Framework".. although it didn't reduce the GTALK_RECONNECT wake-ups. Which is weird, because I am not signed in on Google Talk.

I'm always trying to improve my battery life without having to UV. I UC from 1200 MHz to 1000 MHz but I don't want to UV. Always trying different custom ROMs and different kernels. Without any major improvements.

In my opinion the main culprits are Google Apps and gprs-data-stall wakelock. But I don't want to uninstall Google Apps. But I will however try another carrier that has better signal available in my area. :)

Thanks yet again. I will post another dump soon.
[BetterBatteryStats] jeremysherriff:
There may not be much point to another log file.

The GTALK_RECONNECT has nothing to do with Google Talk - it is the Google Services Framework itself. GTalk uses it, so it has been named the wrongly and the wakelock should be called "GSF_RECONNECT". I suspect its because GTalk was developed first, and they found that the underlying communications framework could be used for all the other stuff.

In reality, as this is a Google operating system, you are not going to be able to get rid of them, and whenever you use data services (web browser etc) you'll be allowing the framework to "call home".

As I have said to others, the GTALK_RECONNECT is a symptom, not an issue - it simply points to the fact that the data connection to Google's cloud servcies has been lost and a reconnect has been tried. Often this is because of poor reception, but in your case it is because you are stopping the data connection. You yourself are causing these wakelocks.

Something you might want to think about is Chamonix's consistent advice to remove JuiceDefender and similar apps - well, you have put yourself into a similar position by disabling mobile data. People do the same when they enable airplane mode at night. You have stopped allowing the data connections to succeed, but the apps and framework will not stop trying, now they simply try and fail, and then retry. Ultimately, they use as much battery power as if they had succeeded, and often we find that they use more power by retrying then they would have if you had simply let it succeed in the first place.

If you are doing this becaue you don't have a mobile data plan, then you may have no choice - but if you are more concerned with getting days of battery life, then I'd recommend you re-enable all the framework stuff, leave all the Google apps installed and working (except Wallet!) and concentrate your efforts on finding the best radio you can, and ensuring any apps you do have/use are coded well and deal with broken data connections in a good way.

What do you consider good battery life, and how does it compare with what you get now? I wonder if your expectations are achievable.
[BetterBatteryStats] mahercs:
I see suspend under "process" and it's always listed as the first item, with a pink/red line all the way across. I lost about 4% during that time. Some how, my battery life is actually getting better, but I still get notified that suspend is using the cpu excessively.

As for the rant about Go Launcher, it's valid. It sucks a lot of juice, but on the developer's thread here on xda, folks do mention it to him. No idea if he cares. Also, the newest version has a built in app updater which is redundant to what Play Store automatically does and there are my requests to eliminate it or make it an optional plug in to ease up Go's usage. Hoping he listens.

Thanks for the review and feedback.

P.S. jeremysherriff, don't know if it matters, but suspend never seemed to misbehave when I'm plugged in??
[BetterBatteryStats] NET1028:
Thank you very much for analyze mi stats,

I have no idea about the no signal/data for 7s, recently flash a new rom, maybe is the reason for losing battery life,

Probably will be better wait till the rom stabilizes
[BetterBatteryStats] dpaine88:
Sorry for such a late reply, but I tried that command in terminal and it says "bgmr: not found"

Thank you for the help
[BetterBatteryStats] gaui:
My Android OS is often 70% which is not normal. That means in many cases wakelocks. And these locks are not on the surface, they are down under in the kernel. Because the culprits use functions in the kernel, which makes me think that it's the kernel itself, but it's not. This I know. Whether it's the GSF or some other apps, the problem is fixable/reducable.

I'm gonna change carrier, I think it will reduce these gprs-data-stall wakelocks because on current carrier the phone is always automatically switching between 3G and roaming (2G), raising these gprs-data-stall locks. My current carrier has really bad 3G reception.

After that I'm gonna post a dump and see if it's any better. I have faith that it will. :)
[BetterBatteryStats] virus786:
This is my BBS dump for today's use.

Can you guys check it out for me please?

http://dl.dropbox.com/u/24776411/Forums/BetterBatteryStats-2012-05-10_182049371.txt

Awake time is too high for my liking. I know Facebook is one of the culprits but I like the contacts sync. Is there an alternative to sync my Facebook friends to my contacts?
[BetterBatteryStats] chamonix:
If by "reset" you meant that the references/counters are cleared that is correct, as are kernel wakelocks and alarms. My understanding of "reset" in that post was that prefs were being reset.

So yes, references are cleared on boot, that is by design and there is no way to go around it as all kernel and userland counters are being reset on that even
[BetterBatteryStats] chamonix:
We are taking about 2 minutes awake in 3 hours if we substract the screen on and time in call. There is not much to say except: enjoy your smartphone
[BetterBatteryStats] chamonix:
have you tried it from adb shell?
[BetterBatteryStats] jeremysherriff:
FriendCaster will sync your FB to contacts. But FB isn't really your problem, IMHO.

This dump file shows a lot of your daily usage so it's difficult to tell what is background activity. But, for me there is a couple of things:

So, Go Launcher is something to think about. At least try running another launcher, and compare battery life.

Second, your cell reception is poor, which means your device is always going to be searching for a better tower, or a better carrier to roam to. It also means that your mobile data connection is going to drop packets, causing apps to retry connections and erconnect to push services. Your dump file says "good signal" but the screenshot clearly shows its not - it's a drab olive, instead of a bright green like I expect.

The affect of this can be seen in your alarms section - there are lots of different things labelled "RECONNECT" and the various push services have a high count - a push service should connect once and stay there, whereas your have dropped and reconnected many times.

So, you would do better to have as many of your push services converted over to scheduled sync as possible - specifically - yahoo mail. You can't stop Google Services from being push, nor Whatsapp - reconsider whether Whatsapp is actually saving you money, and get rid of it if it's not.

Check around in the forums for your S2 (ask questions) about the best radio for poor reception areas and your location - you might get lucky and find that flashing a different radio makes things much more stable.

HTH
[BetterBatteryStats] virus786:
Hmm, I am willing to try other launchers I just have 1 requirement that is non-negotiable. It MUST have folder capabilities. Can anyone recommend me a decent launcher that's battery friendly?

I forgot to mention I was at university in this one lab where we get no signal, usually i put my phone on flight mode, forgot this time though. Was only in that lab for ~1 hour. Strange though that my signal is yellow all the time because apart from the lab I have full bars and full H+ 3G everywhere else.

Btw, sync was on the whole time. I have a sync toggle that I sometimes use. WhatsApp is a must have for me. I use it quite a bit when I'm on the go.

Will do, ;)
[BetterBatteryStats] dimebagdan65:
GO launcher (and the other GO products), while amazingly customizable and functional, are serious memory and resource hogs. Bottom line, for Gingerbread and below, ADW Launcher EX... ICS, Apex Pro. These are the only two launchers I now use and recommend.
[BetterBatteryStats] cloudvn:
Thanks for your app! Useful!
[BetterBatteryStats] gaui:
How about Nova Launcher?
[BetterBatteryStats] dimebagdan65:
Apex>Nova, paid for both. The reason I prefer Apex is it has the direct screen shortcuts that were an integral part of my ADW ludicrous speed setup. I can't go back to swiping between screens!
[BetterBatteryStats] glennkaonang:
Hi, could someone please once again take a look at my dump file here. Other than WhatsApp, I'd like to know what else is draining my battery severely.

I also have some questions here.

1. Are these related to baseband/radio?

2. What about this one?

3. What's wrong with my MMC? Is it because I have a lot of music files? I use a Nexus S so it doesn't have an external Micro SD.

4. I also don't understand what causes these wakeups.

I've tried changing radios but the results were pretty much similar.

Thanks.
[BetterBatteryStats] jeremysherriff:
Not quite. The first one relates to mobile data packets received (modem_ip_rx). The second one is something to do with radio-related interfaces in the kernel.

There's a clickable Wiki icon next to that entry when you look in the BBS GUI, but essentially it is the kernel wake part of the user wakelocks ("partial wakelocks").

I believe that is more radio/mobile data, not sdcard. I might be wrong though.

Poor data connections (either wifi or mobile data) - this is the push sync connection to the google cloud stalling for some reason. Possibly happens as you switch from wifi to mobile data or back, or because you ahve gone into a poor reception area, or because you have taken a call when using 2g (gprs) data (2g can't do both call and data at the same time).

You have had some poor reception, which caused some data stalls and reconnects, as evidenced by the stuff above:

Moderate Signal (): 51 s (51 s) Ratio: 0.2%
Poor Signal (): 4 s (4 s) Ratio: 0.0%

See here:

com.whatsapp (): Wakeups: 64
Alarms: 1, Intent: ALARM_MESSAGES_DB_BACKUP
Alarms: 1, Intent: ALARM_AVAILABLE_TIMEOUT
Alarms: 6, Intent: ALARM_ACTION
Alarms: 62, Intent: com.whatsapp.MessageService.RECONNECT

com.google.android.gsf (): Wakeups: 63
Alarms: 48, Intent: com.google.android.intent.action.GTALK_RECONNECT
Alarms: 1, Intent: com.google.android.intent.action.MCS_HEARTBEAT
Alarms: 3, Intent: com.google.android.intent.action.SEND_IDLE

the two lines with "RECONNECT" ? Your push-sync services have dropped off heaps of times (62, and 48) because your internet data connection has very unstable.
[BetterBatteryStats] Irish Whiskey:
I want to thank you cause this app is great. Have been running it for awhile on TB and now have the battery at 47% after 20 hours. Found out that the "At bat lite" and "Live hold'em poker" widgets, along with "Skype" app are total battery killers.

rooting is fun.
[BetterBatteryStats] ithehappy:
Is it really? If you press 'Sign Out' and does Skype really stay on in background?

Some users said it doesn't.

:confused:
[BetterBatteryStats] consegregate:
Cannot access the download link! Would be great if you uploaded it to another server.
[BetterBatteryStats] nobnut:
This link doesn't work for you?

http://www.cri.ch/sven/lib/exe/fetch.php/computing/android/betterbatterystats_0.7.0.0.apk
[BetterBatteryStats] Irish Whiskey:
Always signed out.

rooting is fun.
[BetterBatteryStats] dzontra11:
Uuhh i cant freez Maps in Titanium i dont know why but i cant..any other solution?
[BetterBatteryStats] nobnut:
Then prevent it from autostarting http://xdaforums.com/showpost.php?p=16459247&postcount=355
[BetterBatteryStats] dzontra11:
Yes but i cant find that app on market ....:(
[BetterBatteryStats] nobnut:
Have you tried Market Enabler?
[BetterBatteryStats] dzontra11:
Great i find app but i cant find options confing......
[BetterBatteryStats] nobnut:
Are you rooted?

Click on 'Settings list', then just longpress on the top carrier name and click 'fake this priovider now'. The accept the SU permission.
[BetterBatteryStats] dzontra11:
Yep ,,sorry i find and kill damn maps..

Tnx
[BetterBatteryStats] flute:
Excellent work! Just what Gingerbread needs.

Just one question: why do I see just partial wave lock instead of

Wavelocks on my sgs2?

Thank you.
[BetterBatteryStats] nobnut:
Here is your answer
[BetterBatteryStats] JVogler:
It's always on top...with a line (starting blue, turning red) filling the whole bar.

X

5000

Sys: 9 m 6 s Us: 3 m 6s Starts:0

but it's always different...that's what it says this time.
[BetterBatteryStats] nobnut:
Weird. I get an 'M' but it references Tasker and I know what it is. Plus it only shows seconds per day. I'm sorry, I can't help you, hopefully someone else can shed some light on this.

Sent from my HTC Flyer using vodka
[BetterBatteryStats] JVogler:
It even shows in regular battery stats window as simply 'X'

And my 'Phone Idle' is always topping that list. My phone is not usuable...even if I never turn the screen on once, it's dead before I get home from work. It dies at the same speed whether I'm streaming video at home over wifi, or not doing anything at all...get's old fast for sure.
[BetterBatteryStats] galom:
The icon associated to X is the same as android system on my phone. Hope that helps..
[BetterBatteryStats] carlos67:
Hmmmmmm.........Interesting that he doesn't have either Android OS or Android system in that list. They should both be there unless he's running speedmod kernel in which case only Android system would show.
[BetterBatteryStats] JVogler:
Must have something messed up with my Android System, sounds like its factory reset time.
[BetterBatteryStats] glennkaonang:
So is it safe for me to say that my major issue is my crappy network?

I did try leaving my phone idling in 2G only, the signal was all green that time.

But since it's only on EDGE, data connection was very slow and reconnects on those push services still occured.

Once I tried changing carriers, but the results were worse.

I really have no idea what to do now.

I love my country but I hate the fact that carriers here all have crappy network.

Sorry for being off-topic here, it's just that I've been having serious battery problem for some time since the first time I had an Android.
[BetterBatteryStats] asdfzz:
so here my dump file..if someone can take a look at it.

thanks for the help:)
[BetterBatteryStats] jeremysherriff:
Not off topic at all I think. Yeah it's the crappy network. 2g will be better on your battery overall in such situations, and if the reconnects continue to occur it might not be the reception so much as some power saving/controlling features in the kernel or ROM. Or it might still be network. I guess it depends on whether the reconnects occur at the same frequency.

You could leave the phone in 2g for background data, and use a shortcut on a home screen to quickly access the mobile settings to switch to 3g when using some sort of foreground data, like web browsing or Facebook. Unfortunately the 2g/3g toggles don't work since gingerbread so you do have to go into the settings to do this. Try to remember to switch back afterwards, but if you don't the worst that happens is you have to recharge sooner. At least it won't cost you more. A pain I know, but I do this myself.

I personally think that Android is very bad at managing bad cell reception issues, I believe the radio components often go searching for different cell towers or carriers too often and without good cause, and I believe there should be a better central management system for stopping apps and frameworks from trying to open or use data connections in situations where there is none. An app should not even try to access the internet cloud services if you are in aeroplane mode or have disabled mobile data, yet they do, and they kill the battery while doing it. Nokia do much better on their old symbian OS, Apple deals with it fine on the iPhone, and I haven't experienced Windows Phone 7.5 to know about that yet. Android is definitely not the leader in this area. Yet I wouldn't use anything else, I love it despite these faults :rolleyes:

Sorry, this was supposed to be a short post lol :D
[BetterBatteryStats] glennkaonang:
I got your point and I really agree with that.

I was a BlackBerry user and I didn't find any of these bad reception issues.

But yeah, I guess I just love Android, except for this one problem.

I will try to get my phone idling in airplane mode tonight and see if there are still issues.

Thanks.
[BetterBatteryStats] lordgoata:
Is this something you could set up with Tasker perhaps ? So when Screen is on, 3G is enabled, and when its off, it reverts to 2G.

I'm running Slim ICS on my SGS2, and there is an option in Advanced Slim Settings, under Power Saving, to switch to 2G when screen is off. I've never used it before, but just enabled it to see how it goes for the rest of the day :)
[BetterBatteryStats] KennyLegend:
Wow ****... proof just how much battery FB app uses
[BetterBatteryStats] chronophase1:
Haha. Wow. Yeah. That's exactly why I prefer the mobile site.
[BetterBatteryStats] skinner12:
Hi,

Can anyone see my log and tell me what can I do to improve my battery?

http://pastebin.com/WGA9HebZ

Nocerino's Rulez with RAScarlo's ROM features TriNitY ;-)
[BetterBatteryStats] ianargent:
As far as folders, check out folder organizer. Launcher-independent folders with nesting, categorizing, and both widget and shortcut support. Config can be backed up and exported to multiple devices. I never use a launcher's folders any more, and I barely use my app tray.
[BetterBatteryStats] lanwarrior:
Attached is my dump AND History screenshot.

What intrigued me are:

1), I was able to figure most of the process causing wakelocks, but I am really puzzled with AlarmManager, which is waking up 476 times?!

2). I am not sure if BetterBatteryStats can find out, but my battery life is just horrid when the screen is ON, even when there is no heavy activity on the device:

SCREEN OFF

GPS and Wifi ON

Duration: 6 hours 54 minutes

Battery Usage: 3% (100% to 97%)

SCREEN ON

GPS and Wifi ON

Duration: 8 minutes

Battery Usage: 1%

Activities: NO heavy activities such as games or movies, such as reading book and accessing non-flash website.
[BetterBatteryStats] :
I've set this up with Tasker and it works well. Culprit is that if you switch while in a call, the call gets disconnected, so I had to work around that.

Another thing us you can't read current status for your data connection, as you can with Wifi.

I've attached my profiles and tasks to get the idea. Remember to set collision handling on the toggle task to kill the running task to avoid strange effects...

http://db.tt/TzYQ8VC0
[BetterBatteryStats] NoSpamDan:
Hi, I am seeking some help with my battery drain. I use Llama and have events set up to:

disable my mobile data 1 min after screen off, then 30 min. later, opening mobile data for 1 min

disable my WiFi 3 min after screen off, then 30 min. later, opening mobile data for 1 min when at home

disable bluetooth after 1 minute if neither of my BT headsets are connected

disable WiFi 3 minutes afterI leave my home cell area

adjust the audio profile automatically when entering/leaving work or home

During this capture since unplugged, all data-related events in Llama were disabled. I did not use WiFi, BT or GPS, but the BT event was enabled. I was at work the whole time, so my location and therefore the sound profile did not change...

I see a bunch of weird events listed that take up like 25 minutes of my 2 h 37 m 58 s capture, but I don't know that these are. I have Juice Defender Pro installed, but not enabled. I started trying Llama out about a month ago and while it's a little tricky to set up, it offers better control of things than JD IMHO.

I recently bought a 3800mAh battery for my SGSII E4GT phone, and the first day or so I got some 25 hours on it with maybe 7 hrs of screen on time. Today it seems to be draining much faster, and I am at 48% after 9+ hours with like 51 minutes of screen on time, no GPS, no BT, no calls, a couple of texts, some Dolphin browser and email activity... Yet the Android OS is going nutty-bus it seems!

Any input here would be greatly appreciated, thanks!
[BetterBatteryStats] jeremysherriff:
OK, AlarmManager is the Alarms section of BBS. Your biggest issue is Battery Monitor Widget - you are monitoring your battery use so aggressively, you're causing the battery drain:

Alarms (requires root)
======================
ccc71.bmw (): Wakeups: 91

com.handyapps.easymoney10 (): Wakeups: 73

I don't know what EasyMoney is. But it's waking your phone up.

The screen-on drain is because you have a massive screen, with high pixel count - it's going to use battery! Make sure you use low brightness settings, I prefer auto-brightness but I know many people don't. There are some apps that can help too, by tuning the brightness more finely than the built-in settings can.

But, overall, the 3% drop in 6h seems ok to me but it is a big battery... I get about 2-3% drop overnight on my 10.1 tab (wifi-only) so it sounds about right.

Change the BMW settings to check battery usage less often, and remove the BMW widget - the widget itself seems to cause wakes for some reason. When you want to see what BMW has to say, open the app. Try it for a day or two and see how it goes. Or check BBS "awakes" after another 6-hour idle to see how much lower the wake-ups from BMW are.

---------- Post added at 09:41 AM ---------- Previous post was at 09:36 AM ----------

Hi, please post another dump file that covers idle time only? This dump covers your normal day, and it's way too hard to separate your own foreground usage from the background usage that we can help with.

The only thing I can see from this dump is that you have poor reception/data connection, causing 100 gprs-data-stall wakes as the phone fails and retries some push/sync operations.

---------- Post added at 09:55 AM ---------- Previous post was at 09:41 AM ----------

Beautiful widgets is waking your phone trying to get updates. This is a common complaint about this app, you can try to change settings but most people seem to give up and uninstall it. Even just removing the widget doesn't seem to help, it still refreshes its data even if it has nothing to display. Oh.. I see it is displaying a clock (UPDATECLOCK event). Yeah, its using an alarm wake-up event to update the clock, that's going to hurt! Is it up to date? Mine doesn't do that, I use HD Widgets which is pretty much identical I think, without the battery drain.

Otherwise, things look OK. I can see that your data connection to Google's cloud services has been unreliable, so your apps and Google's framework are spinning wheels a bit trying to connect. Your agressive Llama policies are most likely causing you to use more battery by killing mobile data, and JD would have been doing the same. We'd recommend you keep data on and let the apps do what they need, rather than killing data connections and having the apps fail and retry continuously.
[BetterBatteryStats] lkoky:
Guys,

Can you help me to decipher what is causing my phone to awake during night time? attached battery usage screen shot and BBS dump file.

If I understand correctly most of the awake is caused by the phone trying to connect to mobile data network? AM I right?

my phone is

Google Nexus,

Stock ROM Android 4.0.4

IMM76I build

Radio XXKK6.
[BetterBatteryStats] chronophase1:
Edit: Seems like my alarm manager thought isn't what I was expecting. Lol.
[BetterBatteryStats] gaui:
1% in 8 minutes w/ screen on is not bad, I get 3-4 minutes