Activation via GCM instead of permanent service to save battery
-
- Posts: 2
- Joined: Tue Jul 02, 2019 5:38 pm
Activation via GCM instead of permanent service to save battery
When I want friends to be able to track me, I need to keep the RTT background service running. It keeps my phone active (as in wakelock, I think) and causes the battery to run out faster, even without GPS being active. How about just waking the app up with a push message, e.g. via GCM, so it can stay asleep when not being watched? Messenger apps like Signal don't keep the phone from sleeping but still receive messages in real time that way.
-
- Site Admin
- Posts: 3130
- Joined: Tue Feb 06, 2007 12:36 pm
Re: Activation via GCM instead of permanent service to save battery
Hi,
Good idea. The good news is it is already available in both the web portal and the app . Have a look for Remote control/Remote command.
Good idea. The good news is it is already available in both the web portal and the app . Have a look for Remote control/Remote command.
-
- Posts: 2
- Joined: Tue Jul 02, 2019 5:38 pm
Re: Activation via GCM instead of permanent service to save battery
I found it and it appears to work! That's a well-hidden feature. Why not make it the default for devices that are not set to record a permanent track? Also, this doesn't work for people using the guest URL, only for friends with access to my remote control, right? --Edit: I found the "who can use my remote control" setting.
Concerning battery saving, what is the difference between "no deep sleep during tracking" and "no wake lock"?
Concerning battery saving, what is the difference between "no deep sleep during tracking" and "no wake lock"?
-
- Site Admin
- Posts: 3130
- Joined: Tue Feb 06, 2007 12:36 pm
Re: Activation via GCM instead of permanent service to save battery
This is a very technical setting. It determines if the phone should be allowed to go to idle mode even during location updating (no wake load), or if the phone should be allowed to go idle only between the location updates but not during location updating (no deep during tracking). I recommend to leave the default setting. The whole setting is not that relevant anymore because since Google has introduced the Android doze mode it, Android anyway doesn't respect wake lock instructions correctly anymore.
-
- Site Admin
- Posts: 3130
- Joined: Tue Feb 06, 2007 12:36 pm
Re: Activation via GCM instead of permanent service to save battery
This is a very technical setting. It determines if the phone should be allowed to go to idle mode even while location updating (no wake load), or if the phone should be allowed to go idle only between the location updates but not while location updating (no deep sleep during tracking). I recommend to leave the default setting. The whole setting is not that relevant anymore because since Google has introduced the Android doze mode it, Android anyway doesn't follow wake lock instructions correctly anymore.
Who is online
Users browsing this forum: No registered users and 126 guests