Sensors in sleep mode

Sensors in sleep mode

BY 24 Apr 2017 Native Application Development

Hello !

I’m trying to retrieve continous heart rate with Sensor Listener API.  

Everything works fine excepts that when the wearable goes into sleep mode, the sensor call_back stops to be called.

I ‘ve already added SENSOR_OPTION_ALWAYS_ON and SENSOR_PAUSE_NONE but like the doc says, it doesn’t affect sensors on sleep mode.

I’d like to know under what conditions the device enters in sleep mode ?

Is there a way to make HRM work during sleep mode ? Or maybe to make it works in batch manner like SENSOR_SLEEP_MONITOR does ? 


Thanks in advance !

Written by