Jammy verification on a desktop PC running in a lxc container running a non Ubuntu host:
root@jammy-builder:~# ls /sys/class/power_supply/ *directory is empty* root@jammy-builder:~# apt list --installed powermgmt-base Listing... Done powermgmt-base/jammy-proposed,now 1.36ubuntu0.22.04.1 all [installed,upgradable to: 1.36ubuntu999] N: There is 1 additional version. Please use the '-a' switch to see it root@jammy-builder:~# on_ac_power root@jammy-builder:~# echo $? 0 -- 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
