How to charge only lead-acid batteries