[Bug 455786] Re: battery indicator is wrong
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gnome-power-manager (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/455786 Title: battery indicator is wrong To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/455786/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
It seem that there won't according to this: http://acpi.sourceforge.net/dsdt/index.php -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/455786 Title: battery indicator is wrong To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/455786/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
Try pressing the Add attachment or patch button on this launchpad page (and upload the DSDT table) and see if it go upstream to the kernel -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/455786 Title: battery indicator is wrong To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/455786/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
@yuszuv can you press the Add attachment or patch button on this launchpad page and upload the DSDT table -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/455786 Title: battery indicator is wrong To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/455786/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
should I mark this as in-progress -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/455786 Title: battery indicator is wrong To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/455786/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
Will the repaired dsdt table come with any new kernel? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/455786 Title: battery indicator is wrong To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/455786/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
http://acpi.sourceforge.net/dsdt/index.php -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
No, that doesn't help so much, because the option to load an dsdt table via the kernel boot options has deprecated. I just want that the corrected dsdt table I have is going to make it into the kernel source, but I don't know where and how to post my dsdt tables. -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
this page gives info where to submit patch and extract dsdt table http://www.lesswatts.org/projects/acpi/overridingDSDT.php -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
So is there any way to get my fixed dsdt tables into the kernel? -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
will this help: https://help.ubuntu.com/community/ACPIBattery -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
that’s what I thought it's a acpi dsdt table issue -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
http://ubuntuforums.org/showthread.php?t=1036051 http://forums.linuxmint.com/viewtopic.php?f=60t=18222 -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
OK, I managend to build my own kernel with the modified dsdt table. And it works. So I think it's only a matter of the acpi tables and not a bug in the gnome power manager. I wonder where I get send my corrected dsdt table, so that some day it will be integrated in the kernel. Can anyone help me to get this bug smashed? -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
Unfortunately, neither modprobe fujitsu-laptop nor acpi_osi=Linux nor acpi=force helps. If I try this, my python applet that reads out the current battery states, doesn't work anymore. -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
I wonder if the reason for the problem is, that acpi doesn't recognize the status of the battery. If I run j...@xylakant:/sys/class/power_supply/BAT0$ acpi Battery 0: Unknown, 45 you can see, that the status of the battery is unknown if the ac adapter is *un*plugged, while it is j...@xylakant:/sys/class/power_supply/BAT0$ acpi Battery 0: Charging, 43%, 00:54:34 until charged when the ac adapter is plugged. I think in the first case there should be an uncharging instead of unknown. And could it be, that the xfce and kde battery indicators doesn't care if the status is unknown or not and just display the other (correct) informations while the gnome battery indicator stops working as it gets the information, that the battery status is unknown? -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
Okay, I found out some things: 1. If the ac adapter is plugged in: j...@xylakant:/proc/acpi/battery/BAT0$ lshal | grep ac_adapter udi = '/org/freedesktop/Hal/devices/computer_power_supply_ac_adapter_ADP1' ac_adapter.present = true (bool) info.capabilities = {'ac_adapter'} (string list) info.category = 'ac_adapter' (string) info.udi = '/org/freedesktop/Hal/devices/computer_power_supply_ac_adapter_ADP1' (string) j...@xylakant:/proc/acpi/battery/BAT0$ lshal | grep battery udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0' battery.charge_level.current = 33399 (0x8277) (int) battery.charge_level.design = 57720 (0xe178) (int) battery.charge_level.last_full = 45299 (0xb0f3) (int) battery.charge_level.percentage = 73 (0x49) (int) battery.charge_level.rate = 27772 (0x6c7c) (int) battery.is_rechargeable = true (bool) battery.model = 'Modelxxx' (string) battery.present = true (bool) battery.rechargeable.is_charging = true (bool) battery.rechargeable.is_discharging = false (bool) battery.remaining_time = 1542 (0x606) (int) battery.reporting.current = 3009 (0xbc1) (int) battery.reporting.design = 5200 (0x1450) (int) battery.reporting.last_full = 4081 (0xff1) (int) battery.reporting.rate = 2502 (0x9c6) (int) battery.reporting.technology = 'Li-ion' (string) battery.reporting.unit = 'mAh' (string) battery.serial = 'SN' (string) battery.technology = 'lithium-ion' (string) battery.type = 'primary' (string) battery.vendor = 'Vendor12345678901234567890' (string) battery.voltage.current = 12389 (0x3065) (int) battery.voltage.design = 11100 (0x2b5c) (int) battery.voltage.unit = 'mV' (string) info.capabilities = {'battery'} (string list) info.category = 'battery' (string) info.udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0' (string) 2. If the ac adapter is unplugged, I get: j...@xylakant:/proc/acpi/battery/BAT0$ lshal | grep ac_adapter udi = '/org/freedesktop/Hal/devices/computer_power_supply_ac_adapter_ADP1' ac_adapter.present = false (bool) info.capabilities = {'ac_adapter'} (string list) info.category = 'ac_adapter' (string) info.udi = '/org/freedesktop/Hal/devices/computer_power_supply_ac_adapter_ADP1' (string) j...@xylakant:/proc/acpi/battery/BAT0$ lshal | grep battery udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0' battery.charge_level.current = 33843 (0x8433) (int) battery.charge_level.design = 57720 (0xe178) (int) battery.charge_level.last_full = 45299 (0xb0f3) (int) battery.charge_level.percentage = 74 (0x4a) (int) battery.charge_level.rate = 0 (0x0) (int) battery.is_rechargeable = true (bool) battery.model = 'Modelxxx' (string) battery.present = true (bool) battery.rechargeable.is_charging = false (bool) battery.rechargeable.is_discharging = false (bool) battery.reporting.current = 3049 (0xbe9) (int) battery.reporting.design = 5200 (0x1450) (int) battery.reporting.last_full = 4081 (0xff1) (int) battery.reporting.rate = -1 (0x) (int) battery.reporting.technology = 'Li-ion' (string) battery.reporting.unit = 'mAh' (string) battery.serial = 'SN' (string) battery.technology = 'lithium-ion' (string) battery.type = 'primary' (string) battery.vendor = 'Vendor12345678901234567890' (string) battery.voltage.current = 12425 (0x3089) (int) battery.voltage.design = 11100 (0x2b5c) (int) battery.voltage.unit = 'mV' (string) info.capabilities = {'battery'} (string list) info.category = 'battery' (string) info.udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0' (string) So you can see, that HAL recognizes the presence of the ac adapter correctly, while it doesn't recognize the correct state of the battery. If the battery is charging, all is okay, but if it's discharging, the key battery.rechargeable.is_discharging = false (bool) isn't set correctly. If I do this manually by sudo hal-set-property --udi /org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0 --key battery.rechargeable.is_discharging --bool true this hasn't any effect on the gnome battery indicator (even after killing the panel) and the is reset to the wrong value false after half a minute or so. My (humble) opinion is, that hal is setting this key by reading out the file /proc/acpi/battery/state which contains the wrong value j...@xylakant:/proc/acpi/battery/BAT0$ cat state present: yes capacity state: ok charging state: charged present rate:2078 mA remaining capacity: 2777 mAh present voltage: 11498 mV where the 3rd lines says, that the battery (while the ac adapter is unplugged) is charged, so it's neither charging nor uncharging, so that the hal-get-proberty-values just make perfect sense. But I don't know how to manipulate whats written into this file and I don't want to edit it manually,
[Bug 455786] Re: battery indicator is wrong
add this to grub options: acpi_osi=Linux -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
http://www.google.com/search?q=kernel+options+acpi_osi+linux+fujitsu https://wiki.ubuntu.com/HardwareSupport/Machines/Netbooks -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
when grub pops up on boot press E add to kernel options: acpi=force -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
oh, are you saying that the charge level indicator of the battery is wrong? how about: # modprobe fujitsu-laptop -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
Does the GNOME battery applet use dbus? Could that be the problem? (oh, wait did you reboot?) ** Attachment removed: acpi hal bug fix https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/455786/+attachment/1678086/+files/bugfix.pl -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
Thanks for respond linuxrules. Yeah, I've rebooted, my battery.sh in /etc/acpi looks like this: j...@jan-laptop:~$ cat /etc/acpi/battery.sh #!/bin/bash ### ID FOR ACPI / HAL BUGFIX DON'T TOUCH (START) ### AC_state=/proc/acpi/ac_adapter/ADP1/state if grep -q on-line ${AC_state} ; then hal-set-property --udi `hal-find-by-capability --capability ac_adapter` --key ac_adapter.present --bool true else hal-set-property --udi `hal-find-by-capability --capability ac_adapter` --key ac_adapter.present --bool false fi ### ID FOR ACPI / HAL BUGFIX DON'T TOUCH (END)### # UGLY HACK j...@jan-laptop:~$ According to http://projects.gnome.org/gnome-power-manager/ Gnome power manager with it's applet gnome battery use DBus. -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
Is this the whole file? What if its the way GNOME Power Manager talks to dbus? Maybe it's a problem in dbus? I read it also reads udev Wow! this is a tough egg to crack. I have openSUSE on my laptop Ubuntu on my desktop (and I'm on the laptop) So right now I'm almost clueless! -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
can you run the below: ls -l /etc/acpi/battery.sh ls -l /etc/acpi/events/battery cat /etc/acpi/events/battery ls /proc/acpi/ac_adapter/ cat each entry from ls /proc/acpi/ac_adapter/ and post the results -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
do this with with ac ls /proc/acpi/ac_adapter/ cat each entry from ls /proc/acpi/ac_adapter/ and post the results -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
meant to say wuth and wthout ac. Sorry -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
curse this laptop keyboard! :) -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
without any fixes installed, ... i seems that NOT the ac_adapter/ADP1/state is wrog, instead battery/BAT0/state is wrong when discharging see below. *ac_adaptor is _pluged_ while Battery is fully charged* /proc/acpi/ac_adapter/ADP1$ cat state state: on-line cat /proc/acpi/battery/BAT0/state present: yes capacity state: ok charging state: discharging present rate: 0 mA remaining capacity: 4383 mAh present voltage: 12382 mV *ac_aaptor is _unpluged_ while Battery is fully charged* /proc/acpi/ac_adapter/ADP1$ cat state state: off-line cat /proc/acpi/battery/BAT0/state present: yes capacity state: ok charging state: charged present rate: 2047 mA remaining capacity: 4165 mAh present voltage: 12066 mV *ac_adaptor is _pluged_ while Battery is half discharged* /proc/acpi/ac_adapter/ADP1$ cat state state: on-line /proc/acpi/battery/BAT0$ cat state present: yes capacity state: ok charging state: charging present rate:2417 mA remaining capacity: 3249 mAh present voltage: 12426 mV *ac_adaptor is _unpluged_ while Battery is half discharged* /proc/acpi/ac_adapter/ADP1$ cat state state: off-line /proc/acpi/battery/BAT0$ cat state present: yes capacity state: ok charging state: charged present rate:2178 mA remaining capacity: 3251 mAh present voltage: 11748 mV -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
Thanks for fix, unfortunately, on my M9400 it's not working. System correctly recognize connection of AC adapter with or without fix. However, GNOME battery applet doesn't show it properly. Conclusion: No change with or withour fix. I appreciate your time and believe, we are almost there to really fix it. I can post any relevant information which could help you to fix it. Thanks. John -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
chmod +x bugfix.pl su -c bugfix.pl DONE! ps may need to edit script if script fails ** Attachment added: acpi hal bug fix https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/455786/+attachment/1678086/+files/bugfix.pl -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
fixed bug for bugfix.pl line with acpi_event() if ( !-f $acpi_event ); corrected to QuickWrite($acpi_event, acpi_event()) if ( !-f $acpi_event ); ** Attachment added: fixed bug in bugfix https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/455786/+attachment/1678204/+files/bugfix.pl -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
with or without the script i get this results if AC_Adaptor is pluged r...@laptop:/etc/acpi# hal-get-property --udi `hal-find-by-capability --capability ac_adapter` --key ac_adapter.present true if AC_Adaptor unpluged r...@hdm-laptop:/etc/acpi# hal-get-property --udi `hal-find-by-capability --capability ac_adapter` --key ac_adapter.present false - to get script working i hafe to change AC_state=/proc/acpi/ac_adapter/AC/state to AC_state=/proc/acpi/ac_adapter/ADP1/state -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
did this help solve the problem? I hope it did i had this problem and fixed it with that code. -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
will this help save this as /etc/acpi/battery.sh in a root shell run: chmod +x /etc/acpi/battery.sh #!/bin/sh # UGLY HACK AC_state=/proc/acpi/ac_adapter/AC/state if grep -q on-line ${AC_state} ; then hal-set-property --udi `hal-find-by-capability --capability ac_adapter` --key ac_adapter.present --bool true else hal-set-property --udi `hal-find-by-capability --capability ac_adapter` --key ac_adapter.present --bool false fi if code is in battery.sh add to top (below #!/bin/sh) # UGLY HACK AC_state=/proc/acpi/ac_adapter/AC/state if grep -q on-line ${AC_state} ; then hal-set-property --udi `hal-find-by-capability --capability ac_adapter` --key ac_adapter.present --bool true else hal-set-property --udi `hal-find-by-capability --capability ac_adapter` --key ac_adapter.present --bool false fi -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
although affects Maveric beta, same as desrcibed above -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
I have the same problem using a Fujitsu U9200 and Ubuntu 10.04. I do not believe this is a bios problem as when I run virtual box with a Ubuntu Host/XP guest, the Win XP will display the correct battery/charging state, complete with the low power warnings, it functions perfectly. There is just a problem with the way Ubuntu is displaying the battery/charging state. -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
Hi, nice to hear this has a solution. Could it be possible to fix this problem without recompiling kernel? XFCE and KDE indicators in Ludic stable work well. -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
So this seems to be a very easy to eliminate bug. Is there any chance that this can be done in the near future? This would be very cool, since I'm too dumb to compile without errors (aside from having seemingly too little hard disk space). -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
I could resolve the bug using combining the trick in bug #270123 and the trick to update a buggy DSDT table in Karmic/Lucid : go to this bug to find out because it's really more a matter of ACPI than something to do with gnome-power-manager. -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
same with Lucid -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
this seems a duplicate of #270123 -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
same with Lucid beta 2 -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
same with lucid beta 1 -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only whilst the indicator is incorrect, as it will automatically gather debugging information, in a terminal: apport-collect 455786 This will help us to find and resolve the problem. Bear in mind that you may need to install the python-launchpadlib package from the universe repository. Additionally, when prompted to give apport-collect permissions for Launchpad you will need to give it at least the ability to Change Non-Private data as it will be adding information to your bug report. Thanks in advance! When reporting bugs in the future please use apport, either via the appropriate application's Help - Report a Problem menu or using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs. ** Changed in: gnome-power-manager (Ubuntu) Importance: Undecided = Low ** Changed in: gnome-power-manager (Ubuntu) Status: New = Incomplete ** Changed in: gnome-power-manager (Ubuntu) Assignee: (unassigned) = Ubuntu Desktop Bugs (desktop-bugs) -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
Additionally, I've noticed that the more times my notebook crashes due to the empty battery (I can't note because of this bug), the lower the battery's capacity gets. So the bug will ruin my battery with the time. -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
Same problem here. KDE and XFCE battery indicators work well. And besides the GNOME battery indicator in the panel doesn't show the right icon, GNOME doesn't seem to recognize a critical battery state. It just shows the menu where to choose from logout, shutdown, etc. and three seconds later the computer turns off (due to an empty battery?). What really sucks is, that then (sometimes) a lot of my preferences are deleted (as e.g. my sticky notes!). I really hope there will be a fix in the near future. It would be great! -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
Same problem on 9.10. I have this problem since 8.04. I wonder I will be this bug ever repaired? -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 455786] Re: battery indicator is wrong
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/33975066/Dependencies.txt ** Attachment added: DevkitPower.txt http://launchpadlibrarian.net/33975067/DevkitPower.txt ** Attachment added: GConfNonDefault.txt http://launchpadlibrarian.net/33975068/GConfNonDefault.txt ** Attachment added: XsessionErrors.txt http://launchpadlibrarian.net/33975069/XsessionErrors.txt ** Attachment added: gnome-power-bugreport.txt http://launchpadlibrarian.net/33975070/gnome-power-bugreport.txt -- battery indicator is wrong https://bugs.launchpad.net/bugs/455786 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs