You can customize the Power button, controlling what happens when you press it twice and when you press & hold it. You can also choose what happens when you slide up or down on the Power button.
Choose what you want the gesture to do:
To start a voice command, select Digital assistant.
If you select a choice other than Power menu, then to see the Power menu for turning off and restarting, you'll need to press the Power + Volume up buttons simultaneously.
You can set the Power button to open and close quick settings & notifications when you slide your finger up or down it, or set it to zoom in and out on Google Maps.
To use the gesture:

Set what you want the gesture to do:
To zoom in/out in Maps when you slide up/down, select Zooming.
Move Slide sensitivity to adjust how firmly you need to press when sliding to zoom.
To disable the gesture:
