Spot can walk about for 90 minutes top and the more it needs to do (e.g. running additional sensors, performing autonomous functions, etc.), the shorter its battery life will be (I'd guess around an hour is more realistic).
Bipedal prototypes like Atlas wouldn't last that long. Think 20 minutes or so for a heavy robot like that.