[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2011-05-06 Thread Launchpad Bug Tracker
This bug was fixed in the package upower - 0.9.10-1 --- upower (0.9.10-1) unstable; urgency=low * New upstream release: - Fix "unknown" battery status guessing to not be recursive. (LP: #384304) * debian/control: Drop obsolete devicekit-power-* Conflicts/Replaces. -- Ubuntu A

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2011-04-26 Thread Bug Watch Updater
** Changed in: devicekit-power Status: In Progress => 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/384304 Title: devicekit-power fails to realize I'm on battery after AC disconn

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2011-04-26 Thread Martin Pitt
I just pushed the fix for this to upstream master. ** Package changed: devicekit-power (Ubuntu) => upower (Ubuntu) ** Changed in: upower (Ubuntu) Status: Triaged => Fix Committed ** Changed in: upower (Ubuntu) Assignee: (unassigned) => Martin Pitt (pitti) -- You received this bug n

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2011-03-28 Thread Bug Watch Updater
** Changed in: devicekit-power Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/384304 Title: devicekit-power fails to realize I'm on battery after AC disconnect

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2011-02-05 Thread Bug Watch Updater
** 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/384304 Title: devicekit-power fails to realize I'm on battery after AC disconnect -- u

Re: [Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2011-01-25 Thread mzc
@ Martin afik this bug is closed. I cannot reproduce it anymore On Mar 10, 2010 10:01 AM, "Martin Pitt" wrote: -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/384304 Title: devicekit-power fails to r

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2011-01-25 Thread Bug Watch Updater
** 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/384304 Title: devicekit-power fails to realize I'm on battery after AC disconnect -- u

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2010-06-10 Thread David Futcher
** Tags added: patch-forwarded-upstream -- devicekit-power fails to realize I'm on battery after AC disconnect https://bugs.launchpad.net/bugs/384304 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bug

Re: [Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2010-03-10 Thread Martin Pitt
tekstr1der [2010-03-10 16:35 -]: > Should we still be following this old bug for lucid now that upower is > being used? Is there a new bug filed against upower for this issue? I > can't seem to find one. This bug is supposed to be fixed in Karmic and Lucid. So if you still get the effect, plea

Re: [Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2010-03-10 Thread mzc
I think it would be better if we a new bug report since upower is different from devkit On Mar 10, 2010, at 8:35 AM, tekstr1der wrote: > Should we still be following this old bug for lucid now that upower is > being used? Is there a new bug filed against upower for this issue? I > can't seem to

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2010-03-10 Thread tekstr1der
Should we still be following this old bug for lucid now that upower is being used? Is there a new bug filed against upower for this issue? I can't seem to find one. -- devicekit-power fails to realize I'm on battery after AC disconnect https://bugs.launchpad.net/bugs/384304 You received this bug

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2010-01-28 Thread Josh Hill
With the version of libdevkit-power-gobject1 in the karmic repository now, I can get it to recognize it's on battery after unplugging and replugging the AC several times. However, when I use the package in Javier Martín's PPA or the version in karmic-proposed, it completely breaks and no matter wha

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-12-19 Thread Ronaldo Pagani Yamashita
I am having the same problem with a Sony VAIO SZ-680. The patch makes sense, but when will it be included in the main distribution? The problem is really annoying for notebook users (as the machine will shutdown suddenly when you forget to connect your power cord). -- devicekit-power fails to rea

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-12-09 Thread Ian Hutchinson
This bug is present with Lenovo T400, with fully updated Karmic AMD64 release. I downloaded the 11/23 builds and installed them with dpkg -i. It did not appear to make any difference. Unplugging and replugging the power cord a time or two when the battery is nearly fully charged, leads to a lock

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-30 Thread Trev
I have the same problem with my Fujitsu Siemens Esprimo Mobile V5535. Being on battery is not detected, it always thinks that I am on AC. Trev -- devicekit-power fails to realize I'm on battery after AC disconnect https://bugs.launchpad.net/bugs/384304 You received this bug notification because

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-25 Thread Wolfgang Kufner
Just tested the packages from pitti ppa in installed karmic on extensa 5635Z. They neither help nor hurt, as was expected. Status in lucid is unchanged, which means its fine :-) -- devicekit-power fails to realize I'm on battery after AC disconnect https://bugs.launchpad.net/bugs/384304 You rece

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-25 Thread foggydude
working for me! as soon as i forced the "downgrade" in synaptic, my backlight dimmed and before re-upgrading it it said 'sure, cause you are on battery'. i switched to the kde guidance manager (hoped that one would work), but now theyre next to each other: gnome works and the guidance is still bel

Re: [Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-24 Thread mzc
I have filed it as bug# 487958. Thank you very much for the help. On Tue, 2009-11-24 at 22:24 +, Javier Martín wrote: > His "lid-is-closed" is reported as "yes", I think he's experiencing a whole > different bug... > -- devicekit-power fails to realize I'm on battery after AC disconnect htt

Re: [Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-24 Thread mzc
I'll file it on a separate report. thanks everyone :) On Tue, 2009-11-24 at 22:24 +, Javier Martín wrote: > His "lid-is-closed" is reported as "yes", I think he's experiencing a whole > different bug... > -- devicekit-power fails to realize I'm on battery after AC disconnect https://bugs.la

Re: [Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-24 Thread Javier Martín
His "lid-is-closed" is reported as "yes", I think he's experiencing a whole different bug... -- devicekit-power fails to realize I'm on battery after AC disconnect https://bugs.launchpad.net/bugs/384304 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribe

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-24 Thread Martin Pitt
mzc, your devkit-power outputs look just fine. What are you actually seeing now which is wrong? -- devicekit-power fails to realize I'm on battery after AC disconnect https://bugs.launchpad.net/bugs/384304 You received this bug notification because you are a member of Ubuntu Bugs, which is subscr

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-23 Thread mzc
please disregard #40. i managed to force-install the package via synaptic. There's no change happened, problem still exist please see attachments ** Attachment added: "gpm.log" http://launchpadlibrarian.net/36003724/gpm.log -- devicekit-power fails to realize I'm on battery after AC disconn

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-23 Thread mzc
** Attachment added: "devkit-power on batt" http://launchpadlibrarian.net/36003840/devkit-power%20on%20batt -- devicekit-power fails to realize I'm on battery after AC disconnect https://bugs.launchpad.net/bugs/384304 You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-23 Thread mzc
see devkit-power attachments ** Attachment added: "devkit-power on AC" http://launchpadlibrarian.net/36003745/devkit-power%20on%20AC -- devicekit-power fails to realize I'm on battery after AC disconnect https://bugs.launchpad.net/bugs/384304 You received this bug notification because you are

Re: [Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-23 Thread mzc
hi Martin, I was only successful to installing one of the 4 packages. How do I force-install them, i get an error that a later version was already installed. On Mon, 2009-11-23 at 13:20 +, Martin Pitt wrote: > Upstream committed a simpler patch which should also fix this and avoid > problems

Re: [Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-23 Thread Javier Martín
Doesn't seem to work for me (see `devkit-power -d` while on batteries attached). AC device section says "online: no" but the daemon section thinks "on-battery: no". 2009/11/23 Martin Pitt > Upstream committed a simpler patch which should also fix this and avoid > problems with the originally pr

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-23 Thread Martin Pitt
Upstream committed a simpler patch which should also fix this and avoid problems with the originally proposed one. I applied this in a test package for karmic and uploaded it into my PPA: https://launchpad.net/~pitti/+archive/ppa/+packages Any chance that people affected by this problem can try

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-22 Thread mzc
see gpm.og ** Attachment added: "gpm.log" http://launchpadlibrarian.net/35940558/gpm.log -- devicekit-power fails to realize I'm on battery after AC disconnect https://bugs.launchpad.net/bugs/384304 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribe

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-22 Thread mzc
@Javier Martin The patch does not work on Acer Aspire one D250. I also experience this same bug when unplugging AC. this also probably similar to bug #425411 -- devicekit-power fails to realize I'm on battery after AC disconnect https://bugs.launchpad.net/bugs/384304 You received this bug noti

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-19 Thread Martin Pitt
Thanks Javier! I forwarded your patch upstream for review and commenting. -- devicekit-power fails to realize I'm on battery after AC disconnect https://bugs.launchpad.net/bugs/384304 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- u

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-18 Thread Wolfgang Kufner
Just checked again for this bug with ubuntu lucid-desktop-amd64 20091117 (booting the iso from hd via grub2 loopback): looks even better than yesterday. even the small issue of the superfluous second battery icon (see twoBatteryIcons.png) is gone. What remains is that the whole thing is not inst

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-17 Thread foggydude
affected: packard bell dot m/ acer one 751 @javier Martin its always a miracle what will happen when i open/close lid. its some sort of tombola. sometimes as hopes, sometimes coockes. and sometimes nice suspend and black sreen on resume (other bug). -- devicekit-power fails to realize I'm on b

Re: [Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-17 Thread Javier Martín
@Wolfang: Just to clarify, the patch above fixes the scenario in which devkit-power -d reports "on-battery: no" after unplugging the AC, but apparently only when the battery is fully charged. Under those circumstances, the battery (through the /sys/devices filesystem) happens to report an "Unknown

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-17 Thread Wolfgang Kufner
** Attachment added: "twoBatteryIcons.png" http://launchpadlibrarian.net/35779356/twoBatteryIcons.png -- devicekit-power fails to realize I'm on battery after AC disconnect https://bugs.launchpad.net/bugs/384304 You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-17 Thread Wolfgang Kufner
Fixed for me in lucid. Just tested for this bug with ubuntu lucid-desktop-amd64 20091116 (booting the iso from hd via grub2 loopback): fixed the major problem: booting on AC; after unplugging devkit-power --dump changes to "on-battery: yes" (takes about 15 secs iirc) fixed also: when plugging i

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-16 Thread Javier Martín
Attached is a patch to fix this bug. The problem is in function dkp_daemon_get_on_battery_local of dkp-daemon.c. The logic is "we're on battery as soon as _any_ battery goes discharging", but often batteries have troubles reporting their charging/discharging status and just say "unknown" (at least

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-15 Thread Max Bowsher
Retagged regression-release as this is reproducing for me again. And I have verbal confirmation from another AAO user that they're seeing the same on a karmic clean install. I've just noticed pitti's comment of ~ 1 month ago and shall bear it in mind when I'm next in front of the appropriate machi

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-11-12 Thread tekstr1der
I've run into this on a fully updated karmic install. 1) Start with a fully charged battery 2) Disconnect AC 3) devkit-power --dump reports state:fully-charged, on-battery=no Another observation: Following a suspend/resume cycle, things operate correctly for the most part, but sometimes there is

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-10-20 Thread Martin Pitt
Max, so can you cofirm that "devkit-disks --dump" is correct in all situations for you then? Then it's indeed a different bug. Can you open one against gnome-power-manager, and do killall gnome-power-manager gnome-power-manager --verbose 2>&1 | tee /tmp/gpm.log then reproduce the bug, press

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-10-16 Thread Steve Langasek
** Changed in: devicekit-power (Ubuntu) Importance: Undecided => Medium -- devicekit-power fails to realize I'm on battery after AC disconnect https://bugs.launchpad.net/bugs/384304 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-10-16 Thread Max Bowsher
Contrary to my earlier comment about having problems reproducing it, I've now noticed that I'm sitting here with no power cord in sight, yet g-p-m claims my battery is *charging*! And wtf? 'devkit-power --dump' actually says discharging !? And whilst I've been writing this bug report, g-p

Re: [Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-10-07 Thread Martin Pitt
Wolfgang Kufner [2009-10-07 11:23 -]: > I did as you suggested and the packages are at the new versions, but > since the system was shut down twice after above testing I think what we > really are after is in the logs. Thanks for confirming! -- Martin Pitt| http://www

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-10-07 Thread Wolfgang Kufner
Hi Martin I did as you suggested and the packages are at the new versions, but since the system was shut down twice after above testing I think what we really are after is in the logs: synaptic package history shows that those two packages came in at 7:10 messages log shows 5 shutdown - boot cylc

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-10-07 Thread Bug Watch Updater
** Changed in: devicekit-power Status: Unknown => Confirmed -- devicekit-power fails to realize I'm on battery after AC disconnect https://bugs.launchpad.net/bugs/384304 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-b

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-10-07 Thread Martin Pitt
** Bug watch added: freedesktop.org Bugzilla #24371 https://bugs.freedesktop.org/show_bug.cgi?id=24371 ** Also affects: devicekit-power via https://bugs.freedesktop.org/show_bug.cgi?id=24371 Importance: Unknown Status: Unknown -- devicekit-power fails to realize I'm on battery af

[Bug 384304] Re: devicekit-power fails to realize I'm on battery after AC disconnect

2009-10-07 Thread Martin Pitt
** Summary changed: - devicekit-power fails to realize I'm on battery + devicekit-power fails to realize I'm on battery after AC disconnect -- devicekit-power fails to realize I'm on battery after AC disconnect https://bugs.launchpad.net/bugs/384304 You received this bug notification because you