summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/tcc77x
diff options
context:
space:
mode:
authorVitja Makarov <vitja.makarov@gmail.com>2008-12-26 19:31:48 +0000
committerVitja Makarov <vitja.makarov@gmail.com>2008-12-26 19:31:48 +0000
commit78d625f84011ba953e125cf20300b7fc2fea8c4b (patch)
treebbb8708c007148a3aac0161fd0f6e617529d7f76 /firmware/target/arm/tcc77x
parenteaea11230a09375970a10d59137f0af2601f9eb9 (diff)
downloadrockbox-78d625f84011ba953e125cf20300b7fc2fea8c4b.tar.gz
rockbox-78d625f84011ba953e125cf20300b7fc2fea8c4b.tar.bz2
rockbox-78d625f84011ba953e125cf20300b7fc2fea8c4b.zip
i7: set low-battery values and enable shutdown on low-battery
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19597 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tcc77x')
-rw-r--r--firmware/target/arm/tcc77x/iaudio7/powermgmt-iaudio7.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/tcc77x/iaudio7/powermgmt-iaudio7.c b/firmware/target/arm/tcc77x/iaudio7/powermgmt-iaudio7.c
index e391ada10a..9b65bbde1f 100644
--- a/firmware/target/arm/tcc77x/iaudio7/powermgmt-iaudio7.c
+++ b/firmware/target/arm/tcc77x/iaudio7/powermgmt-iaudio7.c
@@ -30,13 +30,13 @@ unsigned short current_voltage = 5150;
const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] =
{
/* FIXME: calibrate value */
- 3380
+ 4400
};
const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
{
/* FIXME: calibrate value */
- 3300
+ 4600
};
/* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */