Would it be possible to count steps with the Librem 5? Which sensors would be used?
In general, are there specific sensors for step counting?
Ohh, this would be a great idea for an app. To my understanding, if it’s only gyroscope based, it would need a couple of parameters to identify walking-like motion in any orientation (noting that walking can be from slow to near running). If location tracking is included, that would help with determining distance and speed better (with average step distances part of the algorithm, maybe).
More advanced would be (making a wish here) that Turtle Sports would get updated to work with small screen (no pedometer feature, as far as I remember, but GPS and other data is cool - last update in 2018 didn’t have linux phones like now). It seems pedometer apps for linux have thus far only been apps to retrieve related info from other devices.
Edit: I wonder if any of the following resources could be used to kickstart something like this…
- BeagleBoard based dog pedometer has links to what softwarelibraries they used
- There’s a page about doing it in HTML5 Pedometer in HTML5 (which could be also maybe used for gait detection or emergency identification [fall, no movement etc.]?)
- Open free code from an Android pedometer GitHub - bagilevi/android-pedometer: App for Android phones that counts your steps.
I can already imagine the heat and battery drain on the phone while it’s doing that.
It’s not very computationally intensive, doesn’t use much graphics/screen (if at all) and doesn’t need modems, so maybe not that hot or power hungry. I suppose it depends on what you want to use your device for.
Since such apps do not even need to display anything (wearing inside trousers), the most energy hungry part is disabled anyway. The bad thing: suspend does not work together with such an app. That will be the main issue here.
I prefer to buy and use it when it’ll be on sell and reliable!
This.
You just need wake-on-step.
Nah, just longer steps between wakes