I have a photo of LEXINGTON tied up at Tacoma right as she commissioned in 1928 or 1929 doing that.
It's not just power and water, though. A warship is a heliport, comms node, secure base camp, storage facility and hospital all rolled up into one. And she's just chock full of strong, fit, young...