How to put the variable frequency power supply in the battery