diff options
Diffstat (limited to 'firmware/export/config')
-rw-r--r-- | firmware/export/config/samsungypr0.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/firmware/export/config/samsungypr0.h b/firmware/export/config/samsungypr0.h index 8d133c4e24..ba56c096a6 100644 --- a/firmware/export/config/samsungypr0.h +++ b/firmware/export/config/samsungypr0.h | |||
@@ -125,19 +125,16 @@ | |||
125 | /*TODO: In R0 there is an interrupt for this (figure out ioctls)*/ | 125 | /*TODO: In R0 there is an interrupt for this (figure out ioctls)*/ |
126 | /* #define HAVE_HEADPHONE_DETECTION */ | 126 | /* #define HAVE_HEADPHONE_DETECTION */ |
127 | 127 | ||
128 | /* Define current usage levels. */ | ||
129 | /* TODO: to be filled with correct values after implementing power management */ | ||
130 | //#define CURRENT_NORMAL 88 /* 18 hours from a 1600 mAh battery */ | ||
131 | //#define CURRENT_BACKLIGHT 30 /* TBD */ | ||
132 | //#define CURRENT_RECORD 0 /* no recording yet */ | ||
133 | |||
134 | /* TODO: We need to do battery handling */ | ||
135 | #define BATTERY_CAPACITY_DEFAULT 600 /* default battery capacity */ | 128 | #define BATTERY_CAPACITY_DEFAULT 600 /* default battery capacity */ |
136 | #define BATTERY_CAPACITY_MIN 600 /* min. capacity selectable */ | 129 | #define BATTERY_CAPACITY_MIN 600 /* min. capacity selectable */ |
137 | #define BATTERY_CAPACITY_MAX 600 /* max. capacity selectable */ | 130 | #define BATTERY_CAPACITY_MAX 600 /* max. capacity selectable */ |
138 | #define BATTERY_CAPACITY_INC 0 /* capacity increment */ | 131 | #define BATTERY_CAPACITY_INC 0 /* capacity increment */ |
139 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | 132 | #define BATTERY_TYPES_COUNT 1 /* only one type */ |
140 | 133 | ||
134 | /* Define current usage levels. */ | ||
135 | #define CURRENT_NORMAL 24 /* ~25h, on 600mAh that's about 24mA */ | ||
136 | #define CURRENT_BACKLIGHT 62 /* ~6,5h -> 92mA. Minus 24mA normal that gives us 68mA */ | ||
137 | |||
141 | /* TODO: We possibly can only watch linux charging */ | 138 | /* TODO: We possibly can only watch linux charging */ |
142 | //#define CONFIG_CHARGING CHARGING_TARGET | 139 | //#define CONFIG_CHARGING CHARGING_TARGET |
143 | //#define HAVE_RESET_BATTERY_FILTER | 140 | //#define HAVE_RESET_BATTERY_FILTER |