← 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'm not saying that it's not waking up, just pointing out that we have
no way of fixing the source of the wakeups for now. Lowering priority.

** Changed in: location-service (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: location-service (Ubuntu)
   Importance: High => Medium

** Changed in: location-service (Ubuntu)
     Assignee: Thomas Voß (thomas-voss) => (unassigned)

-- 
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 The Ubuntu Power Consumption Project:
  New
Status in location-service package in Ubuntu:
  Triaged

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-power-consumption/+bug/1350871/+subscriptions


References