mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 02:40:08 +00:00
sculpt_manager: adjust system model state
s3_prepare should be ACPI_SUSPENDING instead of ACPI_RESUMING Issue #5180
This commit is contained in:
parent
766060ece6
commit
02efe59cdd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user