Application reports take lot of time to get updated
Asked Answered
K

1

9

Application reports and power management reports takes lot of time to refresh. I noticed that my device battery level was 88% but in power management reports the battery level was still 40%.

Also when I updated an application on a device ,Application reports took lot of time to get the updated version code .

Is there any way I can get latest reports from device ?

Kerrill answered 1/7, 2019 at 14:55 Comment(2)
even I am facing the same problem.Kakalina
Facing the same problem with application reports. It seems sometimes it may take hours to get a status report through the Pub/Sub. Maybe there is another report type that triggers a higher frequency of reports (policy setting StatusReportingSettings)? Or if there was a programmatic way (e.g., through custom Android app) to trigger sending a status report, that might help too.Schiffman
A
0

I've noticed the same and offer this solution, although it is not ideal and requires the same setup I have. Until there is a means to either specify an interval for when app report update occur (that sounds reasonable) or the app reports update every X minutes/hours by a known or default value, I've employed this solution.

The setup is to have a single policy per device. I've noticed any time you update a policy for a device and then query application reports, an updated device report will have been forced. It might take a minute or two, but the device will have the updated power management events, display state, wifi, etc... whatever app reports you have enabled.

With this, if you needed to see updated device reports either at set intervals throughout the day or perhaps only upon request, you could intentionally change any policies for any device in a benign way - I'm looking specifically at 'funDisabled', which toggles the easter egg game in settings. Pretty harmless, although changing policies often will thus bump the version often, which is probably not an issue either but something to consider.

So whenever you have need of the device reports updating, intentionally change the policy for a device.

It's cumbersome, perhaps hackish, but as we all know, clients care only for the results. Perhaps a better solution can be found going forward, but this one works for me.

Arneson answered 20/9, 2020 at 17:38 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.