DS18B20 - is current consumption of pullup resistor relevant for battery powered project
Current exists when there is voltage difference. If you pull a line up to 5V and it sits there, there is no current (ignoring nanoamp or picoamp leakage and stuff). When line goes down in, for example, I2C, then the line is at 0V, but the other side of pullup is still at 5V, so there is current through the pullup. It's important to know the state of the pins when MCU sleeps, which I don't know. If the pins are input during sleep, you can treat it as no current. Which is likely, but you will probably need to measure voltage across pullup resistor when MCU sleeps.
I would expect it to NOT consume any current, but you have to either find or explicitly set pin states in/before sleep mode using datasheet and/or measure voltage across pullup (0V will mean no voltage difference across pullup and thus no current).