Audio amplifiers for high-power portable speakers such as trolley speakers usually operate with lithium-ion batteries, and these batteries can vary from a single cell to a few cells in series.
The circuit shown in Figure 1 illustrates one of the most basic versions of the buck-boost voltage regulator. An electrical switch is connected in series with the line input to regulate the circuit.