G520 power key long press behavior configuration

Dear MTK,

The customer wants to know if a long press of the G520 power key can generate an event for the system.

The use case is:
After a long press of the power key, a message pops up asking if the user wants to power off, and then a password is required to power off.

Is there a similar configuration that can be provided to the customer for reference?

Thanks.


Best Regards,
Roy Hung

Dear Roy_Hung,

Thank you for your inquiry.

To better assist you with your request, could you please confirm whether your Genio-520 platform is running Android or Yocto?

Thank you.

Dear Santosh,

Customer is using “Android”.

Thanks.


Best Regards,
Roy Hung

Dear Customer,

In our G520 EVK, power key does not generate a event and it is directly controlled by the PMIC and hardwired to turn the device off when pressed.

Thanks

Dear MTK,

Thank you for your help.

We will inform the customer.

Thanks.

- -

Best Regard s,

Roy H ung