olpc-battery: update CHARGE_FULL_DESIGN property for BYD LiFe batteries

Reduce the mAh value for the BYD LiFe battery from 3100mAh to 2800mAh
to better reflect the average usable capacity as measured by olpc-pwr-log.

Signed-off-by: Richard A. Smith <richard@laptop.org>
Signed-off-by: Daniel Drake <dsd@laptop.org>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
This commit is contained in:
Richard A. Smith 2012-07-15 22:43:51 +01:00 коммит произвёл Anton Vorontsov
Родитель 5619d0ba97
Коммит ecc2edd56c
1 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@ -231,11 +231,9 @@ static int olpc_bat_get_charge_full_design(union power_supply_propval *val)
case POWER_SUPPLY_TECHNOLOGY_LiFe:
switch (mfr) {
case 1: /* Gold Peak */
val->intval = 2800000;
break;
case 1: /* Gold Peak, fall through */
case 2: /* BYD */
val->intval = 3100000;
val->intval = 2800000;
break;
default:
return -EIO;