From 02efe59cdd88168e9fe02cad281303b148e61e96 Mon Sep 17 00:00:00 2001 From: Alexander Boettcher Date: Fri, 19 Apr 2024 15:23:52 +0200 Subject: [PATCH] sculpt_manager: adjust system model state s3_prepare should be ACPI_SUSPENDING instead of ACPI_RESUMING Issue #5180 --- repos/gems/src/app/sculpt_manager/model/system_state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos/gems/src/app/sculpt_manager/model/system_state.h b/repos/gems/src/app/sculpt_manager/model/system_state.h index 1005e0ccb2..c2a6df3a6d 100644 --- a/repos/gems/src/app/sculpt_manager/model/system_state.h +++ b/repos/gems/src/app/sculpt_manager/model/system_state.h @@ -34,7 +34,7 @@ struct Sculpt::System_state : private Noncopyable auto value = node.attribute_value("state", String<64>()); if (value == "driver_stop") return State::DRIVERS_STOPPING; - if (value == "s3_prepare") return State::ACPI_RESUMING; + if (value == "s3_prepare") return State::ACPI_SUSPENDING; if (value == "suspend") return State::SUSPENDED; if (value == "s3_resume") return State::ACPI_RESUMING; if (value == "poweroff") return State::POWERED_OFF;