summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Sparmann <theseven@rockbox.org>2011-02-20 22:58:45 +0000
committerMichael Sparmann <theseven@rockbox.org>2011-02-20 22:58:45 +0000
commita18e1312820d5ac31579087533ab9b6af5cc329e (patch)
tree3f0425fdcd6d7c399a6af0eb480dead83595a8e3
parentcdce4ddf0d3400bb8c448f61ea4459045ea9c216 (diff)
downloadrockbox-a18e1312820d5ac31579087533ab9b6af5cc329e.tar.gz
rockbox-a18e1312820d5ac31579087533ab9b6af5cc329e.tar.bz2
rockbox-a18e1312820d5ac31579087533ab9b6af5cc329e.zip
Calibrate iPod Classic battery gauge a bit better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29365 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/s5l8702/ipod6g/powermgmt-ipod6g.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/s5l8702/ipod6g/powermgmt-ipod6g.c b/firmware/target/arm/s5l8702/ipod6g/powermgmt-ipod6g.c
index 3bd3791eeb..6caeafd8fc 100644
--- a/firmware/target/arm/s5l8702/ipod6g/powermgmt-ipod6g.c
+++ b/firmware/target/arm/s5l8702/ipod6g/powermgmt-ipod6g.c
@@ -38,14 +38,14 @@ const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
/* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */
const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
{
- { 3550, 3783, 3830, 3882, 3911, 3949, 3996, 4067, 4148, 4228, 4310 }
+ { 3600, 3730, 3780, 3810, 3840, 3880, 3930, 3990, 4080, 4170, 4270 }
};
#if CONFIG_CHARGING
/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
const unsigned short percent_to_volt_charge[11] =
{
- 3550, 3783, 3830, 3882, 3911, 3949, 3996, 4067, 4148, 4228, 4310
+ 3800, 3900, 3990, 4070, 4140, 4200, 4250, 4290, 4320, 4340, 4350
};
#endif /* CONFIG_CHARGING */