i think you can get away with resistors when you can work with 5V, up to 1.5A. lithium batteries need current limiter in series with voltage limiter, and this alone can be made in a very simple way, unless you want to know when battery is charged, or if you want extra efficiency that smps gives you, but this only makes sense for larger batteries (phone-sized and up) or when you want to handle everything to charger and connect battery to charger directly. then you need controller
I believe lithium ion batteries need custom chips just to charge and discharge smartly
Shit, even connecting to modern USB c to negotiate voltage you need a controller
i think you can get away with resistors when you can work with 5V, up to 1.5A. lithium batteries need current limiter in series with voltage limiter, and this alone can be made in a very simple way, unless you want to know when battery is charged, or if you want extra efficiency that smps gives you, but this only makes sense for larger batteries (phone-sized and up) or when you want to handle everything to charger and connect battery to charger directly. then you need controller