Most are still 300 cycle batteries that has us using the ABC rule. (Always Be Charging) to keep the battery in top form and before anyone says otherwise, the old rules about NiCad and such mean that old advice is just that.
As to battery replacement, figure about 2 years before it's needed on average and as to if HTC does that, ask them.
Bob
I am planning on getting a new phone and thinking of either the HTC One or the Samsung Galaxy S 4. The one difference that I am concerned about is that I will not be able to replace the battery on the HTC. What kind of battery life can I expect from the one in the HTC, and how much (approximately) would it cost to have the battery replaced by my service provider or would it have to be done by HTC? Thanks.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic