Switch off for overnight charge
A learned behaviour of mine over the past 2 decades is to charge my phone over night while the device is switched off (I sleep at night and don't want to be disturbed). Now, in iOS13, there is this battery optimizing feature, which learns when I use my phone, charges it over night to 80% and charges the rest just in time so that I have a 100% when I usually start using my phone in the morning. I guess this feature doesn't work when I switch my phone off for charging? Anyway, are there any disadvantages when charging over night while the iPhone is switched off? Any better charging methods that keeps my battery healthier?
Thanks.
iPhone XR, iOS 13