This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

power on/off button

Hello,

i want to power off and on the board using the Long Press Button Event.

Is this possible? Please help me out to resolve this issues...

Thank You

  • Hi Milav.

    What do you mean by power off? Are you using the sd_power_system_off() function?
    Note that the device is not OFF when you put it in system off mode, it is put in a low power/deep sleep state, where it can only be waked up by reset, GPIO, NFC field or LPCOMP module.

    This case might provide some useful information.
    As Hung and Endnode said, there is no clock running in SYSTEM OFF, so you will not be able to detect "long press".

    Best regards,
    Joakim

Related