EB01 Accurate Battery with charging icons UPDATED

Chris3D

Well-known member
Sep 21, 2010
646
179
0
Visit site
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:

McBane

Well-known member
Nov 16, 2010
97
5
0
Visit site
Awesome, the previous DL30 battery has been working fine on my EB01, but this one has better features with charging. Thanks Chris! :)
 

Landshark

Well-known member
Jan 11, 2011
4,434
1,382
113
Visit site
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.
 

Chris3D

Well-known member
Sep 21, 2010
646
179
0
Visit site
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.
 

Chris3D

Well-known member
Sep 21, 2010
646
179
0
Visit site
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.
 

jpprice

Well-known member
Jun 30, 2010
441
53
0
Visit site
I just installed this on Superclean 2.2 and everything seems to be working. It's simple and does the job. Thanks for this.
 

Trending Posts

Forum statistics

Threads
941,387
Messages
6,908,489
Members
3,157,894
Latest member
greggplu