summaryrefslogtreecommitdiff
path: root/board/daisy/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/daisy/board.c')
-rw-r--r--board/daisy/board.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/board/daisy/board.c b/board/daisy/board.c
index d9a384983d..7a3a9bad66 100644
--- a/board/daisy/board.c
+++ b/board/daisy/board.c
@@ -4,6 +4,7 @@
*/
/* Daisy board-specific configuration */
+#include "battery_pack.h"
#include "common.h"
#include "gaia_power.h"
#include "gpio.h"
@@ -99,6 +100,16 @@ const struct gpio_info gpio_list[GPIO_COUNT] = {
GPIO_SIGNAL_NOT_IMPLEMENTED("WP_L"),
};
+/* Battery temperature ranges in degrees C */
+const struct battery_temperature_ranges bat_temp_ranges = {
+ .start_charging_min_c = 5,
+ .start_charging_max_c = 45,
+ .charging_min_c = 5,
+ .charging_max_c = 60,
+ .discharging_min_c = 0,
+ .discharging_max_c = 100,
+};
+
/* I2C ports */
const struct i2c_port_t i2c_ports[I2C_PORTS_USED] = {
{"0", 0, 100},