With some phones you can set a charge limit in software at like 50%, that should pretty much solve it I believe.
You can also "just" take the battery out, it might still function without it or with something that pretends to be a battery but isn't