Who would need to press the power button to actually turn off or restart the device, right?
The setting to change this is also pretty much buried under Settings -> Special Features -> Gestures.
(Yes, I have no idea why the Assistant is in German when the phone is set to English either 🫠)


Thanks.
On xiaomi, search for “gesture shortcut” in the settings menu to get to the right option menu.