webOS Nation Forums >  Homebrew >  webOS Homebrew Apps > Dr. Battery
Dr. Battery
  Reply
Like Tree10Likes

 
Thread Tools Display Modes
Old 08/30/2010, 02:10 AM   #1 (permalink)
Member
 
Posts: 2,585
Dr. Battery: analyze and recalibrate your battery

This is the support thread for Dr. Battery
Support (in german) in deutsch gibt es auch hier.
Support on twitter @matsomline

This app is the answer to the thread Find out how good/bad your battery is.
You can get more "technical background" information in the above thread.

Version 0.1.5 now available in "webos internals" feed (webOS 1.4.x, 2.x and 3.x)
Now including the A6 Interface (Veer, Pre3, TouchPad) reading only. No calibrate support.

Features:
  • Get the true capacity your battery can hold.
  • Recalibrate your battery.
    • Get reliable info about remaining runtime
    • Repair your 20% drop 0% problem
    • Try to squeeze out more of your battery

Availability:
In the "WebOS Internals" feed
It'll never be available in the official palm app catalog since it needs direct access to the battery driver interface using own service.
How it works:
The recalibration is done by the battery itself (programmed into the chip)
The app just enables the calibration mode and monitors the process
How to use:
Please use the infobutton on each scene for help
Please use the wall charger only. There are problems with using USB to charge.
To start the calibration, best to start with a battery at e.g.10-20%. Then disconnect the charger/tuchstone let it go down to 0%. The app (hopefully) will tell you to connect the charger (10-30 seconds) before shutdown. Be patient.
The device needs to not shut down now and you should see "calibrating, don't disconnect charger"
If calibrations fails immediately after connecting the charger please take out the battery for a few seconds and try again.
If the pre shuts down before you could connect the charger please change the Voltage for the calibration start in the app menu.
If calibration fails at > (Your actual Health) please set the health to 100% as if it's a new battery and recalibrate again. The setting can be changed in the app menu of the recalibration scene
If this doesn't help put the phone in airplane mode and don't use it while calibrating.
Change Log:
Version 0.1.5
  • Global
    • Cosmetic changes for Pre3 and TouchPad
Version 0.1.4
  • Global
    • Added reading support for the A6 interface
Version 0.1.3
  • Actual Scene
    • Temperature in Celsius and Fahrenheit
  • Calibrate Scene
    • Temperature in Celsius and Fahrenheit
    • Robustify calibration
  • Service
    • Fixed webOS 2.x bug
Version 0.1.2
  • Health Scene
    • Tap and hold to change the health value
    • Tap and hold to change the Manufacturer Rating (needs secret code to enable)
  • Calibrate Scene
    • Changing the calibration start voltage possible in appmenu
    • Fixed bug alert "connect charger now" doesn't disappear
  • Service
    • Rewritten in C and bundled with the app
    • All battery values read from the registers instead of driver files
    • Bug in SetManufacturer Rating fixed
License:
GPL v2 Open Source
Credits:
Thanks to jbg7474 and jc-Treo for the Veer diagnose
Thanks to all involved finding and testing the battery secrets
Especially
jp99 for translating german english into us english
NuttyBunny for risking a dead battery (hopefully your battery gets better)
All reviewing the first version
All participating in my thread
Battery images by courtesy of Stylo (l.s.stylo at gmail com)
Thanks to Rod Whitby and the WebOS Internals team for their support
Disclaimer:
This was the final version.
ToDo List for next versions (unsorted):
Sorry there are no more versions.
Screenshots:


Last edited by somline; 12/17/2013 at 12:39 PM.
somline is offline   Reply With Quote
Liked by Alan Morford, xandros9 and alwelze like this.
Old 08/30/2010, 06:46 AM   #2 (permalink)
Member
 
mamouton's Avatar
 
Posts: 5,719
This looks very interesting. Will it have some of the functions of battery monitor as well? Will it be able to run in the background? WHere is it located?
__________________
My contributions to customizing the Palm Pre.

Browser Mega Mix|Email Mega Mix|Additional Sync Days|
Disable Various Phone Sounds|Priority Discard Buttons|

Sign up for SugarSync Get 500MB extra space
Sign up for Dropbox Get 250MB extra space
mamouton is offline   Reply With Quote
Old 08/30/2010, 07:01 AM   #3 (permalink)
Member
 
Posts: 135
very interested in trying this out.
millworkman is offline   Reply With Quote
Old 08/30/2010, 07:01 AM   #4 (permalink)
Member
 
Workerb33's Avatar
 
Posts: 2,216
now we need an app that automatically complains to Siedio and demands a replacement! Ha!

seriously, thanks for creating this app. Homebrew Devs in here are awesome!
Workerb33 is offline   Reply With Quote
Thanked by garavin, somline
Old 08/30/2010, 07:15 AM   #5 (permalink)
Member
 
pchrist's Avatar
 
Posts: 420
Can't wait till this is available!!!
pchrist is offline   Reply With Quote
Old 08/30/2010, 07:45 AM   #6 (permalink)
Member
 
Posts: 2,585
Quote:
Originally Posted by mamouton View Post
This looks very interesting. Will it have some of the functions of battery monitor as well? Will it be able to run in the background? WHere is it located?
Monitoring battery consumption was not the goal of building this app, would be possible but isn't planed.
"BatteryMonitor" from neville is measuring the battery consumption over time. This app is measuring/refreshing the quality of the battery.
Since this is no monitor it doesn't run sceneless (needs an open window).

Sorry I like to be sarcastic and can't stop myself (I probably misunderstood your question):
Assuming you didn't have overlooked the red bold text: At the moment this app is located in Berlin (West) in an area formerly known as "American Sector" near the "Flughafen Tempelhof".
somline is offline   Reply With Quote
Thanked By: k91191
Old 08/30/2010, 08:39 AM   #7 (permalink)
Member
 
Spader's Avatar
 
Posts: 1,422
This looks really good, I am looking forward using it.
__________________
Follow me on teh Twitterz
Spader is offline   Reply With Quote
Old 08/30/2010, 10:12 AM   #8 (permalink)
Member
 
Rangt#AC's Avatar
 
Posts: 764
Wow! Those screenshots of UI look awesome! Nice work!
__________________
***I Twitter***

Stop complaining & start doing ---> Leave feedback/suggestions for Palm here
Rangt#AC is offline   Reply With Quote
Old 08/30/2010, 10:33 AM   #9 (permalink)
Member
 
mjkjr's Avatar
 
Posts: 1,045
Wow, I can't wait to try this app out. My battery is suffering greatly from the "20% dropping to 0%" problem. I remember when 20% battery used to actually last. Now when it says 20% remaining it means "get to the charger ASAP or you're phone will shut down very soon."
mjkjr is offline   Reply With Quote
Old 08/30/2010, 10:57 AM   #10 (permalink)
Member
 
Kablin's Avatar
 
Posts: 38
WOW!!!!!!
I needed now!
Kablin is offline   Reply With Quote
Old 08/30/2010, 11:02 AM   #11 (permalink)
Member
 
Posts: 71
Quote:
Originally Posted by somline View Post
Sorry I like to be sarcastic and can't stop myself (I probably misunderstood your question):
Assuming you didn't have overlooked the red bold text: At the moment this app is located in Berlin (West) in an area formerly known as "American Sector" near the "Flughafen Tempelhof".
Hilarious! Also, the app looks fantastic.

Last edited by k91191; 08/30/2010 at 12:05 PM.
k91191 is offline   Reply With Quote
Thanked By: somline
Old 08/30/2010, 01:34 PM   #12 (permalink)
Member
 
jjeffcoat's Avatar
 
Posts: 2,421
Looking forward to this app, looks very useful.

Jim
jjeffcoat is offline   Reply With Quote
Old 08/30/2010, 01:48 PM   #13 (permalink)
Member
 
Posts: 1,968
I will install this when it's available.
__________________
Pilot 5K->Palm IIIc->Tungsten T/T2->Treo 650/680 -> Pre+ (1.4.5 & Uberkernel)
swieder is offline   Reply With Quote
Old 08/30/2010, 02:10 PM   #14 (permalink)
Moderator

 
sledge007's Avatar
 
Posts: 6,332
Looks like a cool app. Just to clarify, when you do the battery calibration, (based on the screenshots above), a fresh battery is at 1150mHa and you could bring your battery back from 863mHa back to 1150? If that isn't what it does, what does the calibration do exactly?
sledge007 is offline   Reply With Quote
Old 08/30/2010, 02:25 PM   #15 (permalink)
Moderator
 
Gaurav's Avatar
 
Posts: 8,277
Seems like a very powerful and interesting utility! Can't wait to try it out!
__________________
_________________
aka Gfunkmagic

Current device: Palm Pre
Device graveyard: Palm Vx, Cassiopeia E100, LG Phenom HPC, Palm M515, Treo 300, Treo 600, Treo 650, Treo 700p, Axim X50v, Treo 800w



Please don't PM me about my avatar. For more info go here.

Restore your Pre to factory settings using webos doctor and follow these instructions
Gaurav is offline   Reply With Quote
Old 08/30/2010, 04:30 PM   #16 (permalink)
Member
 
Trekker's Avatar
 
Posts: 2,564
Great job somline....I think you should accept donations. You've put a lot of time and effort into this whole battery issue and it's very much appreciated!

On question...I may have overlooked this...is there an explanation of the different battery status registers?
Trekker is offline   Reply With Quote
Old 08/30/2010, 04:43 PM   #17 (permalink)
Member
 
Posts: 2,512
For those interested, calibration means making the battery learn when it has 0% and when it's fully charged (100%), it will not restore the charging capacity

The app is coming alone really fine, I've tested it, and it's great!

If you want to know more about the calibration process (which is done almost automatically by the battery on certain conditions that the app helps to met), you can check the original post.

Thanks somline for the research and the app!
__________________
Just remember: If I helped you, press the thanks button!

Owner of: Pre Sprint, Pre Telcel, Pre Plus AT&T, Pre 2 Unlocked, Pixi Plus AT&T, and 2 TouchPads (my Pre3 was stolen so it won't appear again here).
Needs: Veer (anyone?)
Apps: Subnet Calculator, FreeCam, PhotoFun, NuttyPad (work in progress)
HomeBrew: meta-doctor and Messaging Plugins collaborator
Twitter: @cesarneg
NuttyBunny is offline   Reply With Quote
Old 08/30/2010, 04:44 PM   #18 (permalink)
Member
 
mksand28's Avatar
 
Posts: 403
cant wait for this i have been having issues where my battery stops at either 67% or 71% while charging and wont go beyond but once i reset my device it reads fully charged
__________________
THE CHAMP IS HERE!!
mksand28 is offline   Reply With Quote
Old 08/30/2010, 04:44 PM   #19 (permalink)
Member
 
Posts: 2,512
Quote:
Originally Posted by Trekker View Post
On question...I may have overlooked this...is there an explanation of the different battery status registers?
There are some explanations here and there on the original thread, or you could look at the manual that explains the battery that's embedded on the batteries (also on the thread).

__________________
Just remember: If I helped you, press the thanks button!

Owner of: Pre Sprint, Pre Telcel, Pre Plus AT&T, Pre 2 Unlocked, Pixi Plus AT&T, and 2 TouchPads (my Pre3 was stolen so it won't appear again here).
Needs: Veer (anyone?)
Apps: Subnet Calculator, FreeCam, PhotoFun, NuttyPad (work in progress)
HomeBrew: meta-doctor and Messaging Plugins collaborator
Twitter: @cesarneg
NuttyBunny is offline   Reply With Quote
Thanked by somline, Trekker
Old 08/30/2010, 04:48 PM   #20 (permalink)
Member
 
Posts: 2,512
Quote:
Originally Posted by mksand28 View Post
cant wait for this i have been having issues where my battery stops at either 67% or 71% while charging and wont go beyond but once i reset my device it reads fully charged
You could do a calibration using the process documented here, or wait for the app. I'd really suggest you just wait, as going to command line can be a bit scary for some people
__________________
Just remember: If I helped you, press the thanks button!

Owner of: Pre Sprint, Pre Telcel, Pre Plus AT&T, Pre 2 Unlocked, Pixi Plus AT&T, and 2 TouchPads (my Pre3 was stolen so it won't appear again here).
Needs: Veer (anyone?)
Apps: Subnet Calculator, FreeCam, PhotoFun, NuttyPad (work in progress)
HomeBrew: meta-doctor and Messaging Plugins collaborator
Twitter: @cesarneg
NuttyBunny is offline   Reply With Quote
Thanked By: somline
Reply

 

Tags
battery

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0