Logging battery usage

Is there a way to logg the energy usage during a dive?
For example how much kwh is used during a dive…

One easy way is to tick the “used” field in QGC battery section.