Election-related violence killed 17 people in Bangladesh on Sunday, a police spokesman said, including seven people from the ruling party and five from the opposition alliance.