Principle of battery capacitor