← Back to team overview

touch-packages team mailing list archive

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

 

Public bug reported:

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.

** Affects: network-manager (Ubuntu)
     Importance: Undecided
     Assignee: Tony Espy (awe)
         Status: Confirmed

** Changed in: network-manager (Ubuntu)
     Assignee: (unassigned) => Tony Espy (awe)

** Changed in: network-manager (Ubuntu)
       Status: New => Confirmed

-- 
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 network-manager package in Ubuntu:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1458046/+subscriptions


Follow ups

References