FORUMS

[PORT] Display Percent Battery Left within Battery Icon - Fresh 2.1.2+

2,416 posts
Thanks Meter: 1,403
 
By JsChiSurf, Inactive Recognized Developer on 21st July 2010, 06:10 PM
Post Reply Email Thread
I've seen a lot of chatter regarding the desire to port over the mod that was created originally, I believe by PaY87, and then ported to the EVO by kubino99.

While I generally prefer to create my own stuff, versus porting other's work, there seemed to be enough demand / desire for this, that I decided to give it a try.

I take no credit for the original mod, which is quite smart in how it was done, rather, I simply cracked open the applicable framework file (services.jar) to try and determine what was modified, and then worked to incorporate these changes, which were vast into our CDMA Hero services.jar file.

This will NOT change your battery icon / graphic in any way, it will simply add, in white text, the percent battery left, inside of your existing battery icon. While this is nice to have, if you are like me, you are now going to drive yourself crazy watching the percent value tick down!

The linked zip files, to be flashed via recovery, as mentioned, modifies a framework file, and as such, your initial boot will take a while after flashing, as your dalvik-cache will get rebuilt. This was built off of the Fresh 2.3.3 services.jar file.

FYI, since this modifies the services.jar file, the same file contains a previous mod I had done for removing the clock from the taskbar. As such, if you still do not want the clock in the taskbar, you will have to flash the mod that contains both changes (included below).

Reference:


Downlad Percent Battery Used Mod <--- Flash via Recovery

Downlad Percent Battery Used Mod + No Clock <--- Flash via Recovery
21st July 2010, 06:22 PM |#2  
Senior Member
Thanks Meter: 56
 
More
Omg I love you! (no homo) thank you!!!!!!!!!!!!!!!
21st July 2010, 06:23 PM |#3  
Tibedabeeto's Avatar
Senior Member
Flag Orlando
Thanks Meter: 35
 
More
Good look, keep up the good work.
21st July 2010, 06:32 PM |#4  
Papa Smurf151's Avatar
Senior Member
Flag Atlanta
Thanks Meter: 6,791
 
Donate to Me
More
thanks again jschisurf. Once again u out do most on this forum. Ur skills r unmatched. BTW I'm incorporating into both of my roms tonight. I've already flashed to my phone and it works perfectly
22nd July 2010, 12:55 AM |#5  
t12icky0's Avatar
Senior Member
Shawnee, ks
Thanks Meter: 186
 
More
does this kill the battery in any way? im very tempted to flash this as it looks beautiful!


**EDIT** i flashed it and it did nothing to my battery icon. the same as before i flashed it!
22nd July 2010, 01:19 AM |#6  
Member
Thanks Meter: 1
 
More
I downloaded but i havnt flashed yet.. what do i do if i dont like it.
how would i get my original display back?
22nd July 2010, 01:39 AM |#7  
kelmar13's Avatar
Senior Member
Flag SWFL
Thanks Meter: 152
 
More
Quote:
Originally Posted by primerib

I downloaded but i havnt flashed yet.. what do i do if i dont like it.
how would i get my original display back?

Restore your nandroid backup
22nd July 2010, 01:40 AM |#8  
JsChiSurf's Avatar
OP Inactive Recognized Developer
Hacksville
Thanks Meter: 1,403
 
Donate to Me
More
Quote:
Originally Posted by Papa Smurf151

thanks again jschisurf. Once again u out do most on this forum. Ur skills r unmatched. BTW I'm incorporating into both of my roms tonight. I've already flashed to my phone and it works perfectly

Thanks. Look forward to seeing it incorporated.
22nd July 2010, 01:41 AM |#9  
JsChiSurf's Avatar
OP Inactive Recognized Developer
Hacksville
Thanks Meter: 1,403
 
Donate to Me
More
Quote:
Originally Posted by t12icky0

i flashed it and it did nothing to my battery icon. the same as before i flashed it!

What ROM are you running? My best guess is you are running a stock / non-deodexed ROM, which this will not work on.
22nd July 2010, 01:42 AM |#10  
arodey's Avatar
Senior Member
Flag Cincinnati, OH
Thanks Meter: 67
 
More
Just flashed...AWESOME! Thanks for the great work to everyone involved.
22nd July 2010, 02:13 AM |#11  
Member
Thanks Meter: 1
 
More
I flashed in recovery and there was no change when i rebooted.
im running fresh 2.3.3 with a 710 v4 kernel.

Edit: nevermind..upon a second reboot it worked..
idk..if it doesnt come up the first time..shut down and just reboot again.

ill give updates soon
* i dont know if its just the fact that i pulled my phone off the the charger after sending the file to sd but my batttery has dropped from 90 to 83 within a couple minutes
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes