Is your battery not performing well anymore in your Pixel device (or any other phone)?
Instead of trashing it, you can replace the battery yourself with a little bit of help from Ifixit. My own personal daily driver needed this recently, the battery itself was bulging, and forcing the screen to separate from the phone body, which distorts the sound and lets in horrendous amounts of dust and dirt.
With a $60 kit, you get not only a new OEM battery, but some other tools and instructions on how to complete the swap yourself on your kitchen table or workspace in just minutes. This is a lot better than paying for an entirely new device. Even if you do upgrade phones, having an extra one laying around comes in handy for many different things. Great for testing apps, use it as an extra screen for your laptop or desktop, keeping a backup and many other use cases.
Purchase a new battery kit here: https://www.ifixit.com/Search?query=pixel%20battery%20kit