Total manganese content in batteries