summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_jz47xx/xduoo_x3/sadc-xduoo_x3.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-08-26 07:41:20 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-08-26 08:34:07 -0400
commitf791df13751d0c43a2b1ae0adb6f6bc4385c2cc3 (patch)
treeee62b4805f477e1ca31380e1db324af60a43cc44 /firmware/target/mips/ingenic_jz47xx/xduoo_x3/sadc-xduoo_x3.c
parent099bde885d8ef81ee3cbf96dadee72b5c5e9a8c7 (diff)
downloadrockbox-f791df1375.tar.gz
rockbox-f791df1375.tar.bz2
rockbox-f791df1375.zip
xduoox3: Update battery discharge curve and runtime estimates
(Brand new unit lasted one minute shy of 12 hours!) Change-Id: I0330f43065412d432a45b555bb310f943eb526e7
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/xduoo_x3/sadc-xduoo_x3.c')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/xduoo_x3/sadc-xduoo_x3.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/xduoo_x3/sadc-xduoo_x3.c b/firmware/target/mips/ingenic_jz47xx/xduoo_x3/sadc-xduoo_x3.c
index d227255b8a..e1e578ae67 100644
--- a/firmware/target/mips/ingenic_jz47xx/xduoo_x3/sadc-xduoo_x3.c
+++ b/firmware/target/mips/ingenic_jz47xx/xduoo_x3/sadc-xduoo_x3.c
@@ -151,26 +151,26 @@ void KEY_INT_IRQ(void)
const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] =
{
/* 5% */
- 3634
+ 3414
};
const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
{
/* 0% */
- 3300
+ 3307
};
/* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */
const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
{
- { 3300, 3652, 3704, 3730, 3753, 3786, 3836, 3906, 3973, 4061, 4160 }
+ { 3307, 3459, 3530, 3575, 3608, 3648, 3723, 3819, 3918, 4022, 4162 }
};
#if CONFIG_CHARGING
/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
const unsigned short percent_to_volt_charge[11] =
- { 3300, 3652, 3704, 3730, 3753, 3786, 3836, 3906, 3973, 4061, 4160 };
+ { 3307, 3459, 3530, 3575, 3608, 3648, 3723, 3819, 3918, 4022, 4162 };
#endif /* CONFIG_CHARGING */
/* VBAT = (BDATA/1024) * 2.5V */