Everything besides the number of charge cycles on the batteries is stored in relation to your DJI account & on the mobile devices you have used to fly your drone. (Some flightlog info can also be stored on the SD card you have used in the drone, just format the card & that info is gone).
The battery charges is stored in the BMS chip inside the batteries ...