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
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
請先 登入 以發表留言。