[APP] [UPDATE-1/28/2013] AtrixBatteryFix 0.40

Search This thread
AtrixBatteryFix-0.40.zip? It's an apk file, not a zip. install by opening it and saying install

thanks, but I thought that's what I did. I have the zip file on my SD, and when I select it, the ROM-preinstallation window opens and the options are under Install, to "Reboot and Install" "Reboot into Recovery".

---------- Post added at 03:32 AM ---------- Previous post was at 03:04 AM ----------

Sorry to be a noob, but when I click the link for the most recent of these on a PC, it is downloaded as a zip. Why? How can I download it as an APK?

If I move the Zip directly to the phone,and run the Zip, I get Installation aborted. result was NULL, message is: assert failed: install_zip("/sdcard/AtrixBatteryFix-0.40.zip")

If I rename the Zip to an APK file on the phone and try to install, I get "permanent failure".

If I scan the QR code with the phone, and then download the link, it starts to download, but then the error is "download failed".

This is the link I'm using from earlier in this thread.
http://xdaforums.com/attachment.php?attachmentid=1684177&d=1359396572

Is there a secret masonic handshake to install this that morons like me can actually figure out? Are there steps posted?
 

palmbeach05

Senior Member
Oct 12, 2012
4,333
1,853
Motorola Atrix HD
AT&T Samsung Galaxy S III
thanks, but I thought that's what I did. I have the zip file on my SD, and when I select it, the ROM-preinstallation window opens and the options are under Install, to "Reboot and Install" "Reboot into Recovery".

---------- Post added at 03:32 AM ---------- Previous post was at 03:04 AM ----------

Sorry to be a noob, but when I click the link for the most recent of these on a PC, it is downloaded as a zip. Why? How can I download it as an APK?

If I move the Zip directly to the phone,and run the Zip, I get Installation aborted. result was NULL, message is: assert failed: install_zip("/sdcard/AtrixBatteryFix-0.40.zip")

If I rename the Zip to an APK file on the phone and try to install, I get "permanent failure".

If I scan the QR code with the phone, and then download the link, it starts to download, but then the error is "download failed".

This is the link I'm using from earlier in this thread.
http://xdaforums.com/attachment.php?attachmentid=1684177&d=1359396572

Is there a secret masonic handshake to install this that morons like me can actually figure out? Are there steps posted?

same link that i downloaded from months ago and same link i just downloaded again from. its a apk. i have no idea why its turning it into a zip. try renaming it so that it is an apk
 
Thanks!!

I wanted to take a minute to say thank you very much to the developer that made this fix available. I've been struggling with my Atrix 4G's batteries for 2 years, swapping batteries and constantly having to recharge them. 4 hours standby is the best I could get. I ran the fix and I got 24 hours on a charge (with light usage). That's as good as I've ever gotten from the device, so BIG THANKS! (And thanks also for the patience and help with the noob questions!) It makes me wonder why Motorola couldn't provide a fix?
 
  • Like
Reactions: andresrivas

johnannis

Senior Member
Oct 16, 2012
344
96
Thessaloniki
The last week (or more) the fix doesn't work for me, I tried it after a full night charge but nothing, I ve also tried calibration, even to change the charger.
It stops at 70. After the fix it goes 80 (once it was90) and it stops there. It never goes up to 100.
Has that to do with my battery? (it says good condition though)
Note that I now use Kristian's cm9 and before I was on AtrICS (the issue was on both roms)
 

ravilov

Senior Member
Jan 26, 2010
2,217
1,346
localhost
Sounds like all you're using are experimental, highly incomplete ROMs. In such case there are just way too many potential points of failure. There is a reason those ROMs are declared as experimental...
 

johnannis

Senior Member
Oct 16, 2012
344
96
Thessaloniki
I know that. I have other bugs too but I get along with them.
I was just curious with that one because it showed up last week while I use the alpha kernel based roms since August. And it was always fixable with your app until last week

Sent from my MB860 using xda app-developers app
 

ravilov

Senior Member
Jan 26, 2010
2,217
1,346
localhost
Ah, I see. Sorry, I can't really be of much help here since I never tried any experimental/alpha based stuff, plus I don't have the Atrix anymore since it crapped out on me.
 
  • Like
Reactions: johnannis

johnannis

Senior Member
Oct 16, 2012
344
96
Thessaloniki
It was up to 4185 (sometimes it was lower) witch I think it's the maximum I had all this time I mess up with roms and stuff.
Now I m on cm10.1 and it's fixed, probably it was rom related
Thanks for your interest no its OK :cool:

Sent from my MB860 using xda app-developers app
 
  • Like
Reactions: andresrivas

palmbeach05

Senior Member
Oct 12, 2012
4,333
1,853
Motorola Atrix HD
AT&T Samsung Galaxy S III
work with adnroid 4?

This works with 2.3-4.2 (personal experience) ICS and JB ROMs are experimental, so results may vary. I haven't tried it on 2.2 (haven't been on that since i originally purchased this device) or 4.3 (preview stage).

Hope that answered your vauge question (not sure if it was directed at 4.0, 4.1, 4.2, or 4.3)

Sent from my DROIDX using xda app-developers app
 
  • Like
Reactions: Burllz

Burllz

Senior Member
Jun 1, 2013
106
17
This works with 2.3-4.2 (personal experience) ICS and JB ROMs are experimental, so results may vary. I haven't tried it on 2.2 (haven't been on that since i originally purchased this device) or 4.3 (preview stage).

Hope that answered your vauge question (not sure if it was directed at 4.0, 4.1, 4.2, or 4.3)

Sent from my DROIDX using xda app-developers app
im using avatar rom 4.1. anyway thanks for the replay. will test it
 

lambo535

New member
Nov 27, 2013
1
0
Battery stuck on 1 percent

I installed this app and ran it for now my battery level is one percent it won't change. I tried rebooting and everything. Help
 

andresrivas

Senior Member
Aug 4, 2010
1,061
363
Córdoba
Let the phone discharge until it poers down, then charge the battery while phone is off and do not run the fix until it has stopped charging

Enviado desde mi MB860 usando Tapatalk 2
 

ravilov

Senior Member
Jan 26, 2010
2,217
1,346
localhost
Thanks for your improvement. Can you explain a bit more what problems did you encounter and what modifications did you make to fix them? Also would you be willing to share your modifications? If they're interesting and useful to a greater audience, I can try to include them in the main source tree.

I've started preparing a new version of the app, unfortunately life has been really hectic and as a result it's been over a year and the new version is nowhere near ready. I do plan to finish it up one day, but in the meantime I figure I should maintain the current public source code as much as possible.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 106
    [UPDATE] Version 0.40 is out.


    Recent changes:
    • added the uptime monitor
    • renamed "battery monitor" to "system monitor"
    • minor cleanup to make it more compatible with the newer SDK's lint checks
    • other changes


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

    [UPDATE] Version 0.36 is out.


    Recent changes:
    • version bump with minor cosmetic changes

    This is just a minor maintenance release, no need to upgrade if your 0.35-beta1 is working well.

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

    [UPDATE] Version 0.35-beta1 is out.


    Recent changes:
    • improved the monitoring service
    • added a new option - Only if <100% (will only run the auto-action (reboot or restart service) if the battery reports less than 100% when done charging)
    • improved the "battery full" detection code, should work better now
    • other fixes and improvements
    Also had to delete some old versions since I hit the 20-attachments-per-post limit.

    EDIT: Just realized I uploaded the wrong screenshot. :doh: Corrected.

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

    [UPDATE] Version 0.31-beta1 is out.


    Recent changes:
    • hopefully fixed the constant "superuser auth" issue on CM10

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

    [UPDATE] Version 0.30-beta1 is out.

    NOTE: Due to the significant changes in the settings/preferences part, please uninstall any previous version before installing this one. Thank you.


    Recent changes:
    • re-added deleting batterystats.bin as an option (off by default)
    • moved all preferences to the settings screen
    • added an option to turn charging on or off, and also an option to automatically turn charging off when USB power detected
    • added some heuristics to determine when the battery is done charging (if the voltage does not change within 30 minutes, the battery is considered to be done charging) - hopefully this works
    • bugfixes, general code cleanup

    Since new features were added and a significant chunk of the code has been rewritten, this is now considered beta.
    This version also makes sure to be as non-intrusive as possible - nothing will happen automatically by default, you need to initiate any actions.

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

    [UPDATE] Version 0.21 is out.


    Recent changes:
    • disabled removing the batterystats.bin file - it seems to have only caused problems with not a lot benefit. WARNING: if you're coming from an earlier version, you need to wipe app data for this to work!
    • changed defaults - now the app won't run the fix automatically when power detected by default, this should make the app completely non-intrusive by default.

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

    [UPDATE] Version 0.20 is out.


    Recent changes:
    • added an option to restart the battd service instead of a full reboot - seems to work but this should be considered a beta feature
    • moved some options to a separate settings screen
    • cleanup here and there
    Also cleaned up the attachments to this post.

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

    [UPDATE] Version 0.16 is out.


    Recent changes:
    • better handling of missing or invalid datadir
    ------------------------------------------------------------------------------------------------

    [UPDATE] Version 0.15 is out.


    Recent changes:
    • about box is now shown on first run
    • rearranged and cleaned up the about text, added the donate link (which hopefully works)
    • fix for busybox that has the ash applet instead of sh
    • busybox is no longer required, will try to use system shell if busybox is not found
    • fixed a progress dialog issue upon screen rotation
    • uploaded source code to github

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

    [UPDATE] Version 0.1 FINAL is out.


    Recent changes:
    • mostly just cosmetic changes

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

    [UPDATE] Version 0.1-beta4 is out.


    Recent changes:
    • 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

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

    [UPDATE] Version 0.1-beta3 is out.


    Recent changes:
    • run fix and recalibration right before auto-reboot too, just in case

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

    [UPDATE] Version 0.1-beta2 is out.


    Recent changes:
    • added deleting batterystats.bin
    • added fixing ownership and permissions of battd and friends
    • cleaned up the "about" and "licence" texts
    • possibly other fixes and improvements I forgot about

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

    [UPDATE] Version 0.1-beta1 is out.


    Recent changes:
    • hopefully fixed the reboot-when-charged issue

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

    [UPDATE] Version 0.1-alpha3 is out.


    Recent changes:
    • fixed some bugs that caused issues on ICS and newer
    • cleaned up the checkbox logic
    • slightly improved the UI
    • other minor fixes and improvements

    Many of the issues (namely, "null" errors) should now hopefully be gone.

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

    [UPDATE] Version 0.1-alpha2 is out.


    Changes include:
    • (hopefully) fixed su and other issues
    • added option to reboot the phone when it's done charging (hopefully that actually works :) )
    • added real-time battery monitor
    • general cleanup
    • other things I forgot

    Many issues should now be fixed, but this is still considered alpha-quality software, so be warned.

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

    So...

    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_data, cc_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.


    NOTE: this the initial release of the app, and is also my 3rd (if I'm counting them right) Android app as of yet. So be warned, this app is currently alpha-quality. Standard disclaimers apply, although I don't see how it could do any damage.

    XDA:DevDB thread:
    http://cleanimport.xda/index.php?threads/2468689/
    8
    Everythings seems to be relatively stable so far, so releasing version 0.1 FINAL.
    This time with source code. :)

    OP updated.
    6
    Version 0.35-beta1 is out. OP updated.
    5
    Version 0.31-beta1 is out. OP updated.
    This release hopefully fixes the constant "superuser auth" issue on CM10 and others.
    4
    Version 0.20 released. OP updated.

    Added the option to restart just the battd service instead of a full system reboot.
    Seems to work okay but this feature should be considered beta.