If the batteries in the Thermostat have run out, the heating schedule will not be followed and the heating will remain off until the batteries are replaced.
The hot water schedule (if applicable) is not affected and will continue to operate as normal.