I have many cameras 10+ years old like 5D4, 5DsR, 5D IIIs, a bunch of xxD DSLRs, half-dozen 1D series, etc. that never house batteries. That is not to mention the modern R series that is too new to matter. I normally take the camera batteries out when returning home country and only use them again months or sometimes over a year later.
Again I cannot speak for other barnds, so they may be different. But I just pulled a 5D III, installed an LP-E6P and the time was set to a place where it would have been used around 2015, though I may have installed a battery at some later point. I don't recall using such an archaic camera in the field after 2015/2016 when I had the 5DsR and 5D IV. As of today the clock is ~25 minutes slow. The menu was as it would have been whenever I used it last so it seems to have retained everything somehow. I thought Canon used supercaps since the 2000s, but not likely to retain charge that long.
EBH