GIR
Member
Hello,
I am making an app that makes sure someone is safe my monitoring their motion via the accelerometer, but this is draining the battery very quickly.
To help mitigate this I am considering moving the main code to either a service or a thread so the sensors can be used on a 1 minute on/off duty cycle.
Which should I use? Ideally the app should keep monitoring in the background when the screen goes off).
Regards,
GIR
I am making an app that makes sure someone is safe my monitoring their motion via the accelerometer, but this is draining the battery very quickly.
To help mitigate this I am considering moving the main code to either a service or a thread so the sensors can be used on a 1 minute on/off duty cycle.
Which should I use? Ideally the app should keep monitoring in the background when the screen goes off).
Regards,
GIR