diff --git a/applications/system/findmy/findmy_i.h b/applications/system/findmy/findmy_i.h index b4ffa5c50f..1d1178d584 100644 --- a/applications/system/findmy/findmy_i.h +++ b/applications/system/findmy/findmy_i.h @@ -38,7 +38,6 @@ struct FindMy { uint8_t mac_buf[EXTRA_BEACON_MAC_ADDR_SIZE]; uint8_t packet_buf[EXTRA_BEACON_MAX_DATA_SIZE]; - uint8_t battery_level; FindMyState state; }; diff --git a/applications/system/findmy/findmy_state.c b/applications/system/findmy/findmy_state.c index b1b1e272a3..8a60a312e5 100644 --- a/applications/system/findmy/findmy_state.c +++ b/applications/system/findmy/findmy_state.c @@ -42,13 +42,6 @@ bool findmy_state_load(FindMyState* out_state) { } state.tag_type = tmp; - if(!flipper_format_read_uint32(file, "battery_level", &tmp, 1)) { - tmp = 0x00; // Default battery level set to Full - flipper_format_rewind(file); - } - FURI_LOG_I("findmy_load", "Saved Battery: %ld", tmp); - state.battery_level = tmp; - if(!flipper_format_read_hex(file, "mac", state.mac, sizeof(state.mac))) break; if(!flipper_format_read_hex( @@ -171,9 +164,6 @@ void findmy_state_save(FindMyState* state) { tmp = state->tag_type; if(!flipper_format_write_uint32(file, "tag_type", &tmp, 1)) break; - tmp = state->battery_level; - if(!flipper_format_write_uint32(file, "battery_level", &tmp, 1)) break; - if(!flipper_format_write_bool(file, "show_mac", &state->show_mac, 1)) break; if(!flipper_format_write_hex(file, "mac", state->mac, sizeof(state->mac))) break;