But you need very very little digital logic... The same kind of quantity to do the little power indicator LED's on a battery bank (which are charlieplexed btw), and thats done in the same ASIC that also has the 5V boost power supply (multi-amp gnd isolated n type mosfet) and charge circuitry involving voltage references and laser tuned comparators, and sometimes negotiates USB-C PD as well (needs an internal ROM). And the whole thing needs to be really cheap and with a standby current of uA's.
As long as you aren't interested in multi-Mhz operation, combining the rest at very low cost isn't too tricky.
As long as you aren't interested in multi-Mhz operation, combining the rest at very low cost isn't too tricky.