Batch Scheduling For Energy-Efficient Sensing In Smartphones