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 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 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