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

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

  1. notauser

    notauser New Member

    Joined:
    Feb 14, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Tried changing it with root explorer but wouldn't save even after changing permissions the file must be loaded in the system and that might prevent the saving of the changes also the battery capacity is also present on the uevent file within the same folder my guess is that you have to change the files in the rom befor the system is started but I'm not great at this will keep poking at it see if I can acomplish something

    Sent from my DROID2 GLOBAL using DroidForums App
     
  2. joeyx2

    joeyx2 Member

    Joined:
    Aug 19, 2010
    Messages:
    269
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Sweet glade to see some action on this its been making me mad that I never really know how much battery I have left and im starting to see extended battery treads left and right so this would be a good find. Im a noob at this stuff sorta and have limited access to a computer and I wouldn't know what to do when I can get to a computer. It wasn't that bad before with my og Droid cause a reboot seemed to recalculate the battery but the D2G doesn't. If anything can someone find a way to turn off the red flash for low battery so i dont have to deal with that for hours that would be sweet. If I get a message it wont flash green cause its to busy flashing red.:icon_evil:
     
  3. CH1L1P3PP3R

    CH1L1P3PP3R New Member

    Joined:
    Feb 13, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Thank you for starting this thread! I really hope we can figure this out, as this drives me crazy! Anyway I've read on other random forums that some custom kernels on the og droid caused the seido extended batteries to be ready correctly. However this is obviously not a solution we can peruse on the D2G at the moment. Nothing I've tried has had any luck either.

    And about the blinking light. I have tried about every app I can find in the market that claims it can disable the light and nothing has worked. However, for some reason, sometimes when I pull down the notification bar and then press the power button to lock my screen, the light will stop and it will even blink the other colors when I get a notification. This does not work all the time, but it does seem to work fairly well when the phone reading first drops to ten percent and the light first comes on. I'm running fission btw, and I honestly have no idea why this would work but it seems to work for me.
     
  4. Neverblu

    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.
     
  5. terrets

    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
     
  6. joeyx2

    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
  7. aaf709

    aaf709 Nice Guy Premium Member

    Joined:
    Nov 18, 2009
    Messages:
    4,178
    Likes Received:
    49
    Trophy Points:
    178
    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.
     
  8. terrets

    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
     
  9. terrets

    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");
     
  10. kickasz23

    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
     
  11. terrets

    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