I'm designing my first PCB, a wireless Keypad/Macropad with a battery. I'm probably going to be using a 2Ah Li-Ion battery because there will be a lot of LEDs on it and I just want it to last longer but I'm not sure how exactly would I charge it over a USB-C port on it.
I'll be charging the battery at 1C (2A) and 5V from USB using a Li-Ion charging IC but I'm not sure if I need any special circuitry to enable that, do I need USB-Power Delivery for 10W or not? I'd also want to be able to charge it from a regular PC USB port (so 5V at 500mA or 900mA on USB 3 apparently) so how exactly would that work with USB-PD if I'll need it? Would USB-PD just use max. current it can get from the source even though it's not what it's trying to negotiate?
I've been researching this topic quite a bit in last few days and I've came across the TPS6598x IC series and I'd probably end up using that in case I need USB-PD so that's what this question is based around.