Now, the script properly detects ac power operation with Ubuntu 10.04.2 LTS :
---------
j@j-lt:~$ if on_ac_power; then echo AC power on; fi
AC power on
j@j-lt:~$
---------
** Changed in: powermgmt-base (Ubuntu)
Status: Incomplete => Opinion
** Changed in: powermgmt-base (Ubuntu)
Status: Opinion => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/444662
Title:
on_ac_power fails to detect mains operation
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/powermgmt-base/+bug/444662/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs