A power adapter, comprising: a first rectifier, configured to rectify input alternating current to output a first voltage with a first pulsating waveform; a switch unit, configured to modulate the first voltage with the first pulsating waveform according to a control signal; a transformer, configured to output a second voltage with a second pulsating waveform according to modulated first voltage with the first pulsating waveform; a second rectifier, configured to rectify the second voltage with the second pulsating waveform to output a third voltage with a third pulsating waveform; a first current sampling circuit, configured to perform a current sampling on the third voltage with the third pulsating waveform to obtain a current sampling value; a first capacitor bank and a second capacitor bank, each being coupled to an output end of the second rectifier; and a control unit, coupled to the first current sampling circuit and the switch unit respectively, and configured to output the control signal to the switch unit, and determine an output current of the power adapter according to the current sampling value when the power adapter enters a first charging mode, wherein, when the power adapter enters the first charging mode, the control unit is configured to isolate the first capacitor bank when the output current of the power adapter is at a rising edge or a falling edge; and the control unit is configured to enable the first capacitor bank to work when the output current of the power adapter is at a platform segment, between the rising edge and falling edge, wherein the first capacitor bank comprises a plurality of solid capacitors coupled in parallel, and the second capacitor bank comprises a plurality of ceramic capacitors coupled in parallel. a first rectifier, configured to rectify input alternating current to output a first voltage with a first pulsating waveform; a switch unit, configured to modulate the first voltage with the first pulsating waveform according to a control signal; a transformer, configured to output a second voltage with a second pulsating waveform according to modulated first voltage with the first pulsating waveform; a second rectifier, configured to rectify the second voltage with the second pulsating waveform to output a third voltage with a third pulsating waveform; a first current sampling circuit, configured to perform a current sampling on the third voltage with the third pulsating waveform to obtain a current sampling value; a first capacitor bank and a second capacitor bank, each being coupled to an output end of the second rectifier; and a control unit, coupled to the first current sampling circuit and the switch unit respectively, and configured to output the control signal to the switch unit, and determine an output current of the power adapter according to the current sampling value when the power adapter enters a first charging mode, wherein, when the power adapter enters the first charging mode, the control unit is configured to isolate the first capacitor bank when the output current of the power adapter is at a rising edge or a falling edge; and the control unit is configured to enable the first capacitor bank to work when the output current of the power adapter is at a platform segment, between the rising edge and falling edge, wherein the first capacitor bank comprises a plurality of solid capacitors coupled in parallel, and the second capacitor bank comprises a plurality of ceramic capacitors coupled in parallel.