UNDERSTANDING AND PREVENTING LIFETIME FAILURE IN LITHIUM-ION BATTERIES