Set Power button to open Camera, assistant, and more

You can customize the Power button, controlling what happens when you press it twice and when you press & hold it.

Press & hold Power
  1. Go to Settings > Gestures.
  2. Tap Press & hold power button.
  3. Choose what you want the gesture to do:

    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.

  4. To adjust how long you need to press & hold to start the selected action, move Press & hold duration.
Press Power twice
  1. Go to Settings > Gestures.
  2. Tap Double press power key.
  3. Choose if you want to open the camera or start a voice command. If you don't want anything to happen, choose No action.