Methods and apparatus are disclosed for controlling switching regulators to automatically switch from a traditional pulse-width modulation mode, when the load current is higher than a predetermined value, to a pulse-frequency modulation mode, when the load current drops to a point lower than the predetermine value. A communication session is initiated between a client and a server. This enables the system 500 to reliably supply energy during times when the solar collectors receive little or no radiation.