It's tough times for the midrange phone.