Did an quick and dirty experiment and edited the source file myself and built the upower package and preliminary results are promising. The gnome power manager now reacts after a while, i think the poll rate is 30s, when i unplug the AC power. Will run this for a while to see that it is not just a coincidence.
This is the line i edited. diff src/linux/up-device-supply.c src/linux/up-device-supply.c~ 549c549 < /* supply->priv->enable_poll = (state != UP_DEVICE_STATE_FULLY_CHARGED); */ --- > supply->priv->enable_poll = (state != UP_DEVICE_STATE_FULLY_CHARGED); I commented out the whole line, it is perhaps not the grandest solution but it seems to work. I have not found any function to call to see if the computer has AC power so i cannot implement that. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/467825 Title: Battery state always "fully charged" To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-power/+bug/467825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs