You can use a diagnostic tool built into your Pixel phone to test everything from battery health to the camera sensors.