1% increment battery driver

Search This thread

Chainfire

Moderator Emeritus / Senior Recognized Developer -
Oct 2, 2007
11,441
87,685
www.chainfire.eu
I promised in one of the threads here that I would look into our (EU !) Rhodiums only reporting battery in 10% increments. As I received my Rhodiums today I did look into this. However, I didn't figure it out. I did see the structure of the battery driver and recalled no2chem mentioned a similar structure for the CDMA Touch Pro (1) - not like the GSM Touch Pro (1). So I hooked up with him on IRC and he pretty much held my hand making a 1% increment battery driver for the TP2.

So I learned a new trick and made this, all of the credit is to no2chem. I just extracted the files, sent them to him, had him walk me through the changes (and have him explain how and why), packaged it up, and this is the result. Tested on my own TP2!

no2chem's donation link is here: http://www.nuerom.com/BlogEngine/page/Donate.aspx.

Obviously, for the 1% incremental battery icons on the taskbar you will still need an icon pack and the registry entries. Refer to your favorite taskbar mod for this.

By the way, keep an eye out for no2chem's improved battery drivers - he also showed me how to do USB fastcharge and the likes. I will not mess with this, but I'm sure one day he will :)

EDIT: As further credit, no2chem was partially shown this trick by cmonex, whom we all know, respect and love ;)

EDIT#2: If this driver does not work right for you (it should, though), you can also try Quentin-'s new driver: http://forum.xda-developers.com/showthread.php?t=556318. This uses a different battery driver version as source, this one from a US device (the one I used is from an EU device).
 

Attachments

  • TP2-Batt.cab
    81.3 KB · Views: 20,585
Last edited:
  • Like
Reactions: MikeMadCZ

billu

Senior Member
Dec 10, 2007
390
17
Well done guys, just installed it and battery is showing 98%.. I knew it was only a matter of time. Some great developers around.
 

ultimate

Senior Member
Jul 25, 2005
50
0
I promised in one of the threads here that I would look into our (EU !) Rhodiums only reporting battery in 10% increments. As I received my Rhodiums today I did look into this. However, I didn't figure it out. I did see the structure of the battery driver and recalled no2chem mentioned a similar structure for the CDMA Touch Pro (1) - not like the GSM Touch Pro (1). So I hooked up with him on IRC and he pretty much held my hand making a 1% increment battery driver for the TP2.

So I learned a new trick and made this, all of the credit is to no2chem. I just extracted the files, sent them to him, had him walk me through the changes (and have him explain how and why), packaged it up, and this is the result. Tested on my own TP2!

no2chem's donation link is here: http://www.nuerom.com/BlogEngine/page/Donate.aspx.

Obviously, for the 1% incremental battery icons on the taskbar you will still need an icon pack and the registry entries. Refer to your favorite taskbar mod for this.

By the way, keep an eye out for no2chem's improved battery drivers - he also showed me how to do USB fastcharge and the likes. I will not mess with this, but I'm sure one day he will :)

EDIT: As further credit, no2chem was partially shown this trick by cmonex, whom we all know, respect and love ;)
Thanks so much, it work great!!!
 

Planet X

Senior Member
May 10, 2008
1,471
503
Amersfoort
Thank you both very much :). But I have one question. Does this new driver wil cause more battery drain cause it has to check more intensive or often?

Just for understanding.

Btw I am very happy to see the real numbers again.
 

Chainfire

Moderator Emeritus / Senior Recognized Developer -
Oct 2, 2007
11,441
87,685
www.chainfire.eu
Thank you both very much :). But I have one question. Does this new driver wil cause more battery drain cause it has to check more intensive or often?

Just for understanding.

Btw I am very happy to see the real numbers again.

No it does use more power... Actually battery always reports in 1%, but for some reason the battery driver rounds it to 10%. We just disabled the rounding function.
 

stunno

Senior Member
Dec 10, 2005
662
28
Just outside the Smog
Thanks for the app, but I've had no joy with it on my Voda branded one.

Having said that there are no figures on my battery indicator at all! Just the plain white icon with 4 bands

Oh, and Batti 2.4 doesn't work properly either (which was the reason I wanted to try this)
 

Chainfire

Moderator Emeritus / Senior Recognized Developer -
Oct 2, 2007
11,441
87,685
www.chainfire.eu
I wish I knew how to do it!

While I am researching how: the battdrvr.dll is 7892 bytes dated 19/05/09 at 17:10:34

Heh I just thought some more... Batti is been known to behave strangely. This DLL will NOT replace the icons for the battery - you need to install a battery icon pack for that.
 

mistm

Senior Member
Sep 4, 2007
378
13
Prague
www.nuc.cz
Can you post your battdrvr.dll and battery.dll ?

You may need to use ROMExtract to get them.

It doesnt work very well for me either. Taskbar icon is always full. I've tried even several icon sets (including the original one). Now my device is like 1/2 of batery and taskbar icon is full. I include my battdrvr.dll extracted from my ROM. I dont have there battery.dll at all.

Anyway I think Batti 2.4 shows it right.
 

Attachments

  • battdrv.zip
    4.1 KB · Views: 233

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    I promised in one of the threads here that I would look into our (EU !) Rhodiums only reporting battery in 10% increments. As I received my Rhodiums today I did look into this. However, I didn't figure it out. I did see the structure of the battery driver and recalled no2chem mentioned a similar structure for the CDMA Touch Pro (1) - not like the GSM Touch Pro (1). So I hooked up with him on IRC and he pretty much held my hand making a 1% increment battery driver for the TP2.

    So I learned a new trick and made this, all of the credit is to no2chem. I just extracted the files, sent them to him, had him walk me through the changes (and have him explain how and why), packaged it up, and this is the result. Tested on my own TP2!

    no2chem's donation link is here: http://www.nuerom.com/BlogEngine/page/Donate.aspx.

    Obviously, for the 1% incremental battery icons on the taskbar you will still need an icon pack and the registry entries. Refer to your favorite taskbar mod for this.

    By the way, keep an eye out for no2chem's improved battery drivers - he also showed me how to do USB fastcharge and the likes. I will not mess with this, but I'm sure one day he will :)

    EDIT: As further credit, no2chem was partially shown this trick by cmonex, whom we all know, respect and love ;)

    EDIT#2: If this driver does not work right for you (it should, though), you can also try Quentin-'s new driver: http://forum.xda-developers.com/showthread.php?t=556318. This uses a different battery driver version as source, this one from a US device (the one I used is from an EU device).
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone