Settings > Network and Internet > SIMS > Automatic data switching
Use data from either SIM depending on coverage and availability
I'm having trouble finding much detail on how this feature is suppose to work on either Pixel stock or GrapheneOS. I presume it's some sort of magic that's supposed to be better than a simple failover from primary to secondary.
Any documentation or clues available?