location service is waking up at 10Hz causing possible unwanted wakeups
Bug #1350871 reported by
Colin Ian King
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu Power Consumption Project |
New
|
Undecided
|
Unassigned | ||
location-service (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
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/
eventstat shows it's the top waking userspace process on the phone:
root@ubuntu-
Event/s PID Task Init Function Callback
9.99 2304 ubuntu-location hrtimer_
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?
Changed in location-service (Ubuntu): | |
importance: | Undecided → High |
tags: | added: rtm14 |
Changed in location-service (Ubuntu): | |
assignee: | nobody → Thomas Voß (thomas-voss) |
tags: | added: touch-2014-09-25 |
tags: | added: phablet |
To post a comment you must log in.
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.