← Back to team overview

touch-packages team mailing list archive

[Bug 1458046] Re: [touch] NetworkManager needs to inhibit sleep if hotspot is active

 

** Changed in: canonical-devices-system-image
       Status: In Progress => Fix Committed

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

Title:
  [touch] NetworkManager needs to inhibit sleep if hotspot is active

Status in Canonical System Image:
  Fix Committed
Status in indicator-network package in Ubuntu:
  Fix Released
Status in network-manager package in Ubuntu:
  Confirmed
Status in ubuntu-system-settings package in Ubuntu:
  Confirmed
Status in network-manager package in Ubuntu RTM:
  Confirmed

Bug description:
  As Ubuntu touch uses an auto-suspend model, it's possible for the
  system to be suspended while a user has a hotspot active and in use.

  In order to prevent such behavior, we should modify NetworkManager to
  inhibit suspend via powerd's DBus interface when hotspot is active and
  one or more clients are connected to the hotspot.   As a first pass,
  inhibiting suspend when hotspot is active would probably be
  sufficient.   This could probably be implemented via a NM dispatcher
  script, which would run when the hotspot is activated.

  <https://wiki.ubuntu.com/Networking#hotspot-power>:
  "* Whenever at least one person is using your hotspot, the device should not sleep automatically.
  * The indicator icon should be different when anyone is connected than when no-one is.
  * If a hotspot is set up, there should be a “Hotspot” item in the “Ways to reduce battery use” list in “Power” settings."

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1458046/+subscriptions


References