This is all veeeeery confusing. And making a mistake here can have drastic consequences, as was mentioned: unattended-upgrades can stop applying security updates.
I wonder if we wouldn't be in a better shape if we switched unattended- upgrades to use systemd-ac-power. That seems to be at least maintained (systemd), whereas powermgmt-base seems unmaintained. Question to the reporter: does systemd-ac-power work correctly in the system you have where unpatched on_ac_power is incorrect? -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs