Don't sleep while external display is plugged in
Bug #1341797 reported by
Cassidy James Blaede
This bug affects 9 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Switchboard Power Plug |
Fix Released
|
Medium
|
Unassigned |
Bug Description
We should detect if the user is using an external display when closing their laptop lid, and if so, change the suspend behavior.
If the following is true:
1. Connected to external display
2. Connected to external (USB or Bluetooth) mouse and keyboard
3. Plugged into power
...the laptop should not suspend when the lid is closed. Instead, the internal display should power off and the external display should be enabled.
Related branches
lp://staging/~kay20/switchboard-plug-power/systemd-add
- Danielle Foré: Approve
- elementary UX: Pending requested
-
Diff: 2477 lines (+1603/-451)21 files modified.bzrignore (+9/-0)
CMakeLists.txt (+7/-1)
cli/CMakeLists.txt (+24/-0)
cli/Systemd.vala (+149/-0)
cli/main.vala (+70/-0)
config.vala.cmake (+1/-1)
data/org.pantheon.switchboard.power.policy.cmake (+21/-0)
po/he.po (+97/-73)
po/pantheon-power-plug.pot (+98/-70)
po/ru.po (+104/-74)
src/ActionComboBox.vala (+16/-16)
src/Battery.vala (+86/-0)
src/CMakeLists.txt (+12/-2)
src/CliCommunicator.vala (+174/-0)
src/Interfaces.vala (+56/-0)
src/LidCloseActionComboBox.vala (+116/-0)
src/Permission.vala (+18/-0)
src/Plug.vala (+233/-198)
src/PowerSupply.vala (+78/-0)
src/TimeoutComboBox.vala (+16/-16)
vapi/polkit-gobject-1.vapi (+218/-0)
Changed in switchboard-plug-power: | |
assignee: | nobody → elementary UX (elementary-design) |
Changed in switchboard-plug-power: | |
assignee: | elementary UX (elementary-design) → nobody |
Changed in switchboard-plug-power: | |
assignee: | nobody → kay van der Zander (kay20) |
Changed in switchboard-plug-power: | |
milestone: | none → loki-beta1 |
Changed in switchboard-plug-power: | |
importance: | Undecided → Medium |
Changed in switchboard-plug-power: | |
assignee: | kay van der Zander (kay20) → nobody |
status: | In Progress → Confirmed |
summary: |
- Support closed display mode + Don't sleep while external display is plugged in |
Changed in switchboard-plug-power: | |
status: | Confirmed → In Progress |
Changed in switchboard-plug-power: | |
status: | In Progress → Fix Committed |
Changed in switchboard-plug-power: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I agree with this report, but I believe this is hard coded in the GNOME power manager now. I don't think we have control over what happens when you close the lid