>> You can test the latest version of the MR and confirm if it is
working as intended now on your system.

Yes it is now, thanks.

However:
1. lspower (part of the same package) is assuming that /bin/sh is a symlink to 
dash for the echo command on line 53. If you've set this (sh) to be a symlink 
to bash instead, then the escape sequences in the echo would need the "-e" 
option to work.
So line 1 needs to be #!/bin/dash, to make it independent off the user's choice.

2. Can Ubuntu systems run without systemd?
If not, why not just make on_ac_power be a symlink to /usr/bin/systemd-ac-power 
and only have one code ste to maintain?

-- 
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