two things, through personal experience leap out as battery killers,
- Molly if you use websocket
- 5G
Molly, would consume 30% of total battery in 24 hours, just maintaining the connection to the server with few messages, I just deleted Molly, not wanting to use G@@gle play services etc.
5G, I changed the modem to 4G preferred.
Check your current phone connections via, settings > about phone >SIM status > and check that mobile voice and mobile data are both the same. Both mine are 4G, when my phone showed 5G on the home screen it was in reality 4g for phone and NR NSA for data (5G), so my modem was using several protocols at once to provide a service and killing battery consumption.