How does the DJI Matrice 3D Series Intelligent Flight Battery's self-heating function work?

When the battery temperature is below 18°C (64.4°F), self-heating activates once the battery is inserted and the aircraft is powered on, turning off automatically after takeoff. The aircraft cannot take off if the battery temperature is below 10°C (50°F).