Sensing as the key to battery lifetime and sustainability