Ashkan: getBatteryThresh, setCheckinInterval, and getTaskStatus is
functions are implemented in MeasurementScheduler.