Former Writer · Sep 29, 2012 at 04:00 pm

Fix for Motorola Atrix 4G Battery Issues Finalized

Many of us have been battling battery life issues for as long as we’ve owned smartphones. Time and time and time again, we’ve brought you news on dealing with random battery problems or unexpected power drains. The Motorola Atrix 4G is among the devices with known battery issues, but its fix has been finalized.

The issue is that the battery percentage meter can become incorrectly calibrated. XDA Senior Member ravilov had been working on the battery issue for a bit, and has thankfully crafted a fix. In his own words:

Like many other people, I too am affected by the dreaded “won’t charge beyond xx%” battery bug. I know in reality this is probably of little importance since (at least in my case) the battery is getting decent charge and lasts long enough anyway. But I would still like to see it fully charged, at least every so often. 

So I did the procedure mentioned in this thread and it worked, but only once – the bug would appear again on the next charge cycle. Then I found this post and tried that too, and it also worked but also only once. So I decided to make this little app.

What the app does is, upon getting notified that the charger has been connected, it will automatically delete files in /data/battd (all except uid – namely cc_datacc_data_old and powerup). Then all you have to do is wait for the battery to charge as far as it goes and then reboot (and then possibly charge a little more). That’s it!
NOTE 1: Obviously for the app to work correctly your phone needs to be rooted.
NOTE 2: This app will not increase your battery life or change it in any way, shape or form. All it does is attempt to fix the percentage display.

Now admittedly, it can get annoying if you connect your phone to the computer just to transfer some files and the app gets triggered anyway because it detected charging. That’s why the auto-triggering can also be disabled in the app. You can also leave it permanently disabled and just use the “force calibration” button to calibrate your battery only when you feel like it. 

Anyway, I hope the app will be useful at least to some. The app should work on all rooted GB ROMs and possibly on ICS and JB too.

While the final version was mostly just cosmetic changes, the several releases that pre-date it brought a lot to help fix the issue. These features include:

instead of running hardcoded shell commands, now runs external shell scripts in the app’s datadir (so you can modify the scripts to your own liking)
all shell commands/scripts are now executed through busybox instead of default system shell (so busybox is now required)
separated fixing the battd datafiles (which is normally needed every so often) from fixing battd permissions and ownership (which should be needed only once)
cleanup and other improvements

In order to use the fix, simply install the app on your rooted device like you would any other APK. For more details on the bug and the fix, check out the original thread.


_________
Want something on the XDA Portal? Send us a tip!

Former Writer

Former Writer is an editor on XDA-Developers, the largest community for Android users. View Former Writer's posts and articles here.
Mario Tomás Serrafero · Jul 28, 2015 at 04:20 pm · 1 comment

OnePlus 2 Forums: Discuss Everything About The OP2!

Now that the OnePlus 2 has been officially unveiled and that we have had close-up looks at the device itself, it is time for XDA users to begin discussing what to expect out of the company's new flagship phone. Can the OnePlus 2 help you never settle? If you want to find out by discussing with fellow users, the XDA forums are the right place to do so.   The OnePlus One is known for its great community which helped...

XDA NEWS
Aamir Siddiqui · Jul 28, 2015 at 12:56 pm · 2 comments

Galaxy Unpacked: What is Samsung Going to Unveil?

Amidst all the hype of the OnePlus 2 and the rain of Moto 2015 news, Samsung tried stealing the limelight back to itself by announcing their next "Galaxy Unpacked" event, which will be held on August 13th 2015. Samsung took to Twitter to reveal a very cryptic gif associated with the event, which probably has some clue on the device(s) to be launched. The hashtag "#TheNextGalaxy" does indeed point that the event will be the launchpad for a Galaxy device,...

XDA NEWS
Mario Tomás Serrafero · Jul 28, 2015 at 12:26 pm · 1 comment

Arrow Launcher: Good Effort Without Direction

Microsoft’s Android expansion has been well received on the productivity front, but not so much in terms of original applications. While their Office suite managed to bring some of the document-editing excellence to mobile, attempts at entering one’s interface through apps like Picturesque proved to be pointless failures. But even then, some apps like Hyperlapse redeem the computing giant through great quality. Microsoft seems to be approaching Android with brute, misdirected development and plenty of unorganized output, and if they want...

XDA NEWS