Eclipse 1.2 Battery Mod

Discussion in 'Droid Bionic Themes' started by eye_dea, Nov 7, 2012.

  1. pchmst
    Offline

    pchmst New Member

    Joined:
    Jun 28, 2010
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    0
    I seem to have found the problem. I'm just not sure what the easiest solution is, I hope you can help.

    I seems that the stock battery gauge isn't set to do 1% increments. So it only updates the 1% gauges in the same increments that it's normally set to, which seem to be 20%. Now the circle mod gauge has 1% increments, so I could foreseeably change all of the file names for the "car" stye gauge to be the same as the circle gauge and reload the systemui and framework apk's to have the new images. I could make a linux script that wouldn't be terrible to do this...

    But what I'd rather do is just add a new battery gauge with the images I want. What I'm not sure about is how easy this is to do. Or even how to go about it. Would I have to edit xml files and such things that I know nothing about in order to add a new battery gauge that would be selectable in the system menu? I'm guessing I would.

    So my question is, should I just rename the battery files for the gauge I want to be the same as the CircleMOD files and reload system and framework so that circle mod is my prefered gauge? Or should I dive into trying to add a new battery meter completely?

    Thanks for all of your help!
  2. eye_dea
    Offline

    eye_dea New Member

    Joined:
    Jan 20, 2012
    Messages:
    639
    Likes Received:
    9
    Trophy Points:
    0
    Location:
    Wisconsin
    What ROM are you running? I think you may be over analyzing the situation.
  3. pchmst
    Offline

    pchmst New Member

    Joined:
    Jun 28, 2010
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    0
    I'm running Wizzed Bean CN2 currently.

    I'm not surprised I would over analyze it, I hope it's easier than I think it will be!
  4. eye_dea
    Offline

    eye_dea New Member

    Joined:
    Jan 20, 2012
    Messages:
    639
    Likes Received:
    9
    Trophy Points:
    0
    Location:
    Wisconsin
    Ok. It looks like you need to change all 200 pngs of your gauge icons to say: stat_sys_battery_circle_(add #).png and stat_sys_battery_circle_charge_anim(add #).png. The "add #" is the number of the gauge png. This way you will not have to decompile the apk and make xml edits.
    1 person likes this.
  5. pchmst
    Offline

    pchmst New Member

    Joined:
    Jun 28, 2010
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    0
    Linux script writing here I come!

    Thanks!

    Sent from my DROID BIONIC using Tapatalk 2
  6. eye_dea
    Offline

    eye_dea New Member

    Joined:
    Jan 20, 2012
    Messages:
    639
    Likes Received:
    9
    Trophy Points:
    0
    Location:
    Wisconsin
    Let me know how it goes.
  7. pchmst
    Offline

    pchmst New Member

    Joined:
    Jun 28, 2010
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    0
    Do I upgraded my phone and never got around to this.

    But now I want to mod my new note 2 to have the guage battery meter. Stock it only has half a dozen battery icons. So I believe I have to decompile the apk and mid the xml file right?

    Do I simply add in the necessary lines in the drawable/battery*.xml files? Does the framework apk have to be modified?

    Thanks!

    Sent from my Galaxy Note 2 using Tapatalk 2
  8. eye_dea
    Offline

    eye_dea New Member

    Joined:
    Jan 20, 2012
    Messages:
    639
    Likes Received:
    9
    Trophy Points:
    0
    Location:
    Wisconsin
    Not sure about the note 2 systemui. Best thing would be to look at a ROM with the 1% battery mod and figure out how they did it.
Search tags for this page

eclipse jelly bean 1.2

,

stat sys battery circle