Use wake locks in running syncs; clean up associated code
3 files changed