EV battery engineer here. It's not hard. Battery management systems are often over engineered but the state of the art is fairly straightforward and will allow battery packs of sufficient size last 200k miles or more easily.