KernelAdiutor
KernelAdiutor copied to clipboard
Power Key Suspend with a custom script
Hi, No problem with the built-in option but the toggle button (Wake > Power Key Suspend) is off when enabling the Power Key Suspend through a custom script.
I set mine into /system/su.d echo 1 > /sys/module/qpnp_power_on/parameters/pwrkey_suspend After reboot, the file pwrkey_suspend is set to Y instead of N and it does work.
Other modifications I made with this custom script are working (dt2w, backlight dimmer, fast charge...)
Version 0.9.27.4 beta
Not sure if this a bug. The path /sys/module/qpnp_power_on/parameters/pwrkey_suspend is not supported right now. So you mean "/sys/module/qpnp_power_on/parameters/pwrkey_suspend" should be added