Skip to content

GPS polling at 1 Hz is wasteful — interval & motion-based activation needed #873

@spacepc-de

Description

@spacepc-de

Right now the GPS is queried at 1 Hz, but this doesn’t really make sense.
If the GPS chip is powered, it’s always on and drawing current anyway — the extra 1 Hz read loop only wastes power without giving any benefit since there is no real live tracking anyway.
A much better approach is to avoid keeping GPS permanently active and instead use interval-based activation:
Interval updates
Example: Power up GPS once per minute (or every few minutes), get a fix, then power it back down.
Even a 1-minute interval would save a huge amount of energy compared to running continuously.
Motion-aware logic
If the motion sensor reports no movement, GPS can stay off.
Only when motion is detected, wake GPS and try to refresh the fix.
If no fix is possible (indoors, blocked sky), GPS should remain inactive until movement resumes, avoiding wasted retries.
This way we don’t burn battery with constant 1 Hz reads, but still get fresh enough location data when the node is actually moving or at least at regular intervals. If we agree, I can try to implement this for my boards that I have at home.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions