What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

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

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

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
 
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:
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.
 
F
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?

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.

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.

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
 
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");
 
Back
Top