Compensation of changes in the motive power of the mainspring