Battery safety management measures