If anyone is wondering how to stop the Pixel from charging at a certain percentage, it's the following command:
Replace 90 with whatever percentage you want to stop charging at!
Code:
echo 90 > /sys/devices/platform/google,charger/charge_stop_level
Replace 90 with whatever percentage you want to stop charging at!