Hi Upscalemomma,
Welcome to Apple Support Communities! We appreciate you reaching out for help with the battery performance of your iPhone X after having it replaced. We're certainly glad to look into this with you. We want you to have long-lasting and reliable battery life.
Since battery performance can be highly variable based on a number of factors, let's ensure we understand exactly what's going on. How long would you estimate your device lasts on a full charge before it's totally depleted? Have you noticed if the battery drains faster when using your iPhone in certain locations, or when using certain apps?
You can view a graph of recent battery performance for the Last 24 Hours under Settings > Battery. This graph can be used to analyze how long your device goes in between charges, and if there is corresponding device activity that explains more sudden drops in charge level. You can even tap right on the graph to determine which apps were using the most energy at any given hour.
The following guide has more information:
About the battery usage on your iPhone, iPad, and iPod touch - Apple Support
We'd also like to share a great resource that has helpful tips to get the most from your battery. Let us know if you have any questions about this guide:
Batteries - Maximizing Performance - Apple
Have a great day!