Method for controlling a traction battery of a vehicle, said battery being configured to store a quantity of electricity over a determined period, a first quantity of the electricity stored in said battery being allocated for a use by said vehicle and a second quantity of the electricity stored in said battery being allocated for restitution to an electrical network, said method comprising the following steps: - determination of first information representative of a state of health of said battery at a current instant; - determination of a second piece of information representative of a state of health of said battery at a time determined by extrapolation of a set of information representative of the state of health of said battery comprising at least the first information, said determined instant corresponding to the expiry of said determined duration, said determined instant being temporally posterior to said current instant; - adjustment of said second quantity of electricity allocated as a function of a comparison result between said second information and a threshold value; the state of health of the battery is a function of calendar degradation of the battery due to calendar aging of the battery and of cycling degradation of the battery due to cycling aging of the battery battery, said adjustment of said second allocated quantity of electricity comprising the following steps: - calculation of a first value representative of a cycling degradation coefficient of said battery as a function of time, said first value being calculated as a function of a cycling degradation value determined from said first information and a calendar degradation value determined at the current time from a calendar degradation model, a temperature and a state of charge of said battery; - calculation of a second value representative of cycling degradation at said instant determined from said first value; - calculation of a third value representative of calendar degradation at said instant determined from said second value and said second information; - calculation of a fourth value representative of an admissible cycling degradation limit at said instant determined from said third value and a fourth piece of information representative of a minimum admissible state of health of said battery; - determination of the second quantity of electricity adjusted as a function of said fourth value, of said first value and of said first quantity of electricity. - determination of first information representative of a state of health of said battery at a current instant; - determination of a second piece of information representative of a state of health of said battery at a time determined by extrapolation of a set of information representative of the state of health of said battery comprising at least the first information, said determined instant corresponding to the expiry of said determined duration, said determined instant being temporally posterior to said current instant; - adjustment of said second quantity of electricity allocated as a function of a comparison result between said second information and a threshold value; the state of health of the battery is a function of calendar degradation of the battery due to calendar aging of the battery and of cycling degradation of the battery due to cycling aging of the battery battery, said adjustment of said second allocated quantity of electricity comprising the following steps: - calculation of a first value representative of a cycling degradation coefficient of said battery as a function of time, said first value being calculated as a function of a cycling degradation value determined from said first information and a calendar degradation value determined at the current time from a calendar degradation model, a temperature and a state of charge of said battery; - calculation of a second value representative of cycling degradation at said instant determined from said first value; - calculation of a third value representative of calendar degradation at said instant determined from said second value and said second information; - calculation of a fourth value representative of an admissible cycling degradation limit at said instant determined from said third value and a fourth piece of information representative of a minimum admissible state of health of said battery; - determination of the second quantity of electricity adjusted as a function of said fourth value, of said first value and of said first quantity of electricity. - calculation of a first value representative of a cycling degradation coefficient of said battery as a function of time, said first value being calculated as a function of a cycling degradation value determined from said first information and a calendar degradation value determined at the current time from a calendar degradation model, a temperature and a state of charge of said battery; - calculation of a second value representative of cycling degradation at said instant determined from said first value; - calculation of a third value representative of calendar degradation at said instant determined from said second value and said second information; - calculation of a fourth value representative of an admissible cycling degradation limit at said instant determined from said third value and a fourth piece of information representative of a minimum admissible state of health of said battery; - determination of the second quantity of electricity adjusted as a function of said fourth value, of said first value and of said first quantity of electricity.