@@ -102,16 +102,16 @@ void BatteryInfo::UpdateScreen() {
102102 if (batteryPercent >= 0 ) {
103103 if (batteryController.IsCharging () and batteryPercent < 100 ) {
104104 lv_obj_set_style_local_bg_color (charging_bar, LV_BAR_PART_INDIC, LV_STATE_DEFAULT, LV_COLOR_RED);
105- lv_label_set_text_static (status, " Battery charging " );
105+ lv_label_set_text_static (status, " Charging " );
106106 } else if (batteryPercent == 100 ) {
107107 lv_obj_set_style_local_bg_color (charging_bar, LV_BAR_PART_INDIC, LV_STATE_DEFAULT, LV_COLOR_BLUE);
108- lv_label_set_text_static (status, " Battery is fully charged" );
108+ lv_label_set_text_static (status, " Fully charged" );
109109 } else if (batteryPercent < 10 ) {
110110 lv_obj_set_style_local_bg_color (charging_bar, LV_BAR_PART_INDIC, LV_STATE_DEFAULT, LV_COLOR_YELLOW);
111- lv_label_set_text_static (status, " Battery is low" );
111+ lv_label_set_text_static (status, " Battery low" );
112112 } else {
113113 lv_obj_set_style_local_bg_color (charging_bar, LV_BAR_PART_INDIC, LV_STATE_DEFAULT, LV_COLOR_GREEN);
114- lv_label_set_text_static (status, " Battery discharging " );
114+ lv_label_set_text_static (status, " Discharging " );
115115 }
116116
117117 lv_label_set_text_fmt (percent, " %02i%%" , batteryPercent);
0 commit comments