0

I'm developing an app to track the users positions. However I've found a weird behaviour of the GPS when the devices have less than 30% of battery (more or less): it stops sending info. Does anybody know how to avoid this behaviour/find information about it? Thank you!

UPDATE: I'm trying to find some Google's explanation about this topic. (Which is more or less the same that the flash deactivation when the battery is low). Does anybody know where can I search?

  • Does GPS stop providing info through location API or does your application stop sending it to your server? – Gjordis Feb 15 '13 at 10:50
  • The first one, the GPS stops providing info (I guess through location API). The app keeps working properly – user2075117 Feb 15 '13 at 11:01
  • have you checked if you have power saving settings on at android settings. That turns off the GPS – Gjordis Feb 15 '13 at 11:11
  • I've tested the app with different devices and without power settings activated (to keep the GPS working...) – user2075117 Feb 15 '13 at 11:15

1 Answers1

0

Most probably Android wants to protect the device from battery drainage, if power savings mode is enabled. On ios such an app runs untill the battery is empty.

AlexWien
  • 28,470
  • 6
  • 53
  • 83