← Back to team overview

touch-packages team mailing list archive

[Bug 1526960] [NEW] on_ac_power doesn't notice usb powersupply

 

Public bug reported:

Some ARM-Boards have more then one possible power-supply, for example you can power them also over USB. But /usr/bin/on_ac_power returns that there is no connected power-supply if its an usb power-supply.
you can solve the Problem if you also allow an USB Device as a power-supply.
This causes Problems like unattended-upgrades and other features are not working. 
You can do this if you patch the /usr/bin/on_ac_power script with the attached patch.

** Affects: powermgmt-base (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: unattended-upgrades (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "unattended-upgrades.diff"
   https://bugs.launchpad.net/bugs/1526960/+attachment/4535906/+files/unattended-upgrades.diff

** Also affects: unattended-upgrades (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to powermgmt-base in Ubuntu.
https://bugs.launchpad.net/bugs/1526960

Title:
  on_ac_power doesn't notice usb powersupply

Status in powermgmt-base package in Ubuntu:
  New
Status in unattended-upgrades package in Ubuntu:
  New

Bug description:
  Some ARM-Boards have more then one possible power-supply, for example you can power them also over USB. But /usr/bin/on_ac_power returns that there is no connected power-supply if its an usb power-supply.
  you can solve the Problem if you also allow an USB Device as a power-supply.
  This causes Problems like unattended-upgrades and other features are not working. 
  You can do this if you patch the /usr/bin/on_ac_power script with the attached patch.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/powermgmt-base/+bug/1526960/+subscriptions


Follow ups