If a robot is in a remote location they need to be able to use their energy effectively in order to complete their mission or perform a task, so they also need to take energy from their surrounding environment.
In order to determine the location of the leak, the crew had been sealing off small peripheral modules of the space station while Mission Control looked for accelerated pressure drops inside the sealed-off sections.