I'm designing a battery charger PCB using a LTM8062 2A battery charger IC. I'm going to use it to charge a 14.4v battery and I would like to have an indicator LED to let you know when it's done charging. The IC has an active low CHG pin for this purpose. However, the datasheet says: "Open-Collector Charger Status Output: typically pulled up through a resistor to a reference voltage. This status pin can be pulled up to voltages as high as Vin and can sink currents up to 10mA. During a battery charge cycle, this pin is pulled low. When the charge current falls below C/10, the pin becomes high impedance."
My question is, how can I hook up an LED that only turns on when the pin goes to high-impedance? (I'm assuming high-impedance means the pin is left floating) I'm thinking of using a PNP transistor, with the base hooked to the CHG pin, which also gets pulled to ground. The LED is hooked up to the collector end, and the emitter is just hooked up to the voltage source. Is this the correct way to do this?