Update your iPhone XR to the latest iOS version, enable Optimized Battery Charging in settings, and reduce screen brightness to improve battery life. Additional tips include using auto-brightness, shortening auto-lock time, turning off Wi-Fi when not in use, and monitoring battery usage of apps to extend the battery life of your iPhone XR. Replacing the battery is also an option if the above methods do not help improve battery performance over time.