Google has brought more battery-related features to its smartphones from the Pixel 3 series onwards. Now, newer Pixel smartphones will stop charging at 80% under certain conditions, building on the Adaptive Charging functionality that Google already integrates within stock Android.
https://www.notebookcheck.net/Google-adds-more-battery-health-related-features-to-the-Pixel-3-Pixel-4-and-Pixel-5-series.551062.0.html