I have a service that collect data, and every hours the service need to send this data to my server. I know their is plenty of solutions available to schedule task, but in my case what will be the most efficient regarding battery consumption and resource utilization ?
also my service can be stopped, and when my service is stopped then it's must not send anymore any data (so alarmmanager seam to be not the best way because it's will restart my service as far as i know)