Electrohydraulics saves energy in excavator