It’s not common but make sure both the bike and battery are certified - UL here in the US. My rule of thumb is to buy a brand that’s sold in bike stores, even if you buy it DTC. Odds are better you’ll get something where you can get parts that way, or store support if you don’t do your own work.
I have a watt meter that’s programmed to shut off the output when the power draw drops below a set threshold for 60 seconds. It also powers a couple computer fans that cool the charger, so it’s set at 10W cutoff. Works great, and because it’s WiFi, I can plug in the battery when I get home, set a timer on my phone since I always let the battery sit for an hour to cool down or warm up to room temp before charging, then trigger it remotely to start. https://a.co/d/akYxqL9
Ours are 11, 7, and 3.