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 <martin.p...@ubuntu.com> > 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<https://launchpad.net/%7Epitti/+archive/ppa/+packages> > > Any chance that people affected by this problem can try this and report > back here? Thank you! > > -- > 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 direct subscriber > of the bug. > > Status in DeviceKit based power management D-Bus backend: Confirmed > Status in “devicekit-power” package in Ubuntu: Triaged > > Bug description: > Binary package hint: devicekit-power > > Since upgrading to gnome-power-manager 2.27.1-0ubuntu2, which IIUC switched > backends from hal to devkit-power, g-p-m thinks I'm always on AC, and > doesn't even acknowledge the fact I have a battery. Rolling back to g-p-m > 2.26.1-0ubuntu4 results in correct behaviour. > > I'll post some attachments with various debugging info... > > ProblemType: Bug > Architecture: i386 > Date: Sat Jun 6 16:50:59 2009 > DistroRelease: Ubuntu 9.10 > Package: devicekit-power 008-1 > ProcEnviron: > LC_COLLATE=C > PATH=(custom, user) > LANG=en_GB.UTF-8 > SHELL=/bin/bash > ProcVersionSignature: Ubuntu 2.6.30-8.9-generic > SourcePackage: devicekit-power > Uname: Linux 2.6.30-8-generic i686 > ** Attachment added: "devkit-power-output.txt" http://launchpadlibrarian.net/35974938/devkit-power-output.txt -- 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-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs