Hazardous metals in lithium batteries