@gordon-lack the battery fixes are not present in the Plucky release since they are still awaiting merger. You can view the MR status here: https://code.launchpad.net/~ghadi-rahme/ubuntu/+source/powermgmt-base/+git/powermgmt-base/+merge/482635 I recommend applying the patch from this MR to on_ac_power and testing the script afterwards. If the system cannot detect the power status and there is no battery, the script should return 255 or even 0 if an online port was detected.
@vpa1977 as mentioned in the paragraph above there is an MR that is pending merger to resolve the issue. Resubscribing sponsors. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1980991 Title: /usr/sbin/on_ac_power incorrectly reporting ac power status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/powermgmt-base/+bug/1980991/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
