For safety and remaining capacity Li-ion battery