Energy partitioning dynamics of drying terrestrial surfaces