1. Check out our companion app, Forums for Android! Download from Google Play

Root Battery Percentage!

Discussion in 'Android Devices' started by Jedii, Oct 4, 2010.

  1. Jedii

    Jedii Well-Known Member
    Thread Starter
    183

    May 4, 2010
    1,112
    257
    183
    Analyst
    Arkansas
    You MUST have root before doing this.

    I DO NOT take credit for any of this, but it works great and i wanted to share it with you all.

    Root your device
    - Flash your recovery
    - Make a nandroid backup (just in case)
    - Download THIS zip file
    ***UPDATED FOR DJO5. FOLLOW THIS LINK http://forum.xda-developers.com/showthread.php?t=849696***
    - Place the zip file somewhere on your SD Card
    - Boot into Recovery Mode
    - Choose "Install from zip from sdcard"
    - Choose the zip file that was downloaded
    - Done! Easy right?

    Here are the pics:

    [​IMG]

    [​IMG]

    Here is the thread where i found this:
    accurate-battery-icon-for-samsung-fascinate | Taypotts Blog | Taypotts Blog

    Its a very simple process. Enjoy! :)
     

    Advertisement

    Halcyon, ktez, Konos and 16 others like this.
  2. burningembers

    burningembers Well-Known Member
    43

    May 1, 2010
    331
    26
    43
    Software Engineer
    Portland, OR
  3. ckochinsky125

    128

    Dec 5, 2009
    1,986
    53
    128
    Nice works great love it!
     
  4. PJnc284

    PJnc284 Well-Known Member
    18

    Dec 20, 2009
    70
    14
    18
    Good find. I've been waiting for a round battery meter
     
  5. Jedii

    Jedii Well-Known Member
    Thread Starter
    183

    May 4, 2010
    1,112
    257
    183
    Analyst
    Arkansas
    I know you can simply get an app/widget that will do the same thing, but i think this is a very clean/attractive method to see your battery percentage. Glad you guys are liking it :)
     
  6. Moonfire

    Moonfire Well-Known Member
    73

    Sep 11, 2010
    409
    74
    73
    Co-op'ing, doing software development in IT
    Ohio, US
    Wow! I love this so much more than the battery app I was using. Plus I finally went through all that Clockwork stuff - up till now I only went up to rooting >.<. Still not quite sure what I'm doing, but getting there at least. So thanks for posting this!
     
  7. nunyazz

    nunyazz Well-Known Member
    98

    Sep 7, 2010
    644
    90
    98
    I would love this battery but I don't get that option when I boot in recovery....

    The options I have are:

    reboot system now
    apply sdcard:update.zip
    wipe data/factory reset
    wipe cache partition

    I even tried to rename the battery.zip file to update.zip but it errors out with "verification failed"

    any ideas?
    Thanks!
     
  8. Moonfire

    Moonfire Well-Known Member
    73

    Sep 11, 2010
    409
    74
    73
    Co-op'ing, doing software development in IT
    Ohio, US
    I ran into that same issue. First you go to Apply sdcard:update.zip, and then it'll bring you into another menu, and the fifth option down is "install zip from sd card" followed by "choose zip from sdcard." From there you can navigate to where you put the battery.zip file, install it, and restart the phone (the restart option is the top one if you back up enough). Just ask if you have more questions!
     
    nunyazz likes this.
  9. SirKronan

    SirKronan Well-Known Member
    143

    Aug 26, 2010
    1,292
    196
    143
    Psychosocial rehabilitation specialist
    In a house
    How is this working out for you guys so far? Any issues?
     
  10. rimalm

    rimalm Member
    26

    Jun 24, 2010
    6
    1
    26
    So far so good for me!
     
    SirKronan likes this.
  11. SirKronan

    SirKronan Well-Known Member
    143

    Aug 26, 2010
    1,292
    196
    143
    Psychosocial rehabilitation specialist
    In a house
    Thanks for being the guinea pig! How tough was it to install? And did you do a full backup first?
     
  12. saps

    saps Well-Known Member
    233

    Sep 12, 2010
    5,092
    504
    233
    Top Secret
    WA
    No its cake. Its even simpler and easier if you have the CWM on there thru ROM Manager; which I think you do??
    If you or anyone does not I'd look into getting using ClockWorkMod/ROM Manager. This basically allows you to skip the step where you boot into recovery by holding in the volume button. You basically launch right into the CWM thru the app and then you make the same selection as mentioned above.
    Its a tad of work upfront but in the long run will save you time and effort.
    Clockworkmod installation how to for windows / *nix - xda-developers
     
  13. nunyazz

    nunyazz Well-Known Member
    98

    Sep 7, 2010
    644
    90
    98
    I don't get a different menu, it just errors out and brings up the same options again...
     
  14. Jedii

    Jedii Well-Known Member
    Thread Starter
    183

    May 4, 2010
    1,112
    257
    183
    Analyst
    Arkansas
    Have you successfully flashed clockwork recovery?

    Here, this may sound weird, but is your screen blue text or green text when in recovery?

    If it is blue with just the 4 options, you are not in clockwork.

    To properly flash clockwork, follow instructions in this link:

    Clockworkmod installation how to for windows / *nix - xda-developers

    You need to have the kernel flashed, which you probably do not. I know that via ROM manager, it will successfully "flash" clockwork, but you still need the kernel (which is provided above).
     
    nunyazz likes this.
  15. Jedii

    Jedii Well-Known Member
    Thread Starter
    183

    May 4, 2010
    1,112
    257
    183
    Analyst
    Arkansas
    I did not do a nandroid before flashing this. Its basically a theme, so i felt it was safe to not do a nandroid. Now, that being said....its always smart to do nandroid before doing anything to your phone. lol

    I have had no issues at all with this. And, its actually kinda nice. I like the color coding the developer did with the percentages.
     
  16. mrc7928

    mrc7928 New Member
    5

    Sep 29, 2010
    2
    0
    5
    Pennsylvania
    Tried it and it works great. Addresses one of my gripes. Thanks!
     
  17. Droidus

    Droidus Well-Known Member
    38

    Nov 5, 2009
    178
    13
    38
    Does this effect battery life at all? I know some battery juice display widgets and apps have this downfall.
     
  18. Jedii

    Jedii Well-Known Member
    Thread Starter
    183

    May 4, 2010
    1,112
    257
    183
    Analyst
    Arkansas
    Nope. Thats the beauty of this. Its not an app/widget.

    It pulls the information straight from /system. It simply takes place of your stock battery icon (and of course adds the extra detail).

    The percentage number is already in your phone and being figured, just not displayed. This does that for you without running a widget :)
     
  19. saps

    saps Well-Known Member
    233

    Sep 12, 2010
    5,092
    504
    233
    Top Secret
    WA
    Confirmed.
    This matches the info you'd get from any app/widget. The system itself knows what its own battery % is, thats how all those apps can access the info
     
  20. SirKronan

    SirKronan Well-Known Member
    143

    Aug 26, 2010
    1,292
    196
    143
    Psychosocial rehabilitation specialist
    In a house
    I tried to run that on my sister's. Installed rom manager and the whole bit. Did the flash in there, but never got any update.zip file. So I was never able to even see the Clockwork recovery console. It said I had in ROM manager, but I could never tell for sure. That was after doing that Odin recovery thing. Anyways. I haven't tried to put CWM on my phone yet. Is the only benefit of it that you can run the update zip files without booting into the recovery console?
     
  21. Jedii

    Jedii Well-Known Member
    Thread Starter
    183

    May 4, 2010
    1,112
    257
    183
    Analyst
    Arkansas
    CWM is a custom recovery. You need it to install roms/themes/custom zips/etc..

    You also need CWM to create nandroid backups.

    You'll MUST have CWM in order to do the Odin kernel flash. That is why you cannot get the file to work.
     
  22. taypotts

    taypotts New Member
    5

    Sep 22, 2010
    2
    0
    5
    I think it's awesome the article I wrote and posted on twitter found it's way to a forum. haha! sweet!!
     
  23. Jedii

    Jedii Well-Known Member
    Thread Starter
    183

    May 4, 2010
    1,112
    257
    183
    Analyst
    Arkansas
    I know right! Im not sure how i even found your article!
     
  24. GoBruins

    GoBruins Well-Known Member
    43

    Sep 28, 2010
    246
    44
    43
    Would this be more accurate than battery widgets that take their % from the system? For example, my battery tends to charge full, and then when I pull out the cord, the widget reads 98%. Gyea?
     
  25. Jedii

    Jedii Well-Known Member
    Thread Starter
    183

    May 4, 2010
    1,112
    257
    183
    Analyst
    Arkansas
    Yeah. Thats normal. When i pull after having it on charge overnight, it reads 96%-98%.

    They both pull from the system, but the good thing about this is it doesnt "run" constantly in the background. It simply displays what information is already there. :)
     
    GoBruins likes this.

Share This Page

Loading...