diff options
Diffstat (limited to 'firmware/export/powermgmt.h')
-rw-r--r-- | firmware/export/powermgmt.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h index d42cc30154..77764b5a31 100644 --- a/firmware/export/powermgmt.h +++ b/firmware/export/powermgmt.h | |||
@@ -103,7 +103,19 @@ extern charger_input_state_type charger_input_state; | |||
103 | # define CURRENT_NORMAL 80 /* 16h playback on 1300mAh battery from IriverRuntime wiki page */ | 103 | # define CURRENT_NORMAL 80 /* 16h playback on 1300mAh battery from IriverRuntime wiki page */ |
104 | # define CURRENT_BACKLIGHT 23 /* FIXME: This needs to be measured, copied from H100 */ | 104 | # define CURRENT_BACKLIGHT 23 /* FIXME: This needs to be measured, copied from H100 */ |
105 | # define CURRENT_RECORD 110 /* additional current while recording */ | 105 | # define CURRENT_RECORD 110 /* additional current while recording */ |
106 | #else /* Not iriver H1x0, H3x0, nor Archos Ondio */ | 106 | #elif defined(IPOD_ARCH) && (MODEL_NUMBER==4) /* iPOD Nano */ |
107 | # define CURRENT_NORMAL 35 /* 8.5-9.0h playback out of 300mAh battery from IpodRuntime */ | ||
108 | # define CURRENT_BACKLIGHT 20 /* FIXME: estimation took over from iPOD Video */ | ||
109 | #if defined(HAVE_RECORDING) | ||
110 | # define CURRENT_RECORD 35 /* FIXME: this needs adjusting */ | ||
111 | #endif | ||
112 | #elif defined(IPOD_ARCH) && (MODEL_NUMBER==5) /* iPOD Video */ | ||
113 | # define CURRENT_NORMAL 50 /* 8h out of 400mAh battery (30GB) or 11h out of 600mAh (60GB) from IpodRuntime */ | ||
114 | # define CURRENT_BACKLIGHT 20 /* estimation calculated from IpodRuntime measurement */ | ||
115 | #if defined(HAVE_RECORDING) | ||
116 | # define CURRENT_RECORD 35 /* FIXME: this needs adjusting */ | ||
117 | #endif | ||
118 | #else /* Not iriver H1x0, H3x0, nor Archos Ondio, nor iPODVideo */ | ||
107 | # define CURRENT_NORMAL 145 /* usual current in mA when using the AJB including some disk/backlight/... activity */ | 119 | # define CURRENT_NORMAL 145 /* usual current in mA when using the AJB including some disk/backlight/... activity */ |
108 | # define CURRENT_BACKLIGHT 30 /* additional current when backlight always on */ | 120 | # define CURRENT_BACKLIGHT 30 /* additional current when backlight always on */ |
109 | #if defined(HAVE_RECORDING) | 121 | #if defined(HAVE_RECORDING) |