Testing Suspend and Hibernation

“‘The following patches add a new testing facility for suspend
and hibernation,’ noted Rafael J. Wysocki. He continued, ‘the first
patch adds the possibility to test the suspend (STD) core code
without actually suspending, which is useful for tracking problems
with drivers etc. The second one modifies the hibernation core so
that it can use the same facility (it’s a bit more powerful than
the existing hibernation test modes, since they really can’t test
the ACPI global methods).’

“The testing facility introduces a new /sys/power/pm_test_level
attribute, accepting a number from 1 to 5, with each value
simulating a different level of the suspend or hibernation


Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis