Battery-operated switches