You don't want to fully drain the main battery as it would do severe damage to it and most of the 12v system has a phantom draw of power so to keep the main battery from running out they have a separate one
It does happen I have a buddy who sold his phone to another buddy they reset it but there was still random files and stuff on it even after factory reset