Ticket #255 (closed defect: fixed)

Opened 12 years ago

Last modified 19 months ago

battery voltage scale is not correct

Reported by: laforge@… Owned by: michael@…
Priority: high Milestone:
Component: kernel Version: current svn head
Severity: normal Keywords:
Cc: sean_chiang@…, buglog@…, speedevil@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:


Since we don't have a coulomb-counting battery gas gauge, we cannot give proper
battery metering.

Our current battery percentage reading is based on battery voltage, and uses a
linear scale between 2.8 and 4.2V (see drivers/i2c/pcf50606.c:battvolt_scale()).

This scaling is obviously wrong and just a 'proof of concept' scale.

Somebody needs to do proper charge/discharge measurements and come up with a
non-linear algorithm expressing estimated battery life based on present battery
terminal voltage.

This needs a lot of experimentation/measurement, as well as a couple of
calculations. Please provide me either with a patch against battvolt_scale(),
or give me a mathematical formula expressing battery lifetime percentage as
function of terminal voltage.


discharge.txt.gz (24.4 KB) - added by philipp.zabel@… 12 years ago.
battemp/battvolt measurement during discharge
charge1.txt.gz (18.9 KB) - added by philipp.zabel@… 12 years ago.
charge1.txt.gz, charge log

Change History

comment:1 Changed 12 years ago by mail@…

  • blocked set to 212

Changed 12 years ago by philipp.zabel@…

battemp/battvolt measurement during discharge

comment:2 Changed 12 years ago by philipp.zabel@…

  • attachments.mimetype changed from text/plain to application/octet-stream

Changed 12 years ago by philipp.zabel@…

charge1.txt.gz, charge log

comment:3 Changed 12 years ago by tony_tu@…

  • Status changed from new to assigned

I will transfer to Tim later about this bug, and see if we could change
battery on next version and give right scale

comment:4 Changed 12 years ago by alphaone@…

  • blocked set to 193

comment:5 Changed 12 years ago by alphaone@…

  • blocked set to 341

Have you been able to obtain the correct scale yet?

comment:6 Changed 12 years ago by tony_tu@…

We have change the resister value on the PMU battery circuit, should give
better scale compare to Bv3 version, but we did not put all rest Bv4 SMT due
to holiday/quene issue. We will verify the boards rest SMT finished.

comment:7 Changed 12 years ago by speedevil@…

I'm doing a simple patch for this, based on a simple curve-fit. Just polishing ATM.

comment:8 Changed 11 years ago by willie_chen@…

  • Status changed from assigned to new
  • Owner changed from tony_tu@… to michael@…

comment:9 Changed 11 years ago by willie_chen@…

  • Cc speedevil@… added

Did this patch publish in kernel?So we can close this bug.

comment:10 Changed 11 years ago by andy

  • Status changed from new to closed
  • Resolution set to fixed

We took a patch for charging curve some months ago, on GTA02 we do have coulomb counter, so closing.

comment:11 Changed 2 years ago by JustDox

Viagra Depoxetine <a href=http://cial1.xyz/need-to-order-cialis.php>Need To Order Cialis</a> Online Herbal Club Buy Antidepressants Online In Uk <a href=http://kama1.xyz/kamagra-online-cheap.php>Kamagra Online Cheap</a> Cialis 10 Mg Tomar Levitra Prezzo Farmacia <a href=http://viag1.xyz/by-cheap-viagra.php>By Cheap Viagra</a> Canadian Pha Cialis Sildenafil Levitra <a href=http://zol1.xyz/generic-for-zoloft.php>Generic For Zoloft</a> Cialis Drug Information Conseils Duree Plus Longues <a href=http://viag1.xyz/order-viagra-on-line.php>Order Viagra On Line</a> Viagra Samples For Sale Acheter Cialis Tunisie <a href=http://propecia.ccrpdc.com/comprar-propecia-online.php>Comprar Propecia Online</a> Viagra 100mg Precio Cialis Ch <a href=http://cial1.xyz/buy-cheap-cialis.php>Buy Cheap Cialis</a> Viagra Erfahrungen Forum Cytotec Posologie <a href=http://clomid.ccrpdc.com/buy-cheap-clomid-site.php>Buy Cheap Clomid Site</a> Sortie Priligy En Australie Amoxicillin For Throut Lung <a href=http://viag1.xyz/cheap-generic-viagra.php>Cheap Generic Viagra</a> Types Of Cephalexin Buy Cialis On Line <a href=http://viag1.xyz/purchase-viagra-usa.php>Purchase Viagra Usa</a> Buy Accutane Uk No Prescription Wat Is Kamagra <a href=http://viag1.xyz/compra-viagra-online.php>Compra Viagra Online</a> Buy Generic Viagra Cialis Online Ebay Viagra <a href=http://cial1.xyz/cheap-generic-cialis.php>Cheap Generic Cialis</a> Ou Acheter Vrai Cialis Lexapro No Perscription Viagra <a href=http://cial5mg.xyz/cialis.php>Cialis</a> Dove Comprare Cialis Su Internet Cialis 20mg 8 Filmtabl <a href=http://cial5mg.xyz/generic-cialis-usa.php>Generic Cialis Usa</a> Clalis 20mg Vs Clalis 40mg Minakne <a href=http://cial5mg.xyz/cialis-free-trial.php>Cialis Free Trial</a> Compare Generic Cialis Prices Can Keflex Cure Syphyllis <a href=http://kamagra.ccrpdc.com/cheapest-kamagra-online.php>Cheapest Kamagra Online</a> Propecia Frosst Iberica Alternativa Alla Crema Di Propecia <a href=http://cial5mg.xyz/buy-cialis-online.php>Buy Cialis Online</a> The Canadian Drugstore Inc Viagra Ingredientes <a href=http://levitra.ccrpdc.com/levitra-lowest-price.php>Levitra Lowest Price</a> Cialis Betabloccanti Kamagra Professional <a href=http://kama1.xyz/generic-kamagra-cheap.php>Generic Kamagra Cheap</a> Cephalexin Dosage In Children Zithromax 500mg Side Effects <a href=http://viag1.xyz/cheap-viagra-100mg.php>Cheap Viagra 100mg</a> Buy Amoxil Online Comment Les Hommes Peuvent Durer Plus Longtemps <a href=http://cial1.xyz/buy-cheap-cialis-pills.php>Buy Cheap Cialis Pills</a> Tricks To Last Longer Zithromax Pet Meds <a href=http://kama1.xyz/kamagra-buy-online.php>Kamagra Buy Online</a> Levitra Curativo Exelon <a href=http://viagra.ccrpdc.com/viagra-online-cheap.php>Viagra Online Cheap</a> Cialis Venta Farmacias Cephalexin Paralysis Dog <a href=http://kamagra.ccrpdc.com/kamagra-cheap.php>Kamagra Cheap</a> Is Cephalexin Harmful To Dogs Amoxicillin Used For <a href=http://kama1.xyz/purchase-generic-kamagra.php>Purchase Generic Kamagra</a> Levitra Spese In Farmacia Generico Priligy Funziona <a href=http://viag1.xyz/sildenafil-citrate.php>Sildenafil Citrate</a> Best Online Viagra Site Amoxil Safe During Breastfeeding <a href=http://clomid.ccrpdc.com/purchase-clomid.php>Purchase Clomid</a> Amoxicillin Cause Severe Diarrhea

comment:12 Changed 19 months ago by MiguAnydaY

Doxycycline For Dogs Cost http://cialtobuy.com - cialis price Anafranil Pills
Buy Synthroid Online No Prescription Needed Generic Viagra And Generic Soma
Trouver Viagra Pas Cher <a href=http://cialtobuy.com >cialis</a> Priligy Assunzione

Note: See TracTickets for help on using tickets.