summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_jz47xx/onda_vx747
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-12-08 00:20:03 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-12-08 00:20:03 +0000
commit953f4d4accd4ee1ef1fab880a01fa65ec85614a5 (patch)
tree1a7037c4722932a6e2b6a3ab56181d473ae6478d /firmware/target/mips/ingenic_jz47xx/onda_vx747
parented64d91bc226f0cf4c9b7da1759d1fc8d5af5c3d (diff)
downloadrockbox-953f4d4accd4ee1ef1fab880a01fa65ec85614a5.tar.gz
rockbox-953f4d4accd4ee1ef1fab880a01fa65ec85614a5.tar.bz2
rockbox-953f4d4accd4ee1ef1fab880a01fa65ec85614a5.zip
Onda VX747(+)/VX777: update battery discharge curve
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23894 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/onda_vx747')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/onda_vx747/sadc-onda_vx747.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/onda_vx747/sadc-onda_vx747.c b/firmware/target/mips/ingenic_jz47xx/onda_vx747/sadc-onda_vx747.c
index 5695e2533e..e02cb78aa6 100644
--- a/firmware/target/mips/ingenic_jz47xx/onda_vx747/sadc-onda_vx747.c
+++ b/firmware/target/mips/ingenic_jz47xx/onda_vx747/sadc-onda_vx747.c
@@ -78,21 +78,18 @@ static struct wakeup battery_wkup;
const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] =
{
- /* TODO */
1600
};
const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
{
- /* TODO */
- 1500
+ 1550
};
/* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */
const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
{
- /* TODO */
- { 1400, 1500, 1600, 1700, 1800, 1900, 2000, 2100, 2200, 2300, 2400 },
+ { 1550, 1790, 1810, 1825, 1855, 1865, 1875, 1900, 1930, 1985, 2200 },
};
/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */