A New Approach to Battery Management System Control Design For Increasing Battery Longevity