How to shorten the shutdown delay from 60 seconds to 10 seconds when shorting PWR_BTN and GND on Orin nano Super?

Body:
Hello everyone,

I’m working with the Orin Nano Super development board. I noticed that when I short the specific GPIO pins corresponding to the PWR_BTN and GND (as shown in the attached image), the system initiates a shutdown sequence with a 60-second countdown before powering off.

I would like to shorten this shutdown delay to around 10 seconds instead of the default 60 seconds. Could anyone guide me on how to adjust this timing? Is there a specific configuration file, device tree setting, or system parameter that controls this timeout?

Any help or pointers would be greatly appreciated!


Hi dongxinghua,

What’s the Jetpack version in use?

It seems the delay can not be updated.
Please check if adding the following lines in /etc/systemd/logind.conf could help for your case.

HandlePowerKey=poweroff
HandlePowerKeyLongPress=poweroff