I got the iphone 15 pro max about a month ago and I'm really trying to preserve my battery life as much as I can after reading about all the battery problems with the iphone 14.
I currently have "optimized charging" on and I'm charging it overnight, hoping that the iphone would learn my sleep pattern, keep the charge at 80% and have it ready at 100% when I wake up. But it's been around a month and it still charges immediately to 100% when i go to sleep. I must admit that I'm not going to sleep at the same time everyday (varies by 1-2 hours) but it should be smart enough to know that. Am I doing something wrong? Or does it need more time to learn?