sample code to send lipo volage info to Mavic Pro, connect a pixhawk battery sensor to arduino to get vol info and current info , than use this code to send the info to Mavic.
not fully test the mhA counter case my battery sensor is broken, and then i naver fly with normal battery.