Dualsense battery upgrade


A while ago I’ve upgraded the battery of DualShock 4 with a 2200mah battery and everything was easy and it works really nice as I get like twice battery life compared to the stock 1000mah battery.

I would like to do this upgrade to the Dualsense controller too but I found out the battery has 3 wires and every battery I find on market has only 2, how could I fix this ? what’s the purpose of the third wire (white), it’s for balancing the charge or some temperature sensor ?