← Back to team overview

touch-packages team mailing list archive

[Bug 1350871] Re: location service is waking up at 10Hz causing possible unwanted wakeups

 

I tried to reproduce the wakeups with the location service being idle -> no wakeups
Whenever the location engine is started, though, the chipset driver wakes up regularly roughly at the reported interval. I would like to patch that behavior, but the chipset driver is unfortunately a binary blob.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to location-service in
Ubuntu.
https://bugs.launchpad.net/bugs/1350871

Title:
  location service is waking up at 10Hz causing possible unwanted
  wakeups

Status in “location-service” package in Ubuntu:
  New

Bug description:
  I've observed that location service is waking up ~10 times per second
  due to a 100ms sleep

  ps -ax | grep 2295
   2295 ?        Ssl    0:00 /usr/bin/ubuntu-location-serviced --bus system --provider gps::Provider

  eventstat shows it's the top waking userspace process on the phone:

  root@ubuntu-phablet:/# eventstat 300 1
   Event/s PID   Task            Init Function             Callback
      9.99  2304 ubuntu-location hrtimer_start_range_ns    hrtimer_wakeup

  health-check shows that this is occuring in a 100ms nanosleep() system
  call.

  Attached is the output from health-check.   Is is possible to use a
  select() or poll() rather than a 10Hz non-blocking delay loop to
  reduce polling wakeups?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/location-service/+bug/1350871/+subscriptions


References