From b3d44fcb57173b7995bf67a88aa24aa447f74f52 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 7 Apr 2010 19:59:26 +0000 Subject: Gigabeat S: Add some sanity checks for a strange charging anomaly that I have personally witnessed twice-- no, I don't have photos or a YT video but it did happen. Details are given in a comment in powermgmt-imx31.c. If it happens again, the checks may serve to reveal the true cause. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25524 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/imx31/gigabeat-s/powermgmt-target.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware/target/arm/imx31/gigabeat-s/powermgmt-target.h') diff --git a/firmware/target/arm/imx31/gigabeat-s/powermgmt-target.h b/firmware/target/arm/imx31/gigabeat-s/powermgmt-target.h index 86278bce73..02d94015a1 100644 --- a/firmware/target/arm/imx31/gigabeat-s/powermgmt-target.h +++ b/firmware/target/arm/imx31/gigabeat-s/powermgmt-target.h @@ -59,6 +59,10 @@ #define BATT_USB_VSTOP 4140 /* When to "stop" when USB only */ #define BATT_TOO_LOW 2400 /* No battery? Short? Can't read below 2400mV. */ +#define BATT_TOO_HIGH 4220 /* Extra care. Don't totally + rely upon battery protection + circutry. Stop it early if too + high. */ #define CHARGER_TOTAL_TIMER 300 /* minutes */ /* Temperature readings - w/hysteresis */ -- cgit v1.2.3