Sphere
Log in Join
☆ 3

Background location destroys battery life

Our app tracks a delivery route using always-on background location. Users report the phone is dead by lunch. Is there a better pattern?

⚑ Report

3 replies

☆ 0
B Bruno ·4d ago#1

Use significant-change location or visit monitoring unless you truly need continuous GPS. Reduce accuracy and update interval.

⚑ Report
☆ 0
K Kei ·4d ago#2

We need route shape for mileage reports.

⚑ Report
☆ 0
F fern42 ·4d ago#3

Batch positions every 30 seconds and stop tracking when speed is zero for five minutes. Also ask for 'While Using' permission by default.

⚑ Report
Log in to reply.