Yes, that seems to be the only way.
There's even an application on the market (battery calibration)..
However I would rather use recovery.
Thing is why haven't any deva's thought of incorporating a battery percentage calibration tool for custom GB rom user's within recovery?
Would seem 2nd...