Your iPhone (or any smartphone) uses power continuously, even overnight. The lock screen uses power every time you receive a notification, as it must turn on to process the notification. Find My uses energy to determine its position, and also to respond to requests for location from any devices that you share your location with.
You should be charging your phone overnight with Battery Charging Optimization turned on. And you are letting your battery get much to low; over time, that will shorten the useful life of the battery. The absolute best way to get maximum use on a charge, as well as slow the decline of battery capacity long term is to enable Optimized Battery Charging (Settings/Battery/Battery Health) and charge the device overnight, every night. The battery will fast charge to 80%, then pause. During the nighttime pause the phone will use mains power instead of battery power, allowing the battery to “rest”, and thus reducing the need to charge the battery quite as often. The phone will resume charging to reach 100% when you are ready to use your phone; it will “learn” your usage pattern. If you enable iCloud Backup (Settings/[your name]/iCloud - iCloud Backup) the phone will back up overnight also, assuring that you can never lose more than the current day’s updates. Here's more information→About Optimized Battery Charging on your iPhone - Apple Support