I am using the TPS61236P from Texas Instruments to charge a phone from a 3.7V Li-ion battery. I have gotten it working to the point where I have a ~5.1V output through a USB port, going into the phone. The phone recognizes that it is charging, but AIDA64 outputs a very low charging current (20-100mA).
I am wondering if the problem is the fact that I am using the constant current mode of the boost converter, which I have set to 2A. I have used the TPS2514 from Texas Instruments as a USB port controller (2.7V to D+ and D-), and have even shorted the D+ and D- lines (after removing the TPS2514), with no better result. Is the constant current mode causing this issue, or would that not be a problem?
If not, is there anything else that could be related to the USB port/controller itself that would limit the amount of current the phone can draw?
EDIT: I should note I am using a Nexus 6P as the phone to charge, with the cable being a USB-A to USB-C M/M cable. I have had no problems with the cable when used with a commercial grade phone charger.