Gear3 to measure gyroscope, acceleration, heart rate

Gear3 to measure gyroscope, acceleration, heart rate

BY 04 May 2017 Native Application Development

Hello.

 

I have developed the following program.

 

* Gyroscope measures 10 times per second (continued)

* Acceleration is measured 10 times per second (Continued)

* Heart rate is measured once per second for 3 minutes (every 3 hours)

 

* The measured data is written in a file in Gear3 and transmitted to the socket once every hour (using wifi)

 

The program runs without any problems.

 

However, if you run the program, it will run for about 6 hours and all the batteries will be destroyed.

 

I would appreciate it if you could give us a programmatic workaround to increase execution time.

Written by