summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSzymon Dziok <b0hoon@o2.pl>2012-03-04 21:05:58 +0100
committerSzymon Dziok <b0hoon@o2.pl>2012-03-17 19:20:21 +0100
commitb67f1b28726b40eafb2bd2818040dfac7626c9aa (patch)
treeec89be863279153c1f175fc20abcd1d279125212
parent740722f91338d8571eddbb16983368661a4d87c0 (diff)
downloadrockbox-b67f1b28726b40eafb2bd2818040dfac7626c9aa.tar.gz
rockbox-b67f1b28726b40eafb2bd2818040dfac7626c9aa.tar.bz2
rockbox-b67f1b28726b40eafb2bd2818040dfac7626c9aa.zip
HDD6330: Correct voltage values, based on the values found in the OF.
Change-Id: I76a101cd2c96be06fc95ca16871e5c86c2326c2d
-rw-r--r--firmware/target/arm/philips/hdd6330/powermgmt-hdd6330.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/philips/hdd6330/powermgmt-hdd6330.c b/firmware/target/arm/philips/hdd6330/powermgmt-hdd6330.c
index 938d8ce14c..0f5dc4f4f7 100644
--- a/firmware/target/arm/philips/hdd6330/powermgmt-hdd6330.c
+++ b/firmware/target/arm/philips/hdd6330/powermgmt-hdd6330.c
@@ -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 */