close
android 本身就有suspend test function 可以提供debug test
suspend test 步驟如下
1.kernel config 將debug enable
CONFIG_PM_DEBUG=y
CONFIG_PM_TEST_SUSPEND=y
2. adb shell command
echo "core" > /sys/power/pm_test
echo "mem" > /sys/power/state
文章標籤
全站熱搜