show temperature and battery voltage in low energy mode
This commit is contained in:
parent
413e4602a7
commit
e38f3bbec9
@ -68,8 +68,17 @@ bool voltage_face_loop(movement_event_t event, movement_settings_t *settings, vo
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case EVENT_LOW_ENERGY_UPDATE:
|
case EVENT_LOW_ENERGY_UPDATE:
|
||||||
|
// clear seconds area and start tick animation if necessary
|
||||||
|
if (!watch_tick_animation_is_running()) {
|
||||||
|
watch_display_string(" ", 8);
|
||||||
|
watch_start_tick_animation(1000);
|
||||||
|
}
|
||||||
|
// update once an hour
|
||||||
|
if (date_time.unit.minute == 0) {
|
||||||
watch_clear_indicator(WATCH_INDICATOR_SIGNAL);
|
watch_clear_indicator(WATCH_INDICATOR_SIGNAL);
|
||||||
watch_display_string("BA SLEEP ", 0);
|
_voltage_face_update_display();
|
||||||
|
watch_display_string(" ", 8);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
movement_default_loop_handler(event, settings);
|
movement_default_loop_handler(event, settings);
|
||||||
|
@ -77,7 +77,17 @@ bool thermistor_readout_face_loop(movement_event_t event, movement_settings_t *s
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case EVENT_LOW_ENERGY_UPDATE:
|
case EVENT_LOW_ENERGY_UPDATE:
|
||||||
watch_display_string("TE SLEEP ", 0);
|
// clear seconds area and start tick animation if necessary
|
||||||
|
if (!watch_tick_animation_is_running()) {
|
||||||
|
watch_display_string(" ", 8);
|
||||||
|
watch_start_tick_animation(1000);
|
||||||
|
}
|
||||||
|
// update every 5 minutes
|
||||||
|
if (date_time.unit.minute % 5 == 0) {
|
||||||
|
watch_clear_indicator(WATCH_INDICATOR_SIGNAL);
|
||||||
|
_thermistor_readout_face_update_display(settings->bit.use_imperial_units);
|
||||||
|
watch_display_string(" ", 8);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
movement_default_loop_handler(event, settings);
|
movement_default_loop_handler(event, settings);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user