Noble verification (ARM Ampere Altra server):
The verification is done in a Noble lxc container running on a Ubuntu 22.04 
host. The machine is an ARM Ampere Altra server:

root@build-noble:~#  apt list powermgmt-base
Listing... Done
powermgmt-base/noble-proposed,now 1.37ubuntu0.1 all [installed,automatic]
N: There is 1 additional version. Please use the '-a' switch to see it
root@build-noble:~# ls /sys/class/power_supply/
root@build-noble:~# uname -r
5.15.0-151-generic
root@build-noble:~#  on_ac_power
root@build-noble:~# 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

Reply via email to