Setup a shortcut, to turn off bluetooth, wifi, and cell data from 1am > 5am and you will see a significant increase in battery life. Set a shortcut automation to turn them back on before you wake up. Apple likes to use this period as an network update period, it seems to excessively use FindMy during this time, which makes no sense as you are home, and some users decide to leave the phone unplugged over night to save battery life.
Poorly written apps: I've seen the Govee Home app, continue to ignore background refresh settings, and will drain your battery because it keeps the bluetooth connection open constantly.
Also TURN BACK OFF all the Privacy Location services that Apple turns back on. I turn all of them of but for Emergency SOS, Networking & Wireless, and FindMy.
My SE2020 had no battery change after the iOS 17.0.1 update because of the automation turning off data services at night. Basic cell service is still enabled, a SMS text message can still come through to you with the above 3 settings disabled. This is better than using Airplane mode because you want to keep a little connection. If you leave Wifi on, it will drain you dry overnight.
Apple is only familiar with iPhones sitting on MagSafe chargers in their store. Once you remove them from the MagSafe, Apple is unsure what really happens outside of their TV an Music applications they perform their tests with.
Good luck!