HDD6330: Correct voltage values, based on the values found in the OF.

Change-Id: I76a101cd2c96be06fc95ca16871e5c86c2326c2d
This commit is contained in:
Szymon Dziok 2012-03-04 21:05:58 +01:00
parent 740722f913
commit b67f1b2872

View file

@ -26,25 +26,25 @@
const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] =
{
3550
3500
};
const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
{
3500
3400
};
/* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */
const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
{
{ 3480, 3550, 3590, 3610, 3630, 3650, 3700, 3760, 3800, 3910, 3990 },
{ 3400, 3550, 3630, 3690 ,3730, 3770, 3810, 3850, 3890, 3930, 3980 },
};
#if CONFIG_CHARGING
/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
const unsigned short percent_to_volt_charge[11] =
{
3480, 3550, 3590, 3610, 3630, 3650, 3700, 3760, 3800, 3910, 3990
3400, 3550, 3630, 3690 ,3730, 3770, 3810, 3850, 3890, 3930, 3980
};
#endif /* CONFIG_CHARGING */