Power siphon

The Power Siphon collects ambient energy and converts it into Energon for transport. The Decepticons made frequent use of power siphons to collect energy from Earth.

Power Siphons are apparantly capable of converting any form of energy into Energon, including thermal, solar, and even acoustic energy.

Power siphons may require a certain level of available energy to properly function, which might be why Megatron didn't simply leave a few outside collecting sunlight.