Well some sneaky legislative aide in EU already thought about that.
Any natural or legal person that places on the market products incorporating portable
batteries or LMT batteries shall ensure that those batteries are available as spare parts of
the equipment that they power for a minimum of five years after placing the last unit of the
equipment model on the market, with a reasonable and non-discriminatory price for
independent professionals and end-users.
Software shall not be used to impede the replacement of a portable battery or LMT battery,
or of their key components, with another compatible battery or key components.