Been flying a DJI Mini 2 drone around for a couple of years now. AirData keeps track of flight information.
Also Dronelink keeps track of minutes flown with their app. Since I use Dronelink primarily for mapping and attempting to do drawings, it is only a small portion of total flight time.
Each flight is saved and compiled by Dronelink. I believe it includes only actual flight time while using Dronelink to control the drone, and then only when flying an actual planned flight pattern. e.g. I do not believe it includes any time "just flying around using the joy sticks".Even though I had purchased Dronelink (and also Litchi) when I got the Mini 2, since DJI did not release the SDK for the Mini 2 for nearly a year, there are no earlier Dronelink flight records.