For Windows, I simply let the laptop run until it had used 50% of the battery. Watts = Joules / second.
On Linux, I used the same methodo to calibrate against powertop. (But found less than 5% of discrepancy anyway.)
If we are talking about battery-life at least.
In fact, what mobile device manufacturers have learned is that the best way to save power is to ramp up power to complete a non-IO task in as little time as possible then go back to a lower TDP as that is where peak efficiency (rather than minimal consumption) lies.
I think most people are interested in their battery life when they are measuring their battery life.
Numbers you get while plugged in won't have any relevance to battery life or performance. That even applies to mobile devices, despite their learnings.
You should use the same methodology for both.
That estimate is usually accurate, but it can drift a bit over time if you never fully recharge or discharge the battery. Also, when the battery gets old it starts having trouble delivering full current when mostly discharged, which is why you'll sometimes see shutdowns at 5-15% remaining.
I'm assuming you used Powertop on Linux.