dashboard: calculate battery detail status and estimate
This commit is contained in:
@@ -747,7 +747,7 @@ static void create_battery_detail_screen()
|
||||
lv_obj_t *soc_card = create_card(battery_detail_page, "", 300, 500, LV_ALIGN_TOP_LEFT, 32, 68);
|
||||
|
||||
battery_detail_status_label = lv_label_create(soc_card);
|
||||
lv_label_set_text(battery_detail_status_label, "BMS --");
|
||||
lv_label_set_text(battery_detail_status_label, "IDLE");
|
||||
lv_obj_set_style_text_color(battery_detail_status_label, lv_color_hex(0xB8C0C8), 0);
|
||||
lv_obj_set_style_text_font(battery_detail_status_label, &lv_font_montserrat_26, 0);
|
||||
lv_obj_set_width(battery_detail_status_label, 260);
|
||||
|
||||
Reference in New Issue
Block a user