Safety cost of lithium batteries