Short battery life on my Apple iPhone Xs Max iOS 17
Cause 8 of 15: Automatic screen lock is turned off
When the screen lock is turned on, your phone's screen is turned off. If your phone's screen lock is turned off or is set set to turn on after a long period of time, the power consumption may increase.