A big group of animals makes itself dependent on a power grid, hooked onto the socket-shaped snout of a single sleeping pig… How long will that last?

A big group of animals makes itself dependent on a power grid, hooked onto the socket-shaped snout of a single sleeping pig… How long will that last?