KernelAdiutor icon indicating copy to clipboard operation
KernelAdiutor copied to clipboard

Power Key Suspend with a custom script

Open walrus543 opened this issue 9 years ago • 1 comments

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

walrus543 avatar Aug 09 '16 12:08 walrus543

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

Grarak avatar Aug 13 '16 13:08 Grarak