Robot Battery Runtime Estimate

Calculate runtime (hours) from battery nominal voltage (v), capacity (ah), average load (w), usable capacity (%).