How to solve the problem of battery life attenuation