Could be a coincidence, but the first time I ever let my 2020 run until the def warning came on the def level sensor stopped working and even after refilling the def the fluid level was never recognized. The entire def tank had to be replaced as the sensor is not available on its own.
Ever since I had that issue I fill up the def around 1/4 tank, well before the countdown begins. I do enough towing that I never worry about the def going bad, fill the tank 4-5 times per year.
One thing I found odd was that on a recent trip through northern Ontario while towing is that once the temperature warmed up above -10C I could actually watch the gauge go down as I drove, it’s as if the tank was frozen and once it thawed the level sensor caught up to itself.
Also save your def jugs and refill them at a truck stop if you are going on a long trip while towing, the bulk def is less than half the cost of a jug in my area. Price gouging is crazy when buying it by the jug at gas stations along the highway.