← Back to team overview

desktop-packages team mailing list archive

[Bug 1530014] [NEW] When charging phone/tablet, power management says UPS battery is low and causes immediate shutdown

 

Public bug reported:

Short story: 
I have a CyberPower 825AVR (USB attached) when attaching my iPhone or iPad (via USB) to charge, the Unity (gnome power manager?) displays a message saying the UPS battery is critically low and the system will shut down immediately. It does shut down immediately. It seems that upowerd or the gnome power manager "confuses" the device's (e.g., my iPhone's) battery with my UPS's battery. Interestingly, if I unplug the UPS cable, plug-in my iPhone, and then plug-in my UPS, the system does not shut down. However, the gnome power manager icon disappears and reappears at an interval of a second or two. 

Hopefully Useful Details:
- Fresh install of Ubuntu 15.10 on my mid-2011 (i5-2400S, 20GB RAM) 21.5" iMac. 
- Single boot (OS/X is not installed). 
- UPS battery is in good health and fully charged. 
- Power drain on UPS is minimal: iMac, additional LCD display, and desktop speakers.

upower:
  Installed: 0.99.3-1build2
  Candidate: 0.99.3-1build2
  Version table:
 *** 0.99.3-1build2 0
        500 http://us.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
        100 /var/lib/dpkg/status

gnome-power-manager:
  Installed: 3.16.1-1ubuntu1
  Candidate: 3.16.1-1ubuntu1
  Version table:
 *** 3.16.1-1ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
        100 /var/lib/dpkg/status

I wrote a mark in syslog before plugging in my iPhone and attached the
(hopefully) relevant part of the log. I think line 41 is the key.

Of course, if you need info or help, please ask.

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: upower 0.99.3-1build2
ProcVersionSignature: Ubuntu 4.2.0-22.27-generic 4.2.6
Uname: Linux 4.2.0-22-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Dec 29 20:35:33 2015
InstallationDate: Installed on 2015-12-21 (8 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: upower
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: upower (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug wily

** Attachment added: "Relevant portion of syslog"
   https://bugs.launchpad.net/bugs/1530014/+attachment/4541985/+files/power.log

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1530014

Title:
  When charging phone/tablet, power management says UPS battery is low
  and causes immediate shutdown

Status in upower package in Ubuntu:
  New

Bug description:
  Short story: 
  I have a CyberPower 825AVR (USB attached) when attaching my iPhone or iPad (via USB) to charge, the Unity (gnome power manager?) displays a message saying the UPS battery is critically low and the system will shut down immediately. It does shut down immediately. It seems that upowerd or the gnome power manager "confuses" the device's (e.g., my iPhone's) battery with my UPS's battery. Interestingly, if I unplug the UPS cable, plug-in my iPhone, and then plug-in my UPS, the system does not shut down. However, the gnome power manager icon disappears and reappears at an interval of a second or two. 

  Hopefully Useful Details:
  - Fresh install of Ubuntu 15.10 on my mid-2011 (i5-2400S, 20GB RAM) 21.5" iMac. 
  - Single boot (OS/X is not installed). 
  - UPS battery is in good health and fully charged. 
  - Power drain on UPS is minimal: iMac, additional LCD display, and desktop speakers.

  upower:
    Installed: 0.99.3-1build2
    Candidate: 0.99.3-1build2
    Version table:
   *** 0.99.3-1build2 0
          500 http://us.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
          100 /var/lib/dpkg/status

  gnome-power-manager:
    Installed: 3.16.1-1ubuntu1
    Candidate: 3.16.1-1ubuntu1
    Version table:
   *** 3.16.1-1ubuntu1 0
          500 http://us.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
          100 /var/lib/dpkg/status

  I wrote a mark in syslog before plugging in my iPhone and attached the
  (hopefully) relevant part of the log. I think line 41 is the key.

  Of course, if you need info or help, please ask.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: upower 0.99.3-1build2
  ProcVersionSignature: Ubuntu 4.2.0-22.27-generic 4.2.6
  Uname: Linux 4.2.0-22-generic x86_64
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Dec 29 20:35:33 2015
  InstallationDate: Installed on 2015-12-21 (8 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
  SourcePackage: upower
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1530014/+subscriptions


Follow ups