Plucky verification (ARM Ampere Altra server): The verification is done in a plucky lxc container running on a Ubuntu 22.04 host. The machine is an ARM Ampere Altra server:
root@build-plucky:~# apt list powermgmt-base powermgmt-base/plucky-proposed,now 1.38ubuntu1~25.04.1 all [installed] Notice: There is 1 additional version. Please use the '-a' switch to see it root@build-plucky:~# ls /sys/class/power_supply/ root@build-plucky:~# uname -r 5.15.0-151-generic root@build-plucky:~# on_ac_power root@build-plucky:~# echo $? 0 We can see that the script reports the proper power state (on AC) on a system with no battery. -- 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
