I kind of agree with your approach provided that it really works; needs more input on this. Why would we slow charge as proposed in many of the comments, if the current tech embrace fast charging - kind of defeat the purpose. I never leave my phone changed 100% for long, and my anecdotal evidence can prove that works as my phone battery is reaching 6 years. Anyway, there a post somewhere in lemmy suggesting not to change beyond 85%.
Sorry to say, I would take this with grain of salt. Not making profits is part of business model of these pioneering companies. Google, Amazon and Uber (etc) were in the negatives for so many years and they absorbed the losses in order to be the dominant brands where at the end users become dependent on them. At that point they’ll start to charge exorbitantly and forcefully add unneeded features that will exert more control upon their users but there’s nothing that they can do but pay, for the simple fact that they can’t do without them.
I did it on mine. You can use ‘battery level’ state. Set it between 80-100% for example.
I think I’ve share mine tasker project somewhere in my comment quite awhile ago. anyway, if you want you can DM me.
edit: it’s not totally automatic. Need to manually unplug once reaching the level.