HANotify icon indicating copy to clipboard operation
HANotify copied to clipboard

Device tracker not updating

Open MTrab opened this issue 6 years ago • 13 comments

The device_tracker is only updating when opening up the app or activating a widget. I have turned off battery optimization for the app, but it's the same.

OS: Android 9 (OnePlus 5T)

Any ideas what to try?

MTrab avatar Apr 30 '19 15:04 MTrab

Hello, Sorry for responded so late, now i saw the post. Is the Ariela running in background? Do you have auto reconnect option enabled?

MCrissDev avatar May 04 '19 04:05 MCrissDev

Right now I have everything disabled - Arieal are f*cking up my battery. It get EXTREMELY hot and uses all power in a matter of a few hours, althou not updating the device tracker unless I open the app.

But yes, had auto reconnect enabled and auto start upon boot and update. Even tried setting the timeouts way higher than standard.

Right now I'm actually thinking whether it's worth it or not :/

MTrab avatar May 04 '19 10:05 MTrab

Hello, Please check if you are allowing Ariela to run in background. You may check this like: Settings -> Apps -> Ariela -> Battery -> Background activity. In the meantime i have in plan optimise this more so please stay tuned.

MCrissDev avatar May 04 '19 12:05 MCrissDev

As written - I have disabled Ariela as it is using all the battery in a few hours. My phone normally holds battery for 36-48 hours - with Ariela running in the background it holds aroung 8-10 hours!

MTrab avatar May 04 '19 12:05 MTrab

IF you disable it then Ariela will going to be very unstable. As alternative just use the exit function for now and Ariela will not going to use any battery(but also no updates of location - this will change very soon).

Still its very strange what happens on your phone. Can you tell me how much battery is Ariela draining? Also is the connection to HA stable or it disconnects frequently?

MCrissDev avatar May 04 '19 12:05 MCrissDev

I have no idea if it drops the connection - and I even raised the timeouts without any difference.

As for how much it drains - all of it as long as it's running, and the battery gets VERY hot.

MTrab avatar May 04 '19 12:05 MTrab

Something else should be happening there. Can you share Ariela logs so i can check them?

MCrissDev avatar May 04 '19 14:05 MCrissDev

Sent - not sure you can see anything.

MTrab avatar May 04 '19 14:05 MTrab

Thank you. I will check.

MCrissDev avatar May 04 '19 18:05 MCrissDev

Can you tell me how you close the app? By pressing home button or back button?

MCrissDev avatar May 04 '19 18:05 MCrissDev

Throwing it out - just like you'd close any app. I don't just minimize apps - it close them.

MTrab avatar May 04 '19 18:05 MTrab

Ok, so you close by pressing back button correct? Can you for now use the exit function from Ariela? In this way at least will not going to drain battery. The next update of Ariela will be able to update the device tracker even if the Ariela was closed using exit function. Its this ok for you?

MCrissDev avatar May 04 '19 19:05 MCrissDev

This is how to properly close an app on android, and this is how I do it: https://www.youtube.com/watch?v=Ek8YEuRuxV0

MTrab avatar May 04 '19 19:05 MTrab