If the power button is broken on your Google Pixel, connect it to a power source and use a toothpick or pin to press on it. If you still have a valid warranty, you can request a replacement.