If the lithium battery is marked with a capacity (mAh), the capacity is divided by 1000 and multiplied by 0.3 to obtain the grams of the lithium content of the battery.
E.g:
The battery capacity is 5000mAh,
Then the lithium content is 5000mAh ÷ 1000X0.3 = 1.5 grams