need help changing stock battery meter to read for extended battery!!!

Discussion in 'Motorola Droid 2 Global' started by joeyx2, Mar 12, 2011.

  1. Neverblu
    Offline

    Neverblu Member

    Joined:
    Jan 28, 2011
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    have you tried editing the file via pc, then loading it in an update.zip and flashing it, if you flash it, then it may change because it is not loaded at time of flashing, thus you can overwrite it.
     
  2. terrets
    Offline

    terrets Member

    Joined:
    Dec 5, 2010
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    I just tried changing it via pc. Vi still will not save. I tried flashing the file from my pc also and t says operation not permited even with permissions open to everyone. Cant delete the file either. I would try the zip idea but Im not sure how to go about setting the location the zip will unzip to...or is the update.zip full of file locations and what not..I venture now :)

    Sent from my DROID2 GLOBAL using DroidForums App
     
  3. joeyx2
    Offline

    joeyx2 Member

    Joined:
    Aug 19, 2010
    Messages:
    269
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Im wondering if the actual file that needs to be edited is actually in a different location and wont change until u edit the right file. I tried to do some more searching but had not luck. I also found this /sys/class/leds and was thinking of deleting the red one and see if that gets rid of the red led flash when battery is dying. What do u think?
     
    Last edited: Mar 13, 2011
  4. aaf709
    Offline

    aaf709 Nice Guy Premium Member

    Joined:
    Nov 18, 2009
    Messages:
    4,178
    Likes Received:
    49
    Trophy Points:
    163
    Location:
    So Cal
    Ratings:
    +49
    What I ended up doing was installing the Battery Left app. It's supposed to handle the extended batteries, but I have the widget set up to give me the voltage. I have an OG Droid with the Seidio extended battery and know that 4200mV is full and I'd better get to a charger if it's about 3500mV.
     
  5. terrets
    Offline

    terrets Member

    Joined:
    Dec 5, 2010
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    F
    Eh but why would they have the file in a different location? I think that the files are locked just out...... That would probably work, if it even lets you delete it. I would change the file name instead so if you ever want the led back.

    I think we all know about battery left....We want to get this done so we dont have to use it or another. And not have to deal with the low battery warning. :)

    I wonder if tasker can stop the notifications...

    Sent from my DROID2 GLOBAL using DroidForums App
     
  6. terrets
    Offline

    terrets Member

    Joined:
    Dec 5, 2010
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    So I tried using sed via terminal with no success. I also tried using a .zip file with these lines in the script:

    set_perm(0,0,0755,"/sys/devices/platform/cpcap_battery/power_supply/battery");
    set_perm(0,0,0755,"/sys/devices/platform/cpcap_battery/power_supply/battery/charge_full_design");
    run_program("/sbin/busybox", "sh", "sed -i 's/1390/3500' /sys/devices/platform/cpcap_battery/power_supply/battery/charge_full_design");
    run_program("/sbin/busybox", "sh", "cat /sys/devices/platform/cpcap_battery/power_supply/battery/charge_full_design");
     
  7. kickasz23
    Offline

    kickasz23 Member

    Joined:
    Feb 14, 2011
    Messages:
    154
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    has anyone made progress with this yet i been following it closely
     
  8. terrets
    Offline

    terrets Member

    Joined:
    Dec 5, 2010
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    Nope sorry. Havent been home since Friday :).
     
Search tags for this page
battery meter for extended battery
,
droid 3 extended battery meter
,
droid 4 extended battery power meater
,
droid battery change help
,
extend battery reader
,

extended battery meter

,
replacing larger battery with stock droid bionic
,
root android change battery indicator
,

when using extended battery will power meter work right s3