fault was found to be that something had shorted meaning the heated rear window was permanently on
I've had this too. Many accessories are powered directly from the battery via a relay. If the relay contacts weld closed, battery goes flat.
First stop is to measure voltage when running and identify if the battery is charging.
If that looks OK, check the current from the battery when idle.
Use a multimeter with at least a 10 amp range in series with the battery. Put a headlamp bulb in series with the multimeter to protect it in case something draws a huge current. Leave the car for a few minutes with everything closed (except the bonnet!) so that it's stable, then measure the current, moving down the ranges on the multimeter as required. Normal standing current should be tens of milliamps or less.
If you've got a drain problem, keep the multimeter connected and go round unplugging fuses until you find the one that's passing the current. That should narrow down the problem to a few circuits.
Kevin