aubrielle_elise wrote:
. I used to power my phone off every night, but now I am scared to do so...
There is absolutely no technical reason to turn your iPhone off at night, and doing so will result in expedited battery degradation. When you leave it on and plugged in, the overnight processes on the phone will be powered the external charger rather than the battery, thus reducing the number of charge cycles required to maintain 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