Hmm - I use a switch pro controller USB C -C cable to charge my Pixel 8 sometimes, and I notice that the phone often starts and stops charging while plugged in. Maybe there's some extra hardware in that cable...