[Bug 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
Another duplicate has shown up, I'm posting here comments from there: Alex Midgley (alex-tapdancinggoats: 14) wrote on 2009-05-04: (permalink) This bug seems to have moved into acpi in Jaunty. I have a Sony Vaio VGN-CR520E, and the above fix (https://bugs.launchpad.net/ubuntu/+source/hal/+bug/254603/comments/1) corrected the hal problem in Intrepid. However, now even acpi is always reporting that the AC adapter is plugged in. acpi -V (plugged in) Battery 0: Charging, 81%, 04:06:26 until charged Battery 0: design capacity 53280 mAh, last full capacity 50890 mAh = 95% AC Adapter 0: on-line Thermal 0: ok, 47.0 degrees C Cooling 0: LCD 0 of 8 Cooling 1: Processor 0 of 10 Cooling 2: Processor 0 of 10 acpi -V (unplugged) Battery 0: Discharging, 81%, 02:16:47 remaining Battery 0: design capacity 53280 mAh, last full capacity 50890 mAh = 95% AC Adapter 0: on-line Thermal 0: ok, 47.0 degrees C Cooling 0: LCD 0 of 8 Cooling 1: Processor 0 of 10 Cooling 2: Processor 0 of 10 It detects that the battery is discharging, but not that the AC adapter is off-line. Same thing from: https://bugs.launchpad.net/ubuntu/+source/hal/+bug/375260 Nick B. shows that the battery is reported as charging and discharging, but the AC adapter is not reported plugged in/out. Moving the dupes over and will investigate. This is a problem with HAL, I'll be updating the title and description with the updated information we've collected. -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
On a Sony Vaio CS11S if i unplug power i don't see any ac_adapter messages in the lshal output, just this line: computer_power_supply_battery_BAT1 property battery.rechargeable.is_discharging = true But ac_adapter.present changed from true to false (without notify in the -m output). Also if i plug in the power cord again, the status remains false. So HAL isn't recognizing the ac adapter change. -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
HP Pavilion dv6000t with same problem. For me this is really difficult because I never get a low-battery warning and my auto-suspend never happens... I've lost significant work and time due to this bug. Workaround seems to work for me, however. Thanks! ** Changed in: hal (Ubuntu) Status: New = Confirmed -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
** Changed in: hal (Ubuntu) Importance: Undecided = Low -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
** Changed in: hal (Ubuntu) Status: Incomplete = New -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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
Re: [Bug 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
Moebius, your workaround works lovely :) However there's one thing it doesn't change: the cpu freq scaling governor. So I was trying this out on the command line: sudo echo powersave /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor but I get a permission denied error (using sudo wtf)... any ideas? Got powersave as one of the listed available governors -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
Luis, for me hal changes the CPU freq scaling governor too. However, you cannot edit the file /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor until you are in a root environment (sudo will not work). So, to edit the file, just type: sudo -i echo powersave /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor Remember that you have to do this for all your cores. To automate the process you can append that lines to your power-switch scripts. So we have: /etc/acpi/ac.d/power-switch.sh containing: hal-set-property --udi `hal-find-by-capability --capability ac_adapter` --key ac_adapter.present --bool true echo ondemand /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor echo ondemand /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor /etc/acpi/battery.d/power-switch.sh containing: hal-set-property --udi `hal-find-by-capability --capability ac_adapter` --key ac_adapter.present --bool false echo powersave /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor echo powersave /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor Anyway, probably the best way to configure your CPU freq scaling policy is through the guidance-power-manager so you can easily change it later. To do that, just click with the left mouse button on the guidance-power-manager icon in you system tray: a configuration panel will pop up. (I configure my policies through the guidance-power-manager and it works well with hal) Hope it helps. -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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
Re: [Bug 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
Thanks Moebius, I put those on the sh files and the circle is now complete. Yeah, got guidance configured that way already, the problem is well, if HAL doesn't know the laptop is unplugged guidance obviously can't do anything at all, not even change the governor. At least on my laptop! So nothing would change - the battery icon would still appear as charging, the screen brightness wouldn't dim and the cpu would still be running on the ondemand governor. It would even report the battery as being 100% charged all the way until forced shutdown due to battery being flat. -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
I've the following issues on a SONY VAIO VGN-CR323 Notebook: - guidance-power-manager doesn't appear to be able to tell when the AC adaptor is plugged in. When plugged: cat /proc/acpi/ac_adapter/ACAD/state state: on-line hal-find-by-capability --capability ac_adapter /org/freedesktop/Hal/devices/computer_power_supply_ac_adapter_ACAD hal-get-property --udi `hal-find-by-capability --capability ac_adapter` --key ac_adapter.present false When unplugged: cat /proc/acpi/ac_adapter/ACAD/state state: off-line hal-find-by-capability --capability ac_adapter /org/freedesktop/Hal/devices/computer_power_supply_ac_adapter_ACAD hal-get-property --udi `hal-find-by-capability --capability ac_adapter` --key ac_adapter.present false I've attached output from lshal when both plugged and unplugged. Hopefully this helps in resolving the bug... ** Attachment added: Output from lshal when AC adaptor is plugged in http://launchpadlibrarian.net/17774282/plugged -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
** Attachment added: Output from lshal when AC adaptor is unplugged http://launchpadlibrarian.net/17774291/unplugged -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
I've posted a workaround in a similar bug report... https://bugs.launchpad.net/ubuntu/+source/hal/+bug/254603/comments/1 Hope it helps. -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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
Re: [Bug 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
I don't understand why this hasn't been fixed yet. The worst part is that it used to work fine until a change in hal happened, and I reported the bug like a week after. -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
Thanks Moebius, your workaround worked like a charm. :) -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
Same on inspiron 1100 w/ Hardy. Identical lshal/lshal -m outputs so not attaching anything. I can do some tests if needed. Thanks. -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
** Attachment added: lshal-m.txt http://launchpadlibrarian.net/15625951/lshal-m.txt -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
I have almost identical problem (even made duplicate in #243243 ;) ). I'm attaching lshal and lshal -m outputs. ** Attachment added: lshal.txt http://launchpadlibrarian.net/15625919/lshal.txt -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
Same problem here on a Dell Inspiron 5160 and Hardy. lshal reports ac_adapter.present = true even when unplugged. Battery charging/discharging state is reported correctly, though. -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
Guidance-Power-Manger doesn't recognize if mains is plugged out and battery put in (to save battery lifetime I always plug the battery of if it isn't needed) in hibernate/suspend-to-disc mode. I have to restart the power manager that the battery is detected and the battery profile gets enabled. Is this the same problem or should I open a new bug? -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
Same Problems on Acer TravelMate C300 HAL does detect when power is unplugged. lshal -m shows correct output but the command hal-get-property --udi `hal-find-by-capability --capability ac_adapter` --key ac_adapter.present returns true in both cases (plugged or unplugged) -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
Ok. I did a quick and dirty hack. Now that works on my machine. Of course this issue should be resolved in hal, but at least it works. Edit /usr/share/python-support/kde-guidance-powermanager/powermanage.py and change the function onBattery to look that way def onBattery(self): Find out if we're on AC or on battery using HAL. if not self.hasAC: print No AC adapter found - assume that we are on batteries. return False properties = self.batteries[0].GetAllProperties(dbus_interface=org.freedesktop.Hal.Device) return properties[battery.rechargeable.is_discharging] Luka, maybe it is possible to combine the two tests, both on the ac_adapter and the battery state ? -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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
Re: [Bug 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
Luimama, your hack works for me. 2008/4/24 Louimama [EMAIL PROTECTED]: Ok. I did a quick and dirty hack. Now that works on my machine. Of course this issue should be resolved in hal, but at least it works. Edit /usr/share/python-support/kde-guidance-powermanager/powermanage.py and change the function onBattery to look that way def onBattery(self): Find out if we're on AC or on battery using HAL. if not self.hasAC: print No AC adapter found - assume that we are on batteries. return False properties = self.batteries[0].GetAllProperties(dbus_interface=org.freedesktop.Hal.Device) return properties[battery.rechargeable.is_discharging] Luka, maybe it is possible to combine the two tests, both on the ac_adapter and the battery state ? -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 You received this bug notification because you are a direct subscriber of the bug. -- Luis Pabón ** Attachment added: unnamed http://launchpadlibrarian.net/13865009/unnamed -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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
Re: [Bug 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
Well, sort of :) unplugging from mains has got the effect of changing the screen brightness straight away, however the CPU governor takes a long while to switch, if it actually does :) ** Attachment added: unnamed http://launchpadlibrarian.net/13865151/unnamed -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
Luka, this bug is marked as incomplete, but the output you asked has been provided. Do you need anything else ? -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
I've got the same problem on a VAIO FZ160E. Seems to be a common problem on Vaios : see bug #216345 . Hal reports if battery is charging or discharging as well as the remaining power. Maybe guidance-power-manager should rely on those info to switch between power management policies. Any chance it'll get resolved for Hardy? -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
Can you provide lshal when plugged and when unplugged, to see if HAL has proper information? You can also run lshal -m and plug/unplug power supply to see if anything is printed to console output. ** Changed in: kde-guidance (Ubuntu) Assignee: (unassigned) = Luka Renko (lure) Status: New = Incomplete -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 You received this bug notification because you are a member of Kubuntu Team, which is subscribed to kde-guidance in ubuntu. -- kubuntu-bugs mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
Luka, this is lshal plugged ** Attachment added: lshal.plugged http://launchpadlibrarian.net/13183723/lshal.plugged -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 You received this bug notification because you are a member of Kubuntu Team, which is subscribed to kde-guidance in ubuntu. -- kubuntu-bugs mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
And lshal unplugged. This is the diff of them both, it seems that HAL knows when the status changes: [EMAIL PROTECTED]:~$ diff lshal.plugged lshal.unplugged 297,299c297,299 battery.rechargeable.is_charging = true (bool) battery.rechargeable.is_discharging = false (bool) battery.remaining_time = 780 (0x30c) (int) --- battery.rechargeable.is_charging = false (bool) battery.rechargeable.is_discharging = true (bool) battery.remaining_time = 122464 (0x1de60) (int) ** Attachment added: lshal.unplugged http://launchpadlibrarian.net/13183767/lshal.unplugged -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 You received this bug notification because you are a member of Kubuntu Team, which is subscribed to kde-guidance in ubuntu. -- kubuntu-bugs mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
lshal -m (exec when connected, then disconnect, then connect again) [EMAIL PROTECTED]:~$ lshal -m Start monitoring devicelist: - 23:00:54.235: computer_power_supply_battery_BAT0 property battery.remaining_time = 3778 (0xec2) 23:00:54.243: computer_power_supply_battery_BAT0 property battery.charge_level.current = 43991 (0xabd7) 23:00:54.245: computer_power_supply_battery_BAT0 property battery.reporting.current = 3514 (0xdba) 23:01:02.052: computer_power_supply_battery_BAT0 property battery.remaining_time = 6284 (0x188c) 23:01:02.058: computer_power_supply_battery_BAT0 property battery.charge_level.current = 43979 (0xabcb) 23:01:02.061: computer_power_supply_battery_BAT0 property battery.reporting.current = 3513 (0xdb9) 23:01:02.064: computer_power_supply_battery_BAT0 property battery.rechargeable.is_discharging = false 23:01:02.066: computer_power_supply_battery_BAT0 property battery.rechargeable.is_charging = true -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 You received this bug notification because you are a member of Kubuntu Team, which is subscribed to kde-guidance in ubuntu. -- kubuntu-bugs mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
Sorry, forgot to add that last night a new kernel was installed with no change regarding this problem: [EMAIL PROTECTED]:~$ uname -a Linux ordenata 2.6.24-15-generic #1 SMP Fri Apr 4 03:48:31 UTC 2008 i686 GNU/Linux -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
@Luis Can I please have you provide the output (if any) of the following command: hal-find-by-capability --capability ac_adapter Does the above output change whether you are on AC or on battery? If it exists, please provide the output of the following command when plugged to AC and when on battery: hal-get-property --udi `hal-find-by-capability --capability ac_adapter` --key ac_adapter.present -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
Found the problem myself; discard the previous message. Tried to do the diff thing too, and that didn't really show what expected. From the lshal.unplugged file: ac_adapter.present = true (bool) The problem is, that your AC adapter is reported as present (eg. plugged in) by HAL even when it is not. -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 You received this bug notification because you are a member of Kubuntu Team, which is subscribed to kde-guidance in ubuntu. -- kubuntu-bugs mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
Re: [Bug 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
Glad you found out where the problem lies :) Is there anything else I can do? try out a patch, anything? On 07/04/2008, awen [EMAIL PROTECTED] wrote: Found the problem myself; discard the previous message. Tried to do the diff thing too, and that didn't really show what expected. From the lshal.unplugged file: ac_adapter.present = true (bool) The problem is, that your AC adapter is reported as present (eg. plugged in) by HAL even when it is not. -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 You received this bug notification because you are a direct subscriber of the bug. -- Luis Pabón ** Attachment added: unnamed http://launchpadlibrarian.net/13193630/unnamed -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
I think it's a hal issue that has to be solved there. ** Changed in: hal (Ubuntu) Sourcepackagename: kde-guidance = hal -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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 213128] Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
The kde applet for the power manager doesn't seem to know when the battery is unplugged or not Sorry, what I meant is when the laptop is connected to the mains or not -- [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged https://bugs.launchpad.net/bugs/213128 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