Thanks Adam. After patching the kernel and installing it I can confirm that this patch works. Now it only needs to make its way into the ubuntu kernel.
-- After wakeup from sleep, gnome-power-manager does not detect it is running on battery https://bugs.launchpad.net/bugs/472347 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