← Back to team overview

touch-packages team mailing list archive

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

 

** Tags added: touch-2014-09-25

-- 
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