If you have excessive battery wear in the first year, they'll replace it under warranty. But I think the threshold is 80% and/or 300 cycles ... or something like that.
My iPhone 5 had a bad battery and required a battery swap within the first year under warranty. It would probably be very difficult to deplete the battery to such a level unless it was defective in the first place.