I thought that's what I had done. I chatted with Apple Support. They ran remote diagnostics on my phone and told me I was eligible for a battery replacement. I made an appointment at the Apple store through the chat. They said a battery would be waiting for me. It wasn't.
I downloaded a battery status app. It says my battery is either 82% of capacity or 52%. No wonder I have to keep the thing plugged in all day.