A charging apparatus includes a sampling module, a control module, a clamping module, and a
switched capacitor module. The sampling module is configured to connect to a battery, collect current status information of the battery, and provide collected status information for the control module; the control module is configured to adjust output energy of the clamping module based on the status information, and provide a drive
signal for the
switched capacitor module, the clamping module is configured to connect to a power supply, receive power
supply energy provided by the power supply, process the power
supply energy into output energy, and provide the output energy for the
switched capacitor module, and the switched
capacitor module is configured to provide charging energy for the battery based on the drive
signal provided by the control module and the output energy provided by the clamping module.