Add resistors to the charger indicator diodes so that the IO ports can detect the levels.