[Bug 522525] Re: Brightness not adjusted when switching from AC to battery
** Changed in: devicekit-power Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/522525 Title: Brightness not adjusted when switching from AC to battery To manage notifications about this bug go to: https://bugs.launchpad.net/devicekit-power/+bug/522525/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 522525] Re: Brightness not adjusted when switching from AC to battery
** Changed in: gnome-power Status: New => Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/522525 Title: Brightness not adjusted when switching from AC to battery To manage notifications about this bug go to: https://bugs.launchpad.net/devicekit-power/+bug/522525/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 522525] Re: Brightness not adjusted when switching from AC to battery
** Tags added: battery-power-consumption i386 precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/522525 Title: Brightness not adjusted when switching from AC to battery To manage notifications about this bug go to: https://bugs.launchpad.net/devicekit-power/+bug/522525/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 522525] Re: Brightness not adjusted when switching from AC to battery
** Tags removed: battery-power-consumption -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/522525 Title: Brightness not adjusted when switching from AC to battery To manage notifications about this bug go to: https://bugs.launchpad.net/devicekit-power/+bug/522525/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 522525] Re: Brightness not adjusted when switching from AC to battery
** Tags added: oneiric -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/522525 Title: Brightness not adjusted when switching from AC to battery To manage notifications about this bug go to: https://bugs.launchpad.net/devicekit-power/+bug/522525/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 522525] Re: Brightness not adjusted when switching from AC to battery
** Changed in: devicekit-power Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/522525 Title: Brightness not adjusted when switching from AC to battery -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 522525] Re: Brightness not adjusted when switching from AC to battery
** Changed in: devicekit-power Importance: Medium => Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/522525 Title: Brightness not adjusted when switching from AC to battery -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 522525] Re: Brightness not adjusted when switching from AC to battery
** Changed in: gnome-power Importance: Unknown => Medium -- Brightness not adjusted when switching from AC to battery https://bugs.launchpad.net/bugs/522525 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 522525] Re: Brightness not adjusted when switching from AC to battery
** Changed in: gnome-power-manager (Ubuntu) Status: New => Triaged ** Also affects: devicekit-power (Ubuntu) Importance: Undecided Status: New ** Changed in: devicekit-power (Ubuntu) Status: New => Triaged ** Changed in: devicekit-power (Ubuntu) Importance: Undecided => Low -- Brightness not adjusted when switching from AC to battery https://bugs.launchpad.net/bugs/522525 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 522525] Re: Brightness not adjusted when switching from AC to battery
** Changed in: gnome-power Status: Unknown => New -- Brightness not adjusted when switching from AC to battery https://bugs.launchpad.net/bugs/522525 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 522525] Re: Brightness not adjusted when switching from AC to battery
It seems to be a bug in upower. I have reported it on the freedesktop bugtracker as #28213 https://bugs.freedesktop.org/show_bug.cgi?id=28213 Cheers, Julien ** Bug watch added: freedesktop.org Bugzilla #28213 http://bugs.freedesktop.org/show_bug.cgi?id=28213 ** Also affects: devicekit-power via http://bugs.freedesktop.org/show_bug.cgi?id=28213 Importance: Unknown Status: Unknown -- Brightness not adjusted when switching from AC to battery https://bugs.launchpad.net/bugs/522525 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 522525] Re: Brightness not adjusted when switching from AC to battery
** Changed in: gnome-power-manager (Ubuntu) Importance: Undecided => Low -- Brightness not adjusted when switching from AC to battery https://bugs.launchpad.net/bugs/522525 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 522525] Re: Brightness not adjusted when switching from AC to battery
Hi, gpm doesn't handle correctly the state of my battery which explains the previous issue with backlight. While on battery, closing the lid blanks the screen (as configured for AC) whereas it should sleep: - ** EMIT: summary-changed(2): Batterie de l'ordinateur, 6 heures 40 minutes restantes (95,7 %) TI:16:16:32 TH:0x9fc890 FI:gpm-manager.c FN:gpm_manager_client_changed_cb,829 - same state as before, ignoring TI:16:16:32 TH:0x9fc890 FI:gpm-button.c FN:gpm_button_emit_type,81 - emitting button-pressed : lid-down TI:16:16:32 TH:0x9fc890 FI:gpm-manager.c FN:gpm_manager_button_pressed_cb,749 - Button press event type=lid-down TI:16:16:32 TH:0x9fc890 FI:gpm-manager.cFN:gpm_manager_play,222 - failed to play lid-close: File or data not found TI:16:16:32 TH:0x9fc890 FI:gpm-manager.c FN:gpm_manager_lid_button_pressed,668 - Performing AC policy TI:16:16:32 TH:0x9fc890 FI:gpm-manager.c FN:gpm_manager_perform_policy,510 - action: /apps/gnome-power-manager/buttons/lid_ac set to blank (The lid has been closed on ac power.) first line proves that gpm is aware that the battery is discharging, while it states afterwards the lid has been closed on ac power (which is incorrect). Cheers, Julien -- Brightness not adjusted when switching from AC to battery https://bugs.launchpad.net/bugs/522525 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 522525] Re: Brightness not adjusted when switching from AC to battery
** Bug watch added: GNOME Bug Tracker #610600 https://bugzilla.gnome.org/show_bug.cgi?id=610600 ** Also affects: gnome-power via https://bugzilla.gnome.org/show_bug.cgi?id=610600 Importance: Unknown Status: Unknown -- Brightness not adjusted when switching from AC to battery https://bugs.launchpad.net/bugs/522525 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 522525] Re: Brightness not adjusted when switching from AC to battery
Hi, I have noticed that if booting the laptop while on battery, the brightness is correctly set to 4. If I then plug the A/C, the brightness is increased to 9 as expected. This doesn't happen when booting while on A/C nor after the first test. I have also tested 10.04 alpha 2 and got the same issue. Cheers, Julien -- Brightness not adjusted when switching from AC to battery https://bugs.launchpad.net/bugs/522525 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 522525] Re: Brightness not adjusted when switching from AC to battery
Hi, I attach a log I had grabbed using gnome-power-manager verbose mode. I have started g-p-m while on A/C, then switched to battery and plugged on A/C again. I think I understand that when I go on battery, g-p-m sees the battery gets fully charged and only notices it is discharging after a while. Though, the brightness hasn't changed during the whole process and was always at the maximum level (9 as per /sys/class/backlight/acpi_video0/max_brightness). Also, I have just noticed that screen brightness is dimmed after resuming from sleep. I have also noticed after my tests that the laptop did not go to sleep when the lid was closed (though gpm was configured to do so when working on battery). After resuming from a manual sleep, it works again. I think I understand the battery state isn't correctly detected until something is refreshed (which happens eg. on resume). I am not sure what this something can be? G-p-m, hal ? Cheers, Julien ** Attachment added: "g-p-m verbose log" http://launchpadlibrarian.net/39375920/gpm.log -- Brightness not adjusted when switching from AC to battery https://bugs.launchpad.net/bugs/522525 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 522525] Re: Brightness not adjusted when switching from AC to battery
Also, the following works perfectly: dbus-send --print-reply --system --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer_backlight org.freedesktop.Hal.Device.LaptopPanel.SetBrightness int32:5 Cheers, Julien -- Brightness not adjusted when switching from AC to battery https://bugs.launchpad.net/bugs/522525 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 522525] Re: Brightness not adjusted when switching from AC to battery
** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/39261027/Dependencies.txt ** Attachment added: "DevkitPower.txt" http://launchpadlibrarian.net/39261028/DevkitPower.txt ** Attachment added: "GConfNonDefault.txt" http://launchpadlibrarian.net/39261029/GConfNonDefault.txt ** Attachment added: "XsessionErrors.txt" http://launchpadlibrarian.net/39261030/XsessionErrors.txt ** Attachment added: "gnome-power-bugreport.txt" http://launchpadlibrarian.net/39261031/gnome-power-bugreport.txt -- Brightness not adjusted when switching from AC to battery https://bugs.launchpad.net/bugs/522525 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs