New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Chainfire
Old
(Last edited by Chainfire; 9th September 2009 at 01:05 PM.)
#1  
Chainfire's Avatar
Senior Moderator / Elite Recognized Developer - OP
Thanks Meter 33116
Posts: 8,104
Join Date: Oct 2007

 
DONATE TO ME
Default 1% increment battery driver

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).
Attached Files
File Type: cab TP2-Batt.cab - [Click for QR Code] (81.3 KB, 20315 views)
BLOG - G+(Chainfire) - G+(Personal) - TWITTER - IRC - DONATE

Android
HTC G1, Hero, One
Samsung i5800, i9000*2, P1000*2, P7100, i9100*2, N7000, P6800, i9300, N7100, i9505
Sony T LT30p, Z C6603
Nexus Galaxy*2, N7, N10

SuperSU, Mobile ODIN, TriangleAway, DSLR Controller, CF-Root, USB Host Diagnostics, ExynosAbuseAPK, Live dmesg+logcat, NoMoarPowah!, CF-Bench, Chainfire3D, CF.lumen, SGS2 SIM Unlocker, GingerBreakAPK, SuperPower, and more!

Windows Mobile 5/6
E-Mobile EM-ONE
HTC Wizard*2, Kaiser, Touch, Diamond, Pro, HD*2, Diamond 2, Pro 2*2, HD2*2
Samsung i780, i900*2, i8000*2, b7300, b7320, b7330, b7620*2, b6520

WMWifiRouter, KaiserTweak, FPUEnabler, WMLongLife, WMRegOptimizer, CFC+GUI, TF3D+v2 ports, Kaiser+Omnia2+Snapdragon 3D drivers, GfxBoost, and more!

Windows Phone 7
LG GW910

NOTICE: I do not respond to tech support questions through PM.
The Following User Says Thank You to Chainfire For This Useful Post: [ Click to Expand ]
 
MrPresident
Old
#2  
Member
Thanks Meter 0
Posts: 36
Join Date: May 2006
nice.
+1 xdadevelopers.

i'll try it out in next day or two.
 
billu
Old
#3  
billu's Avatar
Senior Member
Thanks Meter 0
Posts: 269
Join Date: Dec 2007
Well done guys, just installed it and battery is showing 98%.. I knew it was only a matter of time. Some great developers around.
(current devices in bold)
MDA Vario III --> Touch Pro --> Touch HD -->Touch pro 2 --> HTC HD2 --> Galaxy SII --> Galaxy Note
XDA Exec --> AMEO --> OQO model 2 --> Viliv S5 HSDPA
Nokia N70 --> Nokia N95--> Samsung i8910
I-mate 8502 --> Orange San Fransisco --> Orange Monte Carlo
 
ultimate
Old
#4  
Member
Thanks Meter 0
Posts: 50
Join Date: Jul 2005
Quote:
Originally Posted by Chainfire View Post
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!!!
HTC Rhodium
 
galaxys
Old
#5  
galaxys's Avatar
Senior Member
Thanks Meter 305
Posts: 6,826
Join Date: May 2007
Location: Las Vegas
Looks Good...Awesome work from you both!!
LG Nexus4(rbj-twrp) <HTCSensationsold <HTCNexus1sold <HTCHermessold <LG5250sold <MotorolaStarTacvault. (Thanks is not necessary, But you can hit 'Thanks' if you like the AVN girls)
AVN Party (Android Video News) The girls sends their best wishes to XDA!

Galaxys Enterprises: Fashion is a Passion - Life in the Cardio Fast Lane - High Energy Techno Mix - Reach for the Universe!
 
adolfotregosa
Old
#6  
Senior Member
Thanks Meter 59
Posts: 373
Join Date: Apr 2005
well, what call we all say ???

Thank you both !!!!
 
aBE-One
Old
#7  
Member
Thanks Meter 0
Posts: 93
Join Date: Sep 2008
Yes indeed, thank you very much no2chem, cmonex & Chainfire!
 
Pimmr
Old
#8  
Pimmr's Avatar
Senior Member
Thanks Meter 37
Posts: 381
Join Date: Jun 2009
Great work man! Any idea where I can get some 1% increment icons for taskbar?
 
neforce
Old
#9  
Member
Thanks Meter 0
Posts: 50
Join Date: Sep 2007
Location: Stadskanaal
Dude, you're great!!!

It works perfectly! now i have a realy horny taskbar, with 1% battery! super!



(dutch: Echt super man, hier hoopte ik al op, die 10% was echt bagger)
 
purple8
Old
#10  
Member
Thanks Meter 0
Posts: 69
Join Date: Dec 2007
Oh yes thankyou very much. Some good karma coming your way


XDA PORTAL POSTS

What’s Possible with CASUAL & How to Make Your Own CASUAL – XDA Developer TV

XDA Elite Recognized Developer AdamOutler is known … more

Pearl Chen to Talk NFC Development at XDA:DevCon 2013

From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more

Avoid Framework Bootloops on Xperias Running Jelly Bean

If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more

Forum Added for the Samsung Galaxy Mega

What do you do when the Galaxy Note line is simply not big enough? You get theSamsung Galaxy Mega. … more