yashsingh1/xdaforums huggingface dataset:
[Atrix 4G General] k0sun7eash3d:
First off, I just wanna give a quick thanks to all the work that xploited and jug6ernaut have been doing to try to fix the Atrix battery problems.

I think I've finally fixed my battery issues. I've been through xploited's fix methods and have also tried jug6ernaut's CWM fix, and neither seemed to work for me. In case this will help anyone out, I'm going to provide some more info of my battery problems and my steps to fix it.

My battery problems started after flashing the 2.3.4 HKTW build, and persisted after flashing other roms including Alien and Aura (all flashed from full battery). I didn't experience any of the battery percentage jumps that a lot of people were complaining about, just massive battery drain. I would need to bump charge the Atrix multiple times just to make sure it would last the rest of the day. If this applies to you, this may the be way to go.

This process involves a FULL DATA WIPE!

Requirements:

1. CWM recovery & bootloader unlocked phone

2. Back up all data that you want to keep. (Files kept in the internal SD card should remain safe, but it never hurts to back that up as well.)

3. Charge your battery up to 100%

4. Your rom of choice. Make sure to get the full installation and not just an update file.

Steps:

1. Re-read the requirements and BACKUP your data.

2. Place the rom you downloaded into the root of the internal SD card.

3. Plug your phone into the wall charger until it reads 100% or fully charged. For simplicity's sake, just keep it plugged in for the rest of the steps.

4. Power off phone and boot into Android Recovery (hold vol. down while turning on, use vol. down to cycle through menu and then vol up to select "Android Recovery")

From CWM:

5. Select "wipe data/factory reset"

6. Navigate to "mounts and storage" and select "format system", "format cache" and "format data"

7. Go back to the main CWM menu and select "install zip from sdcard" > "choose zip from sdcard" > "Internal SD Card", and then install whichever rom you downloaded.

8. Go back to main CWM menu and reboot the phone.

9. Re-input your market credentials and download "Battery Calibration" from the market.

10. Wait until "Battery Calibration" reads 100% and click recalibrate.

This next step is completely optional. I just like cleaning out my SD card after new flashes, so that all old data from previous apps are no longer there.

THIS STEP WILL DELETE ALL INFORMATION IN YOUR SD CARD, INCLUDING PHOTOS IF YOU LEFT THE DESTINATION TO DEFAULT.

11. (Optional) Go into "Settings" > "Storage" > "Format internal storage"

Those were all the things I did to fix my battery issues. After leaving it unplugged overnight, (battery mode: performance mode) I only dropped 6%. Hopefully this will help out anyone else who still has battery issues with the Atrix. With a significantly bigger battery than most aother phones, we shouldn't be having this many problems with the battery life.
[Atrix 4G General] xploited:
Thanks for contributing. Your fix seems to be flashing a new rom while at 100% charge. And yes, that's what everyone should always be doing when flashing a rom. If you flash at 100% -> no chance to mess up the battery stats. :D
[Atrix 4G General] Deggy:
I wonder if Words with Friends is the culprit. It's the only game on my phone. The funny part is I usually kill WwF if I haven't looked at it in awhile.
[Atrix 4G General] dragoncius:
Does this fix work on an international atrix? I have 45.0.7. Orange en FR.

I can literally see my battery leaking...I know OC to 1.3 reduces battery life...but I think i have another problem...

Sent from my OC'd Motorola™ Atrix®
[Atrix 4G General] humjaba:
Just wanted to say that it's been about 3 weeks since doing most of the fix listed in the OP and I still have great battery life. Currently at 62% with 45mins of display use and 14 hours off charger.
[Atrix 4G General] andrewxu:
Thx!!!

Sent from my Atrix 4G
[Atrix 4G General] xploited:
You can do all the steps except flashing the jug6ernaut's battery fix, since I don't know if if's compatible with international Atrixes.

Otherwise, if your problem is related to messed up calibration stats - this will definitely help you. If not, see post#2.
[Atrix 4G General] xploited:
Nice to know that it helped you. Cheers. :cool:
[Atrix 4G General] Deggy:
I found an old guide that helped me with battery life on the Samsung Vibrant aka Samsung Galaxy S phone. It involves the System Panel app. I'm assuming the guide also applies to the Atrix since it's just a guide to the app itself. Enjoy!

http://xdaforums.com/showpost.php?p=8910035&postcount=31
[Atrix 4G General] dragoncius:
Thnx!

Sent from my OC'd Motorola™ Atrix®
[Atrix 4G General] shuikin:
sorry... mates...

I have a silly question:

how do u know it is 100% without turning on the phone? by message light, right?

what colour it would be?

(6. Without turning on the phone plug it into a wall charger and let it get to 100%)
[Atrix 4G General] dLo GSR:
press any button to turn on the screen and it will show you the battery level.
[Atrix 4G General] shuikin:
yes.. got it!!

thanks a lot!!
[Atrix 4G General] delewer:
Thx for the tuto

I have buy and install "systemPanel"

I see network alway have trafic... all the time, constantly... this app can see this..

But, how to know witch app use this trafic ? "SystemPanel" can it ?

I have try to kill "system" apps, and battery drain continue, but with significant amelioration.

Now, i have 2,5 days with battery. It's better in "sleep state". Rest to know how to have better battery in "run state".

Waiting for "SystemPanel" tutorial to do that.
[Atrix 4G General] cachookaman:
ive tried this twice already and both times my battery has gone up to 99% and the lock screen says that its fully charged before randomly going to 100%. in the battery calibration app it shows that its at 4207mV. im using fauxs 0.1.9 kernel with alien overclocked to 1.3 ghz and im undervolted. the first time i did it i left it unplugged while i was sleeping and it went down to 50% after 6 hours or so with nothing crazy going on in the background. the second time around the battery life has been a little better. i woke up to 77% and that was after it being unplugged for close to 12 hours. i did set a juicedefender ultimate profile this time around so that couldve helped a bit.
[Atrix 4G General] xploited:
Well, you gave the answer to your problem yourself. You had 4200MV which means you did recalibrate to full capacity.

But if you take a look at my post#2 you will see that GOOD BATTERY LIFE with DATA ALWAYS ON is IMPOSSIBLE! LOL. :p

Try turning data completely off for one night and your overnight drainage should decrease dramatically. Also, it's possibly not just the data connection's fault. Get a firewall app and leave it to monitor what's happening overnight.

One of your apps might be doing an auto refresh like every 15 minutes. :p
[Atrix 4G General] dragoncius:
With 1.3ghz oc I know my battery will drain faster. So I tried this guide without the fix...

My battery is calibrated.

I left my phone overnight in airplane mode with setcpu to less than 500mhzand only lost 4% charge. Thats good right?

Sent from my OC'd Motorola™ Atrix®
[Atrix 4G General] ranova:
Can you guys take a look at my thread over at Q&A:

http://xdaforums.com/showthread.php?p=17156630#post17156630

I found that "FDCompleteTime" was the #1 partial wake usage using BetterBatteryStats and could be the reason for poor idle time on the Atrix.

Lets see if we can confirm FDCompleteTime correlates with Force Dormancy and if there is a way to disable it.

Please run that app and let me know of your top 3 partial wakes
[Atrix 4G General] Vangelis13:
Here's mine. Alarm Manager is by far & beyond nr 1, always.
[Atrix 4G General] ranova:
interesting that you dont have any FDCompleteTimes, have you been on wifi the entire time? You can reduce the wakelocks from Alarm manager by disabling reminders in Cal - but that may not be ideal
[Atrix 4G General] Vangelis13:
Yeah, minimal gprs.
[Atrix 4G General] ranova:
I believe it has to do with mobile network Data, so since you have been on wifi the entire time, it probably wont show up
[Atrix 4G General] shanghei:
Heres my partial wakelocks on the latest cherryblur. it was on 3g the entire time (no wifi connection). FD was #1, as expected
[Atrix 4G General] ranova:
so my theory is that whenever youre on 3g, the FD process is somewhere on the list (most likely 1st).

See this thread for possible ways to disable FD. I did the titaniumbakcup freeze process way and will test out the FD thing tomorrow.

After we figure out Fast Dormancy, we need to figure out the Alarm Manager. That thing universally shows up on everyone's wake lock.

Can someone with cyanogen alpha show us their wakelock screen with that app?
[Atrix 4G General] hibanzai:
What does a heavy user get for battery life on an Atrix? 24hrs? texting and surfing most of the day.
[Atrix 4G General] xploited:
Yep, great results. The airplane mode wasn't necessary though, just make sure you turn off data / wifi / gps. ;)

And this is exactly the reason why I tell people to disable data when they don't use it ;) or at least use some app that disables data when it's idle.

Let us know what happens after your freeze "FDCompleteTime". :cool:

Heavy usage gives me up to 24 hours yes (wifi always on).

However, GPS navigation slaughters the battery like in 4-5 hours, so it depends how heavy the usage is. ;)
[Atrix 4G General] dragoncius:
Thanks. Although with heavy usage and oc I think I barely get the 12 hours...

Sent from my OC'd Motorola™ Atrix®
[Atrix 4G General] ranova:
Fast Dormancy and Alarm Manager wakelock update:

http://xdaforums.com/showthread.php?p=17179313#post17179313
[Atrix 4G General] xploited:
Thanks! Please let us know if it actually improves battery life considerably and I will add your fixes to post 2 with credits ;)
[Atrix 4G General] ranova:
yesterday, it gave an extra hour or so of battery life. That may be all dependent on what I did compared to the previous day but I have not seen any negative impact. But there were definitely a lot less wakelocks because the FD process NEVER showed up on the wakelock list! I will continue to monitor my battery life with FD disabled. When I had lightflow installed (changed colors of your notification light depending on app), it was the cause of the #1 wakelock and my battery averaged 10 hours. Now its up to 16 hours on a charge - 3g only, which I consider OK.

Definitely should install BetterBatteryStats and look at the wakelocks. If alarmManager is one of your top wakelocks, take a look at my recent post:

http://xdaforums.com/showthread.php?p=17207481#post17207481

Some things are a necessity to the android system, but others can be disabled.

For example, if you see:

com.google.android.location
11688ms running, 222 wakeups
222 alarms: act=com.google.android.location.ALARM_WAKEUP flg=0x4
com.jb.gosms

then you probably have "use wireless networks" in location settings. I believe if you disable that, you will not get those wakelocks - improving your idle time and battery. (but it makes it impossible to geolocate you)
[Atrix 4G General] Viperv10:
Discussing battery life.

We are basically discussing it over here:

https://supportforums.motorola.com/thread/55117?start=0&tstart=0

Seems for all of us if we disable push mail that battery life increase 40-50% over froyo. Enabling it kills the battery in 2-3 hours. Spoke with Google, Atrix does not use the android (active sync/exchange) client it used Motorola's. Seems that the blur service is using excessive data. On mine 100MB a hour in idle state. This has been determined to be killing the Battery.

If I change to pull every 15 mins then battery life is amazing. Enable push and all hell breaks lose. Seems to be mainly isolated to Bell Canada version of Gingerbread but some ATT users are complaining to.

I see that someone downgraded the radio on the phone to .3 vs .33 and the issue went away. I paid out right for my phone and still have lots of warranty so no moding mine.
[Atrix 4G General] Vangelis13:
Hm. So I can basically uninstall gmail, install k9 & that drain is gone...?
[Atrix 4G General] nazrin313:
This worked for me:

- uv oc 1.1ghz (max)

- alien 4 rom

- max batt saving

- no automatic location settings

- disable alarms in calender

- disable data network when using wifi

Result: 1day14hrs 19% left
[Atrix 4G General] xploited:
Thanks for the in detail post, will definitely add this info to post #2.

Which mail service is using excessive battery? gmail, mail or corporate mail?
[Atrix 4G General] xploited:
Not bad. :D
[Atrix 4G General] Vangelis13:
Screen time?
[Atrix 4G General] nazrin313:
Screen time 3hrs40mins...so, i guess enough...

Before this i was only getting 11-12 hrs with less screen time
[Atrix 4G General] KefkaticFanatic:
I would advise everyone to stay the hell away from Watchdog. I tried using it on multiple occasions (first the Lite, then Full when it was the Amazon free app) and both times I found that it ate a sizable portion of my battery life. (accounted for 5% or more of usage!)
[Atrix 4G General] vaiohk:
For some reason my atrix have two different battery reading?

100% is from the Battery Monitor Widget Pro and 99% is from the rom.

I did step 1 to 15. And the BatteryCalibration never go to 100%:(

Anyone have idea?:(
[Atrix 4G General] xploited:
BatteryCalibration app shows 4200MV, so you have nothign to worry about,

because this -

http://phandroid.com/2010/12/25/you...is-lying-to-you-and-its-not-such-a-bad-thing/
[Atrix 4G General] tian105:
bump for a great thread.
[Atrix 4G General] xploited:
I actually noticed that AlarmManager does use more wakelocks than any other process on my phone, though I don't have noticeable problems with battery life.

Stock battery stats app shows that the phone barely sleeps cause of AlarmManager.

Will have to test things with AlarmManager disabled.

lol thanks. :D
[Atrix 4G General] anupash:
That might be because your widget might not poll your battery every fraction of a second. The 99% u see is one of the features of Gingerbread kernel. It prevents overcharging your device as soon as the battery is full. And as soon as u remove the device from wall charger it will show 99%.
[Atrix 4G General] :
Hmm... followed instructions to the letter and after I got back into my phone I received error:

---------------------------------------------------

Invalid Battery

Your device battery is invalid and cannot be charged.

Replace the battery with an original Motorola battery.

---------------------------------------------------

The battery calibrator app shows 100% charge at 4200mV but the android status bar just shows a bright red battery icon. I looked around online and see no real resolution. I turned off the phone, removed battery, and plugged it back in and then tried to insert the battery but after 5 min or so it still did not show anything other than the '?' battery icon. Gonna try leaving it plugged in for a few hours as someone suggested in another forum.

Sucks.
[Atrix 4G General] xploited:
That's ....strange :confused: So the phone works fine with the battery and has usual battery life but reports it as an invalid battery?
[Atrix 4G General] :
Battery was working fine but there was no way to confirm battery life. It claimed that it would not charge and BatteryCalibrator only showed it at 100%, even after I did about 10 minutes of stress testing to force the battery life down it stayed at 100%.

A factory reset did not solve, nor did restoring from a backup in CWM.

FORTUNATELY, I was able to resolve the problem by re-applying jug6ernaut's battery fix. Perhaps something happened the first time I applied. Now, the battery is recognized; however, the entire fix was somewhat broken because my 4200mV reading is now hovering around 4060mV. Battery life is good enough that I'm just going to leave it (drained from 100% to 93% over 7 hours).

Thanks.
[Atrix 4G General] Vangelis13:
Using CM7 beta, I calibrated the battery today: wiped battery stats in cwm and also with the battery calibration app right after the boot. Let it die and charged it up; it doesn't go past 4196v which is what my battery goes up to. The meter how ever stops at 96%. Fckng annoying that thing!

Is there any point flashing the battery fix? I mean, just did a calibration and all, doesn't it mess up the stats again if I flash that?

EDIT: it (obviously) fixed itself 2-3 charges later..
[Atrix 4G General] life2monkeys:
Ive been running the CM7 beta also. My battery life has been so far rather good (right now I'm at 7 hours 23 mins off charger with a 69% charge....make your own joke...). The only thing that has me wondering is that the "phone idle" is using 48% of the battery, while "display" uses only 26%. Isn't it usually the other way around? I grabbed the calibration app from the market this morning and think I'll try what was suggested in the OP. But if anyone could tell me whether or not that is normal usage that would be cool.
[Atrix 4G General] MyronJ906:
If you were using your phone a lot, display would be higher.

If you were not using it, idle would be higher.

You can generally click on them and check the total times. If phone idle was active for less time than Display but a higher percentage, you might have a problem
[Atrix 4G General] Smittyzz:
mines 55% sitting at 3922mV is this like out of wack or bad? lol
[Atrix 4G General] Smittyzz:
82% @ 4095mV
[Atrix 4G General] Vangelis13:
97% 4113mV. And only charges to 4196mV. Which drops straight to 4160 the moment I unplug it...
[Atrix 4G General] MyronJ906:
If you charge it via USB with your computer, you might be able to get 100% to read between 4200 and 4206 MV. I discovered that setting it to "charge only" and plugging it into my laptop would prevent my phone from immediately dropping to 99% when unplugged so it does not have the same overcharge prevention that the wall charger does. So it's safe to get the battery up for calibration but I would not do it over night or anything.

Anyway, the people getting days etc of battery time are obviously including 2 cycles of themselves being asleep. Or at least I hope so. I took mine off of the charger before bed last night (that's when I calibrated) and got it down to...probably 94-96% before bed, woke up with it around 88%. Once I woke up and used it a bit, I'm down to....69% (3926 mv) with 11h 45m 59s on battery.

Display has been on for 1h and 5 mins while the phone was idle for 10h 40m and 37s

So. I suppose yeah, when the phone is idle my battery time is great. But display is eating it ferociously even when I have haptic feedback at a minimal and have lowered the automatic brightness levels in CM settings.

If I go to sleep again, I will be at what...18, almost 19 hours? I'm pretty sure I could make it to the 1 day mark if I don't charge it again before sleeping again and use it a bit less when I see the battery is getting low.

I do have a SetCPU profile to limit it when the screen is off, but that is about it. I think we all should start including *display time* in our reports of battery life and then perhaps not as many people will complain when they realize that the display time they are getting is about the same.

If the battery is actually draining considerably during idle, that's when we have a problem.

I know all of this has probably been said before, but I wanted to reiterate since it was something that just kind of hit me again last night.

On days that I have class, my Atrix tends to be at about half battery before I get home because I use it as my main source of entertainment. Texting, checking XDA, generally messing around with stuff, etc. I bet once I quit messing around so much, the battery will skyrocket
[Atrix 4G General] xploited:
Guys, mV reading doesn't show your battery capacity. It can only be used as a reference point when you are at 100%.

100% - should be around 4200mV.

After that, there is no direct correlation, so stop worrying about the mV numbers. :cool:
[Atrix 4G General] Vangelis13:
Just did 16hrs with 5hr 40mins screen time. Worse than the first two days. Guess it needs a couple more cycles..

P. S. One sleep! :-$
[Atrix 4G General] xscottishx27:
Hi guys,

I haven't calibrated or anything yet, but I've never seemed to have a problem with the battery. This is after one full charge after installing cm7 beta.

Seems to be about average or so. After a few more cycles I've managed to reach 3.5+ hours of display time in about a full day or so. Only thing I've changed are display settings in cm options.
[Atrix 4G General] freeyayo50:
If i have a replacement battery, should I do the same procedure to reset the battery stats because the new battery may have a different capacity?

---------- Post added at 03:59 PM ---------- Previous post was at 03:57 PM ----------

Did you have data or wifi turned on during this time?
[Atrix 4G General] xscottishx27:
I had data on the entire time except about ~1 hour of total wifi time before going to bed. Almost all of it is data.
[Atrix 4G General] freeyayo50:
Do you have BatteryStatus installed? If so, what is the #1 wakelock showing on your phone?
[Atrix 4G General] xscottishx27:
Don't have Batterystatus installed but I just recently installed BatteryMonitor. Want me to install that app and let you know?
[Atrix 4G General] wintermute000:
Fwiw turning off Facebook and Ebay notifications helped substantially Ymmv
[Atrix 4G General] freeyayo50:
Yes, if you can install it that would be cool. I want to see what's your your three wakelocks. Currently, AlarmManager and FDCompleteTime are my top two.

Correction...app is called BetterBatteryStats.
[Atrix 4G General] xscottishx27:
Here you go ^^
[Atrix 4G General] freeyayo50:
Thanks. My AlarmManager count is just way to high. Right now its at 15h 28m Count:13393 71%. I'm trying to figure out which app is causing this.
[Atrix 4G General] Boo_Wii:
Awesome Job with the Battery fix help tips mate!!!
[Atrix 4G General] xploited:
Yes, I noticed the same behavior on my phone. AlarmManager is definitely the main process that keeps the phone from going to sleep all the time.

The only solution i've seen so far is disabling Calendar notifications, these should lower the wakelocks caused by AlarmManager. Otherwise, I wouldn't mess with disabling this process because it's a core Android process and many things rely on it.

Anyway, I am having good battery life despite AlarmManager so I don't feel like messing with it just yet.

Can any of the CM7 people report if they are seeing the same behavior from AlarmManager?

No problem. Glad it helped. :cool:
[Atrix 4G General] akyboy:
not working for me,... tried 2 times.

also,.. yesterday i reboot my phone, before reboot it was showing 50% after reboot it was 70%,... somethings messed up here
[Atrix 4G General] Sass86:
Yes, alarm manager is highest wake lock on cm7
[Atrix 4G General] ks_:
Thanks!!! After that "strange" procedure my Atrix has spent just 30% of battery per day.
[Atrix 4G General] xploited:
Which instructions did you follow? What problems are you having besides the % jumping? How long does your batter last? (post a screenshot)

Awesome, glad it helped. :D
[Atrix 4G General] -JFK-:
Strange, I can't find "Alarmanager" and "Calendar notifications" in Titanium Backup...

How is it possible ?

Thank you
[Atrix 4G General] xploited:
AlarmManager is a process, not an app. Calendar notifications and many other things work through this process. So, if you disable calendar notifications, AlarmManager will cause less wakelocks.
[Atrix 4G General] -JFK-:
Thank you for your reply.

Noticed for "AlarmManager" it's a process, but I can't found "Calendar Notifications" in TB.

Please show me the way to disable it.
[Atrix 4G General] Amon37:
I went from the phone showing fully charged as 95% and the battery calibration manager showing 4196mv to the phone showing fully charged at 99% but now only 4090mv.

I guess that's as close to 100% at 4200mv that I"ll get, Maybe I didn't let charge enough after I pulled the battery and put it back in.
[Atrix 4G General] xploited:
Go into Google calendar app, open its settings, under "reminder settings", set alerts and notifications to "off".

My ATRIX has wrote this without my consent!