Suspend function updated.

Remove unnecessary stress test for PM-QA;
Add more condition checkings before taking actions.

Signed-off-by: hongbo.zhang <hongbo.zhang@linaro.com>
12 files changed