this is custom rom, so that there is not any android official api to change the feature.
serveral hours later, I got the solution :
run adb shell settings list system
, get all setting keys and values;
change 'Enable true hibernation', and run the same command, compare values;
get the feature key is 'systemsleep_open';
then run code in app activity
try {
Runtime.getRuntime().exec("settings put system systemsleep_open 1")
} catch (e: Exception) {
e.printStackTrace()
}