Hi10 Air Battery Calibration

My Hi10 Air is randomly shutting down without warning and at different remaining battery levels. Sometimes, I get 4 hours of runtime on battery, sometimes it shuts down after just 10 minutes. I suspect that the battery settings have been corrupted. How to reset/calibrate the battery?

To recalibrate.
When the device turns off, restart it and continue to use it until it stops again then restart it again.
Keep restarting it until it is completely dead then recharge it fully.
This should reset the parameters.