Max-Mobility / Permobil-SmartDrive-Study

Data Study Collection App for WearOS
2 stars 0 forks source link

use JobScheduler for specific tasks #18

Closed finger563 closed 5 years ago

finger563 commented 5 years ago

outside of that - the app should be running save periodically - which will send the data if possible to the server, but may not be able to, so the data will have to be pushed. For save we probably don't want to call requestNetwork since that can eat the battery, but when charging we definitely want to call requestNetwork to push

finger563 commented 5 years ago

charging detection has been implemented since 8b518ed10c1f35b3b30000cd0c572b3356ac4b9c - note we're not using job scheduler but rather broadcast receivers and intent filters