Revenue from its consumer business, which includes phones, fell by nearly half.