custom LCD now has an 'arrows' indicator instead of a battery

This commit is contained in:
Joey Castillo
2025-05-12 22:34:27 -04:00
parent 956b8601f6
commit e0746e06f1
5 changed files with 18 additions and 14 deletions

View File

@@ -82,8 +82,14 @@ static void clock_indicate_pm(watch_date_time_t date_time) {
}
static void clock_indicate_low_available_power(clock_state_t *clock) {
// Set the LAP indicator if battery power is low
clock_indicate(WATCH_INDICATOR_LAP, clock->battery_low);
// Set the low battery indicator if battery power is low
if (watch_get_lcd_type() == WATCH_LCD_TYPE_CUSTOM) {
// interlocking arrows imply "exchange" the battery.
clock_indicate(WATCH_INDICATOR_ARROWS, clock->battery_low);
} else {
// LAP indicator on classic LCD is an adequate fallback.
clock_indicate(WATCH_INDICATOR_LAP, clock->battery_low);
}
}
static watch_date_time_t clock_24h_to_12h(watch_date_time_t date_time) {

View File

@@ -119,8 +119,7 @@ bool activity_logging_face_loop(movement_event_t event, void *context) {
break;
case EVENT_ALARM_LONG_PRESS:
state->data_dump_idx = 0;
/// FIXME: Battery indicator is now Arrows indicator.
watch_set_indicator(WATCH_INDICATOR_BATTERY);
watch_set_indicator(WATCH_INDICATOR_ARROWS);
movement_request_tick_frequency(4);
watch_set_decimal_if_available();
// fall through
@@ -146,8 +145,7 @@ bool activity_logging_face_loop(movement_event_t event, void *context) {
state->data_dump_idx++;
if (state->data_dump_idx >= MOVEMENT_NUM_DATA_POINTS) {
state->data_dump_idx = -1;
/// FIXME: Battery indicator is now Arrows indicator.
watch_clear_indicator(WATCH_INDICATOR_BATTERY);
watch_clear_indicator(WATCH_INDICATOR_ARROWS);
watch_clear_decimal_if_available();
movement_request_tick_frequency(1);
state->display_index = 0;