Energy-Aware Wake-up Scheduling for Data Collection and Aggregation