[bluetooth] bluetooth panel causing high cpu usage

Bug #1535827 reported by Bill Filler
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Committed
High
Bill Filler
ubuntu-system-settings (Ubuntu)
Fix Released
High
Ken VanDine

Bug Description

Bluetooth panel is using ActvityIndicator (i.e. spinner) while it is scanning for new devices. It stays running for 30 seconds, then turns off for ~10 seconds, then runs again. Each time it runs is causes ~50% cpu usage on unity8 (no fault of system-settings).

This is a potential big problem on on pocket desktop, as you have to open the bluetooth panel to pair, then typically it will stay open in windowed mode and will cause a big battery drain as the window is visible in running.

Until the cpu usage issue is addressed in unity, we should not use this component. Instead, how about just show text "scanning..." or "searching.." as the first list item or where the spinner currently is.

Related branches

Bill Filler (bfiller)
Changed in ubuntu-system-settings (Ubuntu):
assignee: nobody → Ken VanDine (ken-vandine)
importance: Undecided → High
Changed in canonical-devices-system-image:
milestone: none → ww04-2016
assignee: nobody → Bill Filler (bfiller)
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-system-settings (Ubuntu):
status: New → Confirmed
Bill Filler (bfiller)
Changed in canonical-devices-system-image:
status: New → In Progress
Changed in ubuntu-system-settings (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-system-settings - 0.3+16.04.20160121-0ubuntu1

---------------
ubuntu-system-settings (0.3+16.04.20160121-0ubuntu1) xenial; urgency=medium

  * Don't display the ActivityIndicator while searching, causes to much
    load. (LP: #1535827)
  * Don't display the setting to automatically connect when detected
    during pairing (LP: #1535822)
  * Only enable the forget device button when bluetooth is enabled (LP:
    #1535829)

 -- Ken VanDine <email address hidden> Thu, 21 Jan 2016 14:47:13 +0000

Changed in ubuntu-system-settings (Ubuntu):
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.