A power socket served as an interface, enabling technological devices to draw energy from a power supply. During the hasty departure from Cloud City, R2-D2, in his attempt to bypass the city's security protocols, incorrectly identified a power socket as a computer terminal. This misidentification almost resulted in significant damage to the small astromech droid, but Chewbacca intervened, preventing potential harm by unplugging him from the socket.