From d8504da6984fb68e31b2020f7bccafa750068dff Mon Sep 17 00:00:00 2001 From: WillyJL <49810075+WillyJL@users.noreply.github.com> Date: Fri, 20 Jun 2025 04:43:15 +0100 Subject: [PATCH] Fix bad battery anim showing with fake power info --- .../services/desktop/animations/animation_manager.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/applications/services/desktop/animations/animation_manager.c b/applications/services/desktop/animations/animation_manager.c index 0c6522c07..2dbac5b34 100644 --- a/applications/services/desktop/animations/animation_manager.c +++ b/applications/services/desktop/animations/animation_manager.c @@ -363,14 +363,14 @@ static bool animation_manager_is_valid_idle_animation( bool result = true; - /*if(!strcmp(info->name, BAD_BATTERY_ANIMATION_NAME)) { + if(!strcmp(info->name, BAD_BATTERY_ANIMATION_NAME)) { Power* power = furi_record_open(RECORD_POWER); bool battery_is_well = power_is_battery_healthy(power); furi_record_close(RECORD_POWER); result = !battery_is_well; - }*/ - + } + if(!strcmp(info->name, NO_SD_ANIMATION_NAME)) { Storage* storage = furi_record_open(RECORD_STORAGE); FS_Error sd_status = storage_sd_status(storage);