I hate this. I was a holdout with an LG G5 (last flagship-esque phone with a removable battery), and went through three battery replacements until the GPS antenna failed, and now I have an LG V35 with a potted battery.
I wasn't able to find a way to configure the charge controller with software, so now I just never plug in overnight and try really hard to manually unplug it before it reaches ~70 or 80%.
This works... The phone is ~2.5 years old and the battery is still fairly close to nominal capacity. I just wish it wasn't such a pain.
This "new" phone is also well out of the support window, so I haven't gotten Android or security updates in over a year, and it had limited enough release that custom ROMs are not an option. With LG leaving the market, I'm considering gritting my teeth and getting an iPhone when this one dies, if only for the longer software/security support window, which feels absolutely ridiculous.
I think you can estimate how much time it does take to charge from x to 80.
Or for folks who have home assistant and some controllable socket - automation should be possible as mobile phone reports battery charge!
I hope you do not browse the Internet on it, since a lot of security bugs are probably not fixed in its browser (and you're not allowed to install another one). So you put all your data on the phone at risk when using the Internet.
iOS 12 gets security updates every few months or so. The last update, 12.5.2, was a little over a month ago: March 26.
Source: I also have an old phone.
iOS 12 is currently in the n-2 slot, but even on macOS older versions have gotten security updates as needed.
It's definitely slowed down and the battery is rated at 76% capacity now, but it can still browse the web, play a handful of games I occasionally open, and handle the few social apps I use.
When it comes to browsing, JS and animation heavy sites can tank performance though, e.g. Apple's product pages and https://blloc.com
I'm only just starting to consider getting a new phone, but am willing to wait till the fall if I can to see if Apple brings back TouchID with the iPhone 12s/13 or whatever they choose to name the upcoming models.