Instant power off?

Hi, I have just installed CoreELEC 9.2.0 on my H96 Pro+. Is there a way to instantly shut it down using the power button on my remote, w/o opening the Kodi power options dialog? I was previously using LE and had it working like that - can’t remember how I achieved that, though. Many thanks.

You can use the kodi addon “Keymap Editor” and map a key to the “Shutdown” function under “Edit”–>“Global”–>“System”.

thanks, that did the trick!