Hi,
I installed the 8.1-rc1 64 on my Lenovo Ideapad MIIX 520 12. Everything is working fine, but I would like to change the behavior of the power button and screen timeout.
I have successfuly suspended the device to memory by running the following command:
echo mem > /sys/power/state
And by pressing the power button, the device wakes up without any problem.
Currently, pressing the power button brings up a popup menu asking me if I want to shut down or reboot the device. I would like it instead to just suspend to memory.
Additionnaly, when the device display times out, the device kind of suspends but I don't know how exactly. And if I press the power button, the fan starts spinning at 100% but the display stays off. So ideally I would like to suspend the device to memory too when the display times out.
Is there any way to achieve this, either by tweaking the props or even recompiling Android?
Thanks!