[Bug 33072] Re: Pulling AC plug suspends computer
This happens consistently every time on my laptop running Ubuntu 20.04.1 LTS. I keep it running with the lid open and the AC power cable connected, when I unplug the cable Ubuntu auto-suspends (battery is well over 90%). Extremely annoying. The power settings are: * Automatic suspend when on battery power -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/33072 Title: Pulling AC plug suspends computer To manage notifications about this bug go to: https://bugs.launchpad.net/hal/+bug/33072/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
Launchpad has imported 46 comments from the remote bug at https://bugzilla.redhat.com/show_bug.cgi?id=187396. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2006-03-30T18:23:10+00:00 Teguh wrote: Description of problem: When i unplugged the AC adapter, my laptop goes to hibernate (my battere is full) Version-Release number of selected component (if applicable): gnome-power-manager-2.14.0-1 How reproducible: always Steps to Reproduce: 1. Open gnome-power-manager preference 2. Click on 'Running on AC' tab 3. Change 'actions when laptop lid is closed' to 'hibernate' 4. Unplug the AC adapter Actual results: system is hibernate Expected results: keep running Additional info: my system: ibm g40 Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome-power- manager/+bug/33072/comments/15 On 2006-03-30T18:35:21+00:00 Richard wrote: As root, can you do: cat /var/log/messages | grep gnome and reply with the output here. Thanks. Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome-power- manager/+bug/33072/comments/16 On 2006-03-31T03:59:47+00:00 Teguh wrote: Here the output .. Mar 31 11:02:25 gazebo gnome-power-manager: Hibernating computer because the lid has been closed, and the ac adapter removed I'm not close the lid (just unplugged the ac adaptor), don't know why the messages say the lid is closed Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/33072/comments/17 On 2006-03-31T09:39:44+00:00 Richard wrote: Can you grab me a g-p-m verbose trace when this happens please. Thanks. Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome-power- manager/+bug/33072/comments/19 On 2006-03-31T15:07:57+00:00 David wrote: Created attachment 127129 gpm verbose trace Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome-power- manager/+bug/33072/comments/20 On 2006-03-31T16:25:28+00:00 Richard wrote: *** Bug 187512 has been marked as a duplicate of this bug. *** Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome-power- manager/+bug/33072/comments/21 On 2006-03-31T16:30:19+00:00 Richard wrote: Okay, that was exactly what I was expecting. Can you please try to reproduce the problem again, but this time run "lshal -m" as the computer (wrongly) suspends. Thanks. Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome-power- manager/+bug/33072/comments/22 On 2006-03-31T16:37:21+00:00 Richard wrote: Also, I need the complete gpm verbose trace, including the initialisation stuff. Thanks. Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome-power- manager/+bug/33072/comments/23 On 2006-03-31T16:38:42+00:00 Daniel wrote: Start monitoring devicelist: - acpi_AC property ac_adapter.present = false acpi_BAT0 property battery.charge_level.percentage = 94 (0x5e) acpi_BAT0 property battery.remaining_time = 13464 (0x3498) (new) acpi_BAT0 property battery.charge_level.rate = 18925500 (0x120c7bc) acpi_BAT0 property battery.charge_level.current = 70784700 (0x43816bc) acpi_BAT0 property battery.voltage.current = 12265 (0x2fe9) acpi_BAT0 property battery.reporting.rate = 1705 (0x6a9) acpi_BAT0 property battery.reporting.current = 6377 (0x18e9) acpi_BAT0 property battery.rechargeable.is_discharging = true acpi_AC property ac_adapter.present = true acpi_BAT0 property battery.charge_level.percentage = 100 (0x64) acpi_BAT0 property battery.remaining_time removed acpi_BAT0 property battery.charge_level.rate = 0 (0x0) acpi_BAT0 property battery.charge_level.current = 75013800 (0x4789ea8) acpi_BAT0 property battery.voltage.current = 12417 (0x3081) acpi_BAT0 property battery.reporting.rate = 1 (0x1) acpi_BAT0 property battery.reporting.current = 7200 (0x1c20) acpi_BAT0 property battery.rechargeable.is_discharging = false Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/33072/comments/24 On 2006-03-31T17:55:07+00:00 David wrote: Created attachment 127140 full gpm verbose output Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome-power- manager/+bug/33072/comments/25 -
[Bug 33072] Re: Pulling AC plug suspends computer
** Changed in: hal Importance: Unknown => High -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. https://bugs.launchpad.net/bugs/33072 Title: Pulling AC plug suspends computer -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
** Changed in: hal Importance: High => Unknown -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. https://bugs.launchpad.net/bugs/33072 Title: Pulling AC plug suspends computer -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
Hy! I have this bug in maverick beta! Should I open a new bug? And what Information should I report? I have a Dell Vostro 1310.. -- Pulling AC plug suspends computer https://bugs.launchpad.net/bugs/33072 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 33072] Re: Pulling AC plug suspends computer
I have not had this problem in ages with feisty or gutsy. I thought this ticket was closed. On 10/10/07, bj mccormick <[EMAIL PROTECTED]> wrote: > > This is still happening for me on gutsy. Should I be worried? Worked > fine in feisty. On a system76 darter 1. > > -- > Pulling AC plug suspends computer > https://bugs.launchpad.net/bugs/33072 > You received this bug notification because you are a direct subscriber > of a duplicate bug. > -- Sincerely Justin Sunseri -- Pulling AC plug suspends computer https://bugs.launchpad.net/bugs/33072 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
This is still happening for me on gutsy. Should I be worried? Worked fine in feisty. On a system76 darter 1. -- Pulling AC plug suspends computer https://bugs.launchpad.net/bugs/33072 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
** Changed in: gnome-power-manager (Fedora) Status: Fix Committed => Fix Released -- Pulling AC plug suspends computer https://launchpad.net/bugs/33072 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
This does not affect the current edgy version. ** Changed in: hal (Ubuntu) Status: In Progress => Fix Released -- Pulling AC plug suspends computer https://launchpad.net/bugs/33072 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
Easy upstream hal fix ** Changed in: hal (Ubuntu) Assignee: (unassigned) => Martin Pitt Status: Confirmed => In Progress -- Pulling AC plug suspends computer https://launchpad.net/bugs/33072 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
** Changed in: gnome-power-manager (Fedora) Status: Unknown => Fix Committed -- Pulling AC plug suspends computer https://launchpad.net/bugs/33072 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: [Bug 33072] Re: Pulling AC plug suspends computer
Thanks for the tip Richard, The fix was helpful - at least g-p-m doesn't keep warning me that I have 4min left when I'm at 99% charge. This however, doesn't fix the erratic "suspend when ac cable unplugged" problem. Dennis Richard Hughes wrote: >> Of course g-p-m never shows the correct "minutes remaining number" (a > common bug) albeit it >shows the correct percentage remaining. I agree, > this can be annoying and I hope they find a fix >soon. > > This is the real source of your bug. > > For a quickfix you could try: > http://live.gnome.org/GnomePowerManager/Faq#head- > d63311e4e7dcd64f6e2e23bcd570525e33847f0e > > Hope that helps, > > Richard. > -- Pulling AC plug suspends computer https://launchpad.net/bugs/33072 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
Here is the output of lshal -m when it happens: [EMAIL PROTECTED]:~$ lshal -m Start monitoring devicelist: - acpi_BAT0 property battery.remaining_time removed acpi_BAT0 property battery.charge_level.last_full = 44915200 (0x2ad5a00) acpi_BAT0 property battery.charge_level.current = 30067200 (0x1caca00) acpi_BAT0 property battery.voltage.current = 11600 (0x2d50) acpi_BAT0 property battery.rechargeable.is_charging = false acpi_ACAD property ac_adapter.present = false acpi_BAT0 property battery.charge_level.last_full = 45182368 (0x2b16da0) acpi_BAT0 property battery.charge_level.current = 30246048 (0x1cd84a0) acpi_BAT0 property battery.voltage.current = 11669 (0x2d95) net_00_c0_9f_a3_06_5c removed net_00_12_f0_7c_fc_e7 removed acpi_ACAD property ac_adapter.present = true acpi_BAT0 property battery.charge_level.last_full = 45875456 (0x2bc0100) acpi_BAT0 property battery.charge_level.current = 30710016 (0x1d49900) acpi_BAT0 property battery.voltage.current = 11848 (0x2e48) usb_device_46d_c00b_noserial_if0_logicaldev_input removed usb_device_46d_c00b_noserial_if0 removed usb_device_46d_c00b_noserial_usbraw removed acpi_PWRF condition ButtonPressed = power usb_device_46d_c00b_noserial removed usb_device_46d_c00b_noserial added usb_device_3f0_11d_noserial_if0_bluetooth_hci removed usb_device_46d_c00b_noserial_if0 added usb_device_3f0_11d_noserial_if0 removed usb_device_3f0_11d_noserial_if1 removed usb_device_3f0_11d_noserial_if2 removed usb_device_3f0_11d_noserial_if3 removed usb_device_3f0_11d_noserial_usbraw removed usb_device_3f0_11d_noserial removed usb_device_46d_c00b_noserial_usbraw added usb_device_46d_c00b_noserial_if0_logicaldev_input added net_00_c0_9f_a3_06_5c added usb_device_3f0_11d_noserial added usb_device_3f0_11d_noserial_if0 added usb_device_3f0_11d_noserial_if1 added usb_device_3f0_11d_noserial_if2 added usb_device_3f0_11d_noserial_if3 added net_00_12_f0_7c_fc_e7 added usb_device_3f0_11d_noserial_if0_bluetooth_hci added usb_device_3f0_11d_noserial_usbraw added acpi_BAT0 property battery.remaining_time = 637 (0x27d) (new) acpi_BAT0 property battery.charge_level.last_full = 47327456 (0x2d228e0) acpi_BAT0 property battery.charge_level.current = 31682016 (0x1e36de0) acpi_BAT0 property battery.voltage.current = 12223 (0x2fbf) acpi_BAT0 property battery.rechargeable.is_charging = true ..one thing (*I think*) I have noticed is that to trigger it, there must be a suspend action without power and then resume happens with power already plugged in. If I suspend with power and then resume with power, the behavior doesn't happen at next AC cord pull. Odd. I'll keep trying to diagnose what exactly the behavior patterns are. Thanks again for looking at this :) You guys rock. -- Pulling AC plug suspends computer https://launchpad.net/bugs/33072 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
>Of course g-p-m never shows the correct "minutes remaining number" (a common bug) albeit it >shows the correct percentage remaining. I agree, this can be annoying and I hope they find a fix >soon. This is the real source of your bug. For a quickfix you could try: http://live.gnome.org/GnomePowerManager/Faq#head- d63311e4e7dcd64f6e2e23bcd570525e33847f0e Hope that helps, Richard. -- Pulling AC plug suspends computer https://launchpad.net/bugs/33072 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
>g-p-m is seeing the AC power cord pull as a lid event. What does lshal -m say when you remove the ac_adapter? -- Pulling AC plug suspends computer https://launchpad.net/bugs/33072 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
Here is the complete output while running in verbose mode: http://www.datacake.org/~woodb/gpm/g-p-m-output.txt This behavior was not there before dapper and I was running g-p-m in Breezy. I can also tell gpm to blank the screen when the lid is closed and the screen will blank when I pull the AC cord. Less annoying I suppose. g-p-m is seeing the AC power cord pull as a lid event. Thanks, B -- Pulling AC plug suspends computer https://launchpad.net/bugs/33072 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
Here is the complete output while running in verbose mode: http://www.datacake.org/~woodb/gpm/g-p-m-output.txt This behavior was not there before dapper and I was running g-p-m in Breezy. I can also tell gpm to blank the screen when the lid is closed and the screen will blank when I pull the AC cord. Less annoying I suppose. g-p-m is seeing the AC power cord pull as a lid event. Thanks, B -- Pulling AC plug suspends computer https://launchpad.net/bugs/33072 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
This bug is still present on my sony vaio vgn-fs790. I have found various crude methods around it. The bug can be reproduced without fail (on my laptop at least) by following these steps: 1. Allow the battery to fully charge. 2. Put the laptop on hibernate (suspend to disk) or suspend to ram by closing the lid. 3. Detach the ac chord - while still in suspend 4. Open the lid and revive After step 4, the laptop will come back on but quickly go back into suspend. After reviving it again it works fine. Since this is very annoying, I usually never allow my battery to fully charge (I leave it at around 96% then remove the ac chord). Also, just incase I forget to do that, I set g-p-m to always suspend to ram since its much faster to bring the laptop back to life. Of course g-p-m never shows the correct "minutes remaining number" (a common bug) albeit it shows the correct percentage remaining. I agree, this can be annoying and I hope they find a fix soon. NB: I have a fresh dapper install with full updates. Let me know in what other ways I could help. Thanks -- Pulling AC plug suspends computer https://launchpad.net/bugs/33072 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
Brendan: It might be worth filing a separate bug for this. This bug is fixed for lots of users so it is likely that your problem has a slightly different cause. Attach the output of "gnome-power-manager --no-daemon --verbose" when reproducing the bug. -- Pulling AC plug suspends computer https://launchpad.net/bugs/33072 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
I just upgraded my laptop (compaq presario v2000) to dapper (from Breezy) and now my machine is going into suspend when I pull the power cord. I have never seen this behavior until going to dapper. I am happy to provide any debug/log/whatever output to help troubleshoot. This is somewhat annoying (to say the least). -- Pulling AC plug suspends computer https://launchpad.net/bugs/33072 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
** Bug 44863 has been marked a duplicate of this bug -- Pulling AC plug suspends computer https://launchpad.net/bugs/33072 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
gnome-power-manager (2.14.3-0ubuntu2) dapper; urgency=low * Patches added in this version: - 20-enable-xfce-startup.patch Enable XFCE in the .desktop file so that it starts up for xubuntu too. Closes: launchpad #43077 - 30-transparent-notification-icon.patch Enable the eggtrayicon stuff to do transparency. Closes: launchpad #40446 - 95-lid-state-tracking.patch Augment lid state tracking to use hal if hal reports it is capable of tracking the lid state. If hal reports an acpi_LID with button.has_state == true then we use that state information whenever we want to consider the lid switch This should deal with LP #33072 and thus its duplicates #42988, #42823, #40730, #40662, #37442, #36459 and #33952 - 96-disable-session-save-on-shutdown.patch Disable the saving of the session during critical power shutdown. This confuses too many people for now. Closes: launchpad #35691 * Patches changed in this version: - 40-ubuntu-schema-defaults.patch Alter screen lock defaults to always lock, regardless of screensaver. Closes: launchpad #39448 * Related fixes: #35591 -- We believe this is caused by the hal and gnome-power-manager interaction wrt. lid status. The new hal and the 2.14.3 gnome-power-manager should fix it all. ** Changed in: gnome-power-manager (Ubuntu) Status: Confirmed => Fix Released -- Pulling AC plug suspends computer https://launchpad.net/bugs/33072 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
** Bug 42672 has been marked a duplicate of this bug -- Pulling AC plug suspends computer https://launchpad.net/bugs/33072 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
** Bug watch added: Freedesktop Bugzilla #6542 https://bugs.freedesktop.org/show_bug.cgi?id=6542 ** Also affects: hal (upstream) via https://bugs.freedesktop.org/show_bug.cgi?id=6542 Severity: Unknown Priority: Unknown Status: Unknown ** Bug 42988 has been marked a duplicate of this bug -- Pulling AC plug suspends computer https://launchpad.net/bugs/33072 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
** Bug watch added: Red Hat Bugzilla #187396 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=187396 ** Also affects: gnome-power-manager (Fedora) via https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=187396 Severity: Unknown Priority: Unknown Status: Unknown -- Pulling AC plug suspends computer https://launchpad.net/bugs/33072 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
I have what seems to be a the same problem: I have g-p-m configured suchly: On AC: When Lid is Closed: Hibernate On Battery: When Lid is Closed: Hibernate I have suspended my laptop successfully by closing the lid. If I do the following: plug in power resume pull power THEN it hibernates (full battery) However, I cannot get the same behaviour by doing this: unplug power resume plug in power Changing "On Battery: When Lid is Closed" to "Nothing" causes this behaviour: plug in power resume pull power THEN it does nothing. I tried the fixes mentioned by Richard Hughes at http://live.gnome.org/GnomePowerManager/Faq the item called "My laptop suspended when I didn't expect it to when I removed the power cord!" Versions: hal 0.5.7-1ubuntu11 power-manager 0.1.1-2 gnome-power-manager 2.14.3-0ubuntu1 I'm willing to play around with this. I thought I grokked the acpi/acpid packages, but what hal and dbus are doing, I don't understand. Ciao! -- Pulling AC plug suspends computer https://launchpad.net/bugs/33072 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
** Bug 42705 has been marked a duplicate of this bug ** Bug 42823 has been marked a duplicate of this bug -- Pulling AC plug suspends computer https://launchpad.net/bugs/33072 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 33072] Re: Pulling AC plug suspends computer
** Bug 40662 has been marked a duplicate of this bug ** Bug 40730 has been marked a duplicate of this bug ** Changed in: hal (Ubuntu) Status: Unconfirmed => Confirmed -- Pulling AC plug suspends computer https://launchpad.net/bugs/33072 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs