Tap on Volume buttons, then toggle customize in volume up or volume down option. Select the single tap, double tap or long press option, and tap power dialog. Now perform the action you have selected, and the power menu should be triggered. Now you can shut down or restart your device.