EB01 Accurate Battery with charging icons UPDATED

Chris3D

Well-known member
Sep 21, 2010
646
179
0
Hi all, in pre-froyo, there was some type of bug in how the charging battery status was reported to, or read by, the framework - the battery icon in the notification bar always showed the battery as roughly 30% charged when on the charger.

Well, that seemed to have been fixed in 2.2, so I was able to put together a framework that shows accurate 1% increment icons for discharging AND charging. When charging, the battery icon turns to a plug, and displays the numeric charge level, here's what it looks like:

batt3.jpg


Here's two Clockwork flashable files, one with the modded framework, the other to return to the stock framework should anything go awry.

These are for the stock EB01 rom
EB01_Batt_Framework
EB01_Stock_Framework

These are for Adrynalyne's Superclean EB01 rom (2.1 and 2.2 only)
EB01_SuperClean_Batt_Framework
EB01_SuperClean_Stock_Framework

These are for Adrynalyne's Superclean EB01 rom (2.3 and 2.4 only)
EB01_SuperClean_23-24_Batt_Framework
EB01_SuperClean_23-24_Stock_Framework
 
Last edited:
Do I just place the file on the sdcard and then load the zip file? Or do I use Odin?
 
Awesome, the previous DL30 battery has been working fine on my EB01, but this one has better features with charging. Thanks Chris! :)
 
love your battery mod chris! Any possibility of you making a version with power button reboot options.
 
Just wanted to remind everyone, if you downloaded Chris' battery mod, please click the thanks button below his first post. Chris is also the one responsible for the debinged browser that a lot of people are using, including Adrynalyne in his superclean ROM. Thank you.
 
love your battery mod chris! Any possibility of you making a version with power button reboot options.

Sure, I'll work on that next. Shouldn't be too hard to figure out since I know the other file that'll needed to be modified.

Awesome! I love the charging one.

By the way, does anyone know if this will also work on DL30?

Thanks! And there's a good chance it would work on DL30 as well. McBane was using the DL30 one I put together on EB01 without any problems, so it seems like they're interchangeable. Always a good idea of backing up your existing framework (/system/framework/framework-res.apk) before trying it though.

EB01_SuperClean_Stock_Framework link broken FYI

Sorry, it's working now.
 
Just tried it, and it works flawlessly on DL30. Awesome work, Chris!

Thanks! It's not too flashy, graphics-wise, just clean and to the point. I tried to make it look as if it could have been stock since I'm not much for theming.

Working on the power button reboot options now.
 
Same here, I actually stopped using launcher pro, for some reason I really feel'n the stock look right now
 
I just installed this on Superclean 2.2 and everything seems to be working. It's simple and does the job. Thanks for this.
 

Forum statistics

Threads
954,077
Messages
6,960,523
Members
3,162,918
Latest member
nati