sculpt_manager: adjust system model state

s3_prepare should be ACPI_SUSPENDING instead of ACPI_RESUMING

Issue #5180
This commit is contained in:
Alexander Boettcher 2024-04-19 15:23:52 +02:00 committed by Christian Helmuth
parent 766060ece6
commit 02efe59cdd

View File

@ -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;