How to use high-power direct charging for batteries