yashsingh1/xdaforums huggingface dataset:
[Motorola Droid X2] Loswave:
I wiped my cache in android recovery 2 days ago. It lasted 1 day 22 hrs, got down to 10 %. If it continues this I'd say I'm good. I'm still suspicious of part of the text messaging system. I will note that when I cleared cache it actually took a lot longer than I figured it should in my case.

As juhde posted though, when the phone is running right, phone idle will be much higher than everything else, a high phone idle % is not indicative of any problem at all. I mentioned a while ago that I thought that the phone idle percentage was so high because everything else runs so smooth now. My phone having just run for 46 hours on one charge registered 79% battery usage by phone idle.

Also, another surprise, I'm not even sure about the wakelock issue anymore. I took a look at my graphs and it showed it staying awake for a 12 hour block of time at some point, at which time the battery had only declined by 10 percent.

Here is what I have noticed though, when the phone is having battery problems you can usually see the proc usage hovering a little over 1% on the logarithmic graph in system panel. When you get it to run right you'll notice it only makes it half way to the 1% line at idle half the time, the other half you'll see spots where the proc is actually totally in sleep.

So, anybody still having this problem, at minimum go into android recovery, and wipe cache data.
[Motorola Droid X2] colonel187:
Can you explain a little better. I just started using system panel. What proc? What section are you looking at? I've only been looking at top app use. And before the graphs never showed zero. System process was always number one.
[Motorola Droid X2] garywojdan81:
Another good, free app to use to monitor cpu state is cpu spy. It tracks the amount of time spent in each freq. slot, including deep sleep.
[Motorola Droid X2] Smackychops:
Are you wiping CACHE only in Android Recovery? Or DATA/FACTORY as well? I was under the impression that wiping DATA/FACTORY from Android Recovery after upgrading resulted in losing Root access.
[Motorola Droid X2] Loswave:
Sure, first make sure you have it set up to monitor in settings. You'll need to have it running for quite some time, 12-24 hours to get any useful results. When you go into monitor hit history, then at the top tap where it says top apps, and then tap plot. Now leave it overnight preferably. At night the phone will have a long period of nearly no activity. This gives you a good baseline as to what your idle activity looks like. For reference mine rarely show no activity at all, but at idle it is usually just over half way to 1%. When it was having battery issues it would hover really close to 1%. Keeping in mind that it is a logarithmic scale, that's a difference of about .66% or so, and that's big over 8 hours. Hope that helps.

I only wiped cache because I am trying to find out where the problem is. It seems to be working thus far, but if it doesn't then data/factory should fix it. Doing a data/factory wipe sets everything as though it were a fresh direct install of the rom at it's current update level. So basically it will act as though you installed a pristine prerooted GB rom. Which technically you don't get even when you install it right after flashing stock. There will still be components of the stock froyo build that make it over. Even though they may not be needed anymore. So you will only loose root if the current rom you have installed didn't have it to begin with.
[Motorola Droid X2] Smackychops:
Ah. So it doesn't touch the apps that were installed from whatever ROM you last flashed. Does it just not touch the ones that reside in system/data? If I manually moved an app in there (such as the new video gtalk.apk), would it then be protected from any future wipes?
[Motorola Droid X2] Smackychops:
Ok, so I wiped DATA/FACTORY from Android Recovery after flashing P3's update.zip. Superuser is still there, but now apps that ask for root are no longer finding root access, such as titanium backup. How? What? Why?

EDIT: upgrading SUPERUSER app fixes the issue, somehow. I am now wondering what wiping DATA/FACTORY does that requires this, as Titanium Backup will run just fine without the upgrade to SUPERUSER if the wipe was done BEFORE flashing P3's update.
[Motorola Droid X2] Loswave:
Did you wipe cache as well? Sounds like that may have been your problem.
[Motorola Droid X2] Smackychops:
It's not really a "problem" since it was fixed by the market upgrade to Superuser. I would just really like to know why it temporarily broke it and what exactly it did to the system to become incompatible with Titanium Backup. Can someone please explain this to me?

Also, wiping DATA automatically wipes CACHE as well, doesn't it? In the old system recovery before the 2.3.3 update, the option read: Wipe DATA/CACHE Factory Reset. And the command lines read: FACTORY WIPE COMPLETE...... followed by CACHE WIPE COMPLETE
[Motorola Droid X2] dkahs23:
Do you think that maybe the phone idle percentage, is a percentage that the phone has been idle. And that's the main thing that has the most consumption of the battery. In other words the phone was not used and the battery usage percentage reflects what item used the most part of the battery. I bet if you used an app and left it open all night after a full charge that app will show a high percentage. I hope I'm saying that right. Sorry if it sounds confusing.
[Motorola Droid X2] dkahs23:
And maybe the battery drain has something to do with the dual core processor. Maybe the Gingerbread 2.3.3 update utilize both cores of the processor better that froyo 2.2.2
[Motorola Droid X2] bswides412:
I just saw this article on XDA this morning and thought this app might be of use to some people having issues with their idle battery drain.

http://www.xda-developers.com/android/monitor-your-battery-drain-on-standby-with-drainguard/

I have not had a chance to use it, but it sounds like you can compare how much battery is being drained with the device on standby compared to if it was on. The article describes what it does better than I am. Check it out if interested.
[Motorola Droid X2] PnoT:
I'm seeing the same thing with idle being 50-60% and the phone will last maybe 8 hours max before it dies. I'd like to point out I'm not using it for much at all during the day and wifi is off. I've recalibrated the battery a few times and nothing really helps.
[Motorola Droid X2] colonel187:
Might be fixed. I have never had a period of inactivity before. Now I do.
[Motorola Droid X2] rothjm:
What did you do different?
[Motorola Droid X2] Smackychops:
EDIT: retracted. irrelevant.
[Motorola Droid X2] colonel187:
I wiped data and cache like 5 times in android recovery and went through the sbf / upgrade process again, wiping 3x at every step and then again after upgrade finished. Also after de-bloating.
[Motorola Droid X2] Smackychops:
fig 1:

I really don't think battery drain has anything to do with system processes at all. I think the screencap up there really illustrates this better than I can verbalize.

What I did was to put the phone into airplane mode overnight, and just compare it to the phone during normal waking hours with data on, so that normal system processes have a chance to do their thing. Inbetween, I had a period of heavy use, as you can see by both the battery drop rate and by the CPU use and device activity. Anyways, from what the data looks like, any intermittent CPU activity under 3% doesn't seem to affect battery drain to any significant degree. (Keep in mind that I did this experiment under the cache wipe conditions as described by "the colonel187".)
[Motorola Droid X2] Elite49:
Do you usually run it overnight with data saver?
[Motorola Droid X2] Smackychops:
No, I don't.

Our lab gets equipment failure notifications sent to our cell phones and e-mails, so I generally have "sync without restrictions" on all the time. I had all my calls forwarded to my other number so that I could be on airplane mode for this.

EDIT: in any case, you can see that in airplane mode even with "sync without restrictions", there is no CPU activity, so it seems like either airplane mode tells the phone to stop running the sync processes entirely, or that the processes don't eat CPU time without radio signal.
[Motorola Droid X2] Smackychops:
Also, I'm not trying to start any dissent among the ranks here, but here's an interesting article about whether you actually need to wipe once, or wipe X# of times: http://cvpcs.org/blog/2011-06-05/time_to_wipe_data/cache

As always, anything I'm showing does not represent my own personal opinions on the matter, as I have none. I'm only throwing out existing ideas/data for general analysis.
[Motorola Droid X2] juhde:
Good to hear you may have resolved it.

For comparison I'm recording my system panel for a day right now and I'll upload it when finished. But if I recall correctly, my usage was much lower overall. We'll see in a few hours I guess.

Sent from OH MY GOD IS THAT A SQUIRREL!
[Motorola Droid X2] colonel187:
Sweet. Looking forward to comparing
[Motorola Droid X2] Loswave:
My phone has begun acting up again. Awesome. I figured after a 46 hour battery life I had it solved, now today we're down to 40% after 11.5 hours. Not unusably bad, but really really agitating me now. I've been running system panel for a week now, and I can say that at least on my device, there is a clear correlation between idle cpu utilization and battery life. Getting good battery life it idles at about .3% or so. When it's being bad it hovers much closer to 3%. The real neusance is there is no account of where that extra power is going... I can look at my graphs for every process over the course of a week, with 2 days of good life and the rest bad, and not one process reports a single difference... and yet the overall graph claims a fairly substantial difference. I guess I'm going to have to suck it up and wipe data, I've been trying to avoid it cause I really wanted to actually solve the problem... well that and being so busy I really don't want to take the time to do it... bleh.
[Motorola Droid X2] Smackychops:
What's your battery discharge rate at 0.3% compared to your battery discharge rate at 3%?
[Motorola Droid X2] Loswave:
Couldn't give you an exact number, but I'd estimate a little over 5% per hour with the 3%. At .3% it would have been a little under 2% per hour. Those estimates are purely during idle, during times with no usage what so ever. It's now down to 20%, so in the last 2 hours it's gone down 20%. No good.
[Motorola Droid X2] stick1300:
Yeah, battery life seems pretty hit or miss for me too. Some days it's pretty good, others it's not so hot. Wish we could get some real answers....
[Motorola Droid X2] Smackychops:
Procedural question for everyone out there who has had success after wiping while reinstalling the upgrade. Are you Android Recovery wiping at every step? If so, how are you getting back into CW Recovery to run the update.zip after wiping from Android Recovery? Doesn't it just boot right back into the normal boot sequence?
[Motorola Droid X2] colonel187:
Wipe after sbf before root and recovery, then wipe after update. Only using android recovery to wipe
[Motorola Droid X2] Smackychops:
you also mention wiping again after de-bloating. this a full data/cache/factory wipe after uninstalling the bloat? or just cache alone?
[Motorola Droid X2] juhde:
Okay I took 2 sets of screen shots.

These are after about 4 hours, normal usage (normal for me)

Theses are taken about 15.5 hours in, or about the time most of you say your battery goes flat (again normal usage for me)

I don't use juice defender, my twitter polls every 3 minutes, I'm even running a live wall paper. A couple games played, a few phone calls and I didn'T touch the phone for 7-8 hours while I slept.

I hope these help for comparison.

Sent from OH MY GOD IS THAT A SQUIRREL!
[Motorola Droid X2] richgangsta41:
How did u do it?
[Motorola Droid X2] juhde:
The only thing I've modified is that I removed about 80+- system apps/bloat.

Sent from OH MY GOD IS THAT A SQUIRREL!
[Motorola Droid X2] Smackychops:
[NOTE: all the % battery that I'm reporting here is a calculation based on the % at the start of the red line, and the % at the end of the red line, collected from 1% battery increment widget. The rate is per % drop per hour.]

Ok, so it seems like your average GB consumption is actually pretty close to the average that I've been getting, which is somewhere between 3-4% per hour, with light use.

However, it still doesn't hold a CANDLE to what Froyo can do in terms of battery life, which is closer to 1.8% in the same light use...

and only topping out close to 3% with HEAVY use, which I'm guessing was the point of the OP in this thread, that GB is much worse with battery life.
[Motorola Droid X2] juhde:
The end of this battery cycle. I'm sorry dude but I never got this kind of battery life on froyo. Gingerbread wins.

Sent from OH MY GOD IS THAT A SQUIRREL!
[Motorola Droid X2] Smackychops:
Hmm... I guess it might just boil down to hardware differences between either our phones or the batteries. I can't explain it. I used to be able to get around 30 hours out of froyo.
[Motorola Droid X2] stick1300:
There have been a couple days that I've been at 40% after 12-14hrs, then others I'm down to 20% or less after 10-12hrs. My usage really doesn't vary much at all from day to day, so I don't know what causes the extra drain.
[Motorola Droid X2] garywojdan81:
Variance in signal strength maybe? Monitor the actual value & not the graphic. It seems that while moto has a better radio than Samsung, their reporting runs to the high side as well. It might display an overly optimistic bar graph a little more readily than other phones.
[Motorola Droid X2] LancerV:
I'm at 18hrs and 50percent battery for me removing all the authentication services nearly tripled my battery
[Motorola Droid X2] garywojdan81:
Has it had any effect on your contacts? I've been a little hesitant to experiment too far as I need my contacts to work. Could you list exactly what you dumped?
[Motorola Droid X2] LancerV:
Nope but I only use gmail contacts
[Motorola Droid X2] garywojdan81:
Thanks, that's my primary source too & I have my fb already tied to my google acct so maybe I'll give this a shot.
[Motorola Droid X2] stick1300:
My battery was doing fairly well today, but it dropped from 60% to 50% for no apparent reason. I took a screen shot of the graph, but it seriously is a straight line down. It just dropped. I wasn't even really doing anything at the time. I was just adjusting settings on my homepages and BAM there went 10% of battery.
[Motorola Droid X2] PnoT:
I was getting 11-12 hours tops out of my phone but after flashing the Eclipse .2.1 ROM I'm up to 24 hours. I'll be adding most of my apps back and try to determine which, if any, were giving me the problems.
[Motorola Droid X2] Loswave:
I've just been watching my phone for the past few days to see what it did before I have time to sbf it, then re upgrade. What I have figured out is that without fail, I get amazing battery life as long as the phone is started and not connected to power. So fir instance, if I charge it, shut it off, unplug it, and then start it back up it does great. As soon as you plug it in however, it goes to crap. After unplugging it while it's running the battery drops back into the 5 to 7% per hour crap. I wonder if there's an rc script somewhere for plugging and unplugging where something that gets turned on doesn't get turned back off or something.
[Motorola Droid X2] lostconfuzed:
Interesting... I'll be trying this tonight. last night I charged and unplugged and woke up 9 hours later with 50% battery. Tonight I'll charge, unplug and reboot. maybe it'll help.
[Motorola Droid X2] LancerV:
Might look at your autostarts
[Motorola Droid X2] colonel187:
I have been watching and wiping and sbf'ing then re upgrading for the last 2 weeks. I have glimmers of decent battery life but nothing like I had on froyo. I don't see enough benefits to stay on GB so it looks like back to froyo for me, at least until an aosp rom is made.

P.S. completely fresh install and aggresivly de-bloated with only go launcher installed and system panel, system panel shows my phone rarely goes below 3% cpu at idle
[Motorola Droid X2] garywojdan81:
Try cpu spy from the market. Its good for tracking cpu time-in-state.
[Motorola Droid X2] PnoT:
I'm back to report that all of my apps have been reinstalled on my phone and there is no battery drain like before. I'm consistently getting 22-24hrs of life out of it and could have sworn some app was causing my issues *shrug*.

Have you tried to flash the Eclipse ROM and give it a shot to see if it clears up your issues?
[Motorola Droid X2] colonel187:
Yeah I want to try eclipse but there are still some thing broken with it, according to other posts. Waiting for next version.
[Motorola Droid X2] PnoT:
He just posted up 0.2.2 that fixes all of the outstanding issues with 0.2.1.
[Motorola Droid X2] demi9od:
Suffering from the same battery drain in GB myself, I went through all the steps of factory reset in GB, data/cache wipe, SBF to Froyo, Gingerbreak, data/cache wipe, factory reset, GB update, data/cache wipe. I was still draining 30% of my battery overnight in airplane mode. Back to manually deblurred Froyo for now.

My only complaint with Froyo is the Android System memory leak associated with installing/uninstalling apps. After restoring ~90 apps from TiBu my Android System process had climbed from 60mb to 200mb and market had crashed several times in the background. But rebooting daily is a far less severe price to pay than having a dead phone after 15 hours of idle time.
[Motorola Droid X2] esoxx:
I "fixed" my battery life problem with a clean re-install of pre-rooted GB. It's improved greatly, but I'm not getting the crazy battery life that some are reporting. I get a minimum of 16 hours of light to moderate use, sometimes close to 20. My phone idle / cell standby ratio is exactly 5:1
[Motorola Droid X2] colonel187:
As stated in another thread by Xeno62277. The trick to getting battery life back is as follows.

Charge your phone to 100%

Un plug.

Reboot phone.

There is some bug that causes rapid battery drain by "system" process after you un plug from the charger.

Rebooting seems to fix this issue.

Download a reboot app/widget from market and just do it every time you pull the phone off the charger.

I can confirm this works. Over the last 4 days I've been getting 20+ hours easy from one charge.
[Motorola Droid X2] esoxx:
I've been alternating doing/not doing the reboot after unplugging and I see a difference of about 3-5 hours of battery on my phone when I reboot. I'm a light user, but that's pretty substantial.

Edit: I am using Juice Defender to help with battery life.
[Motorola Droid X2] 07aspenx:
I like so many here have the same battery drain issues when the phone is idling. I reinstalled gingerbread and installed eclipse 2.2 Hopefully it will fix my issue. By the way eclipse 2.2 is super fast and smooth.
[Motorola Droid X2] nookie87:
Sorry to revive this zombie thread, but has anyone successfully re-SBFed, re-flashed GB (or Eclipse) that have fixed the battery drain issue while your phone is idle? I realize there's the reboot after full charge partial resolution, but that still doesn't get me the same battery life I had with Froyo, and it is annoying to have to do an extra step (however small) every day after a full charge...

As with others here, I have experienced significant battery drain/usage when the phone is not used at all. I resorted to SBFing back to Froyo and got back the battery life I enjoyed before GB. With the V6 update 8 script, quite honestly, my phone is as snappy/smooth as when I was on GB Eclipse 0.5.

Overnight (7hrs) my phone would be down around 60% after a full charge. I did the same test last night on Froyo and after 10hrs, my phone was at 88% (with an hour or so of actual email/phone use to boot!).

So for now, unless we can pinpoint the cause of the issue (which is most likely a caching issue from Froyo to GB?), I'm sticking with Froyo...
[Motorola Droid X2] zakth:
There are so many things which can factor into poor battery life that it would be difficult for anyone to provide a solid answer. One of those things is signal. While our phone can tell us how long we went without a signal it does not show what signal strength was over a period of time.
[Motorola Droid X2] nookie87:
Got my great battery life back!

I apologize in advance if this was obvious to folks on this forum, but just a quick update on my battery life...

As stated a couple of threads earlier, on pre-rooted GB/Eclipse, my battery life sucked... Phone was draining 5-10% per hour. I tried the whole process (root, bootstrap, pre-rooted GB) several times with no gain in battery life. I did the battery calibration (manually and using Battery Calibration app), used battery saving apps, and even did the reboot after full charge tricks. None of that brought my battery life on par to what I had on Froyo. As small of a task as it was, I hated the fact that I had to do extra steps (reboot after full charge), just so I could get some what decent battery life that didn't even come close to what I had before.

So I decided to SBF back to Froyo, root, and applied the latest V6 script and stayed there. I was enjoying great battery life back on Froyo for several days. This morning I received and accepted the system update push to OTA GB, half expecting bad battery life again. To my surprise, I'm happy to report that I FINALLY have good battery life on GB, just like I had on Froyo!

The difference in process is that I let the OTA GB install over Froyo instead of me flashing the pre-rooted GB. Not stating that the pre-rooted GB was bad at all. Something about that process just didn't seem to jive well with my specific phone it seems (or user error). I used the wonderful new One Click Root process on the OTA GB, and here I am on a rooted and debloated X2 on GB with great battery life.

How do I know? I'm 6hrs off the charger, used the phone for calls/emails for work, and I'm still at 90%. Previously on GB, 6hrs off the charger meant that I would be down to less than 50-60% with light use for emails/calls (and that's with me rebooting after full charge!).

Happy. Very happy now. :) Hope this helps some of you still suffering from bad battery life...
[Motorola Droid X2] ashclepdia:
So I am fairly certain that my bad battery life is due to my phone not sleeping properly. I pretty sure it shouldn't be waking up as often as it does. I would post a pic of my battery usage chart if I could but cannot upload from my phone.(computer down) when I check better battery stats it shows alarm manager as theprocess causing partial wakelocks for up to 78%my of time or battery or however it calculate that percentage not sure how to read it really.

I have tried killing background and all data andwiring syncs. And it still wakes up to often. I even took off all my app and still wakes up to often. I had my screen off all night even after a reboot after charge when I checked in morning the line for awake had big spots and small dashes all throughout showing it as awake

Anyone know of a way I can stop this from happening?
[Motorola Droid X2] theguru1974:
Nookie87 -

You said you went back to Froyo, rooted, and applied the V6 script. Did you unroot before taking the OTA GB?

Eric
[Motorola Droid X2] 07aspenx:
I can confirm that this also worked for me. I sbf'ed back to 2.2 and downloaded the 2.3.3 ota and used the one click root for gingerbread and I'm getting excellent battery life.