Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Wake on Step Count

ANSWERED

Hi guys,

 

Is there a way to wake a clockface based on the number of steps? Eg wake screen when steps are 5,000.

 

Thanks.

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

You could use setTimeout to monitor the step count (but not too often to avoid draining the battery), then use display.on.

Peter McLennan
Gondwana Software

View best answer in original post

Best Answer
0 Votes
3 REPLIES 3

You could use setTimeout to monitor the step count (but not too often to avoid draining the battery), then use display.on.

Peter McLennan
Gondwana Software
Best Answer
0 Votes

Thanks Catplace.

 

I see, so you check every 10 seconds or so and if conditions are met, you force the screen to wake.

Best Answer
0 Votes

That's probably the most straight-forward way.

Peter McLennan
Gondwana Software
Best Answer
0 Votes