bat: Calculate wear level.