id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	blockedby	blocking	estimated	haspatch	patchreview	reproducible
255	battery voltage scale is not correct	laforge@…	michael@openmoko.org	"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."	defect	closed	high		kernel	current svn head	normal	fixed		sean_chiang@… buglog@… speedevil@…						
