unplug event unnoticed while suspended

Bug #673322 reported by Kameron Harris on 2010-11-10
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: gnome-power-manager

If I suspend my laptop (i.e. close lid), unplug it, and then open it back up again, the gnome-power-manager fails to notice that it's now unplugged. Plugging it back in, gnome-power-manager first shows a notice that the system is unplugged, then plugged in (correctly). This is on Ubuntu 10.04 and gnome-power-manager 2.30.0-0ubuntu1

I've attached the output of running
for i in /sys/class/power_supply/*/*; do
  echo $i;
  cat $i;
done

after resume (unplugged... applet nevertheless shows status as being plugged in):
/sys/class/power_supply/BAT0/alarm
0
/sys/class/power_supply/BAT0/charge_full
2213000
/sys/class/power_supply/BAT0/charge_full_design
4400000
/sys/class/power_supply/BAT0/charge_now
1500000
/sys/class/power_supply/BAT0/current_now
-1000
/sys/class/power_supply/BAT0/device
/sys/class/power_supply/BAT0/manufacturer
Clevo CO.
/sys/class/power_supply/BAT0/model_name
M740TX
/sys/class/power_supply/BAT0/power
/sys/class/power_supply/BAT0/present
1
/sys/class/power_supply/BAT0/serial_number

/sys/class/power_supply/BAT0/status
Discharging
/sys/class/power_supply/BAT0/subsystem
/sys/class/power_supply/BAT0/technology
Li-ion
/sys/class/power_supply/BAT0/type
Battery
/sys/class/power_supply/BAT0/uevent
POWER_SUPPLY_NAME=BAT0
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_STATUS=Discharging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11100000
POWER_SUPPLY_VOLTAGE_NOW=14800000
POWER_SUPPLY_CURRENT_NOW=-1000
POWER_SUPPLY_CHARGE_FULL_DESIGN=4400000
POWER_SUPPLY_CHARGE_FULL=2213000
POWER_SUPPLY_CHARGE_NOW=1500000
POWER_SUPPLY_MODEL_NAME=M740TX
POWER_SUPPLY_MANUFACTURER=Clevo CO.
POWER_SUPPLY_SERIAL_NUMBER=
/sys/class/power_supply/BAT0/voltage_min_design
11100000
/sys/class/power_supply/BAT0/voltage_now
14800000

plugging back in:
/sys/class/power_supply/BAT0/alarm
0
/sys/class/power_supply/BAT0/charge_full
2213000
/sys/class/power_supply/BAT0/charge_full_design
4400000
/sys/class/power_supply/BAT0/charge_now
1603000
/sys/class/power_supply/BAT0/current_now
-1000
/sys/class/power_supply/BAT0/device
/sys/class/power_supply/BAT0/manufacturer
Clevo CO.
/sys/class/power_supply/BAT0/model_name
M740TX
/sys/class/power_supply/BAT0/power
/sys/class/power_supply/BAT0/present
1
/sys/class/power_supply/BAT0/serial_number

/sys/class/power_supply/BAT0/status
Charging
/sys/class/power_supply/BAT0/subsystem
/sys/class/power_supply/BAT0/technology
Li-ion
/sys/class/power_supply/BAT0/type
Battery
/sys/class/power_supply/BAT0/uevent
POWER_SUPPLY_NAME=BAT0
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_STATUS=Charging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11100000
POWER_SUPPLY_VOLTAGE_NOW=14800000
POWER_SUPPLY_CURRENT_NOW=-1000
POWER_SUPPLY_CHARGE_FULL_DESIGN=4400000
POWER_SUPPLY_CHARGE_FULL=2213000
POWER_SUPPLY_CHARGE_NOW=1603000
POWER_SUPPLY_MODEL_NAME=M740TX
POWER_SUPPLY_MANUFACTURER=Clevo CO.
POWER_SUPPLY_SERIAL_NUMBER=
/sys/class/power_supply/BAT0/voltage_min_design
11100000
/sys/class/power_supply/BAT0/voltage_now
14800000
---
Architecture: amd64
DistroRelease: Ubuntu 10.04
GnomeSessionIdleInhibited: No
GnomeSessionInhibitors: None
GnomeSessionSuspendInhibited: No
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
MachineType: System76, Inc. Pangolin Performance
NonfreeKernelModules: nvidia
Package: gnome-power-manager 2.30.0-0ubuntu1
PackageArchitecture: amd64
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-25-generic root=UUID=30996676-b739-4f6f-b69a-a9a54f038564 ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-25.45-generic 2.6.32.21+drm33.7
Tags: lucid
Uname: Linux 2.6.32-25-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 04/06/2009
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: 1.02.22
dmi.board.asset.tag: Tag 12345
dmi.board.name: Pangolin Performance
dmi.board.vendor: System76, Inc.
dmi.board.version: panp5
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 1
dmi.chassis.vendor: No Enclosure
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvr1.02.22:bd04/06/2009:svnSystem76,Inc.:pnPangolinPerformance:pvrpanp5:rvnSystem76,Inc.:rnPangolinPerformance:rvrpanp5:cvnNoEnclosure:ct1:cvrN/A:
dmi.product.name: Pangolin Performance
dmi.product.version: panp5
dmi.sys.vendor: System76, Inc.

---
WORKAROUND: Plugging the cord back in (while not suspended).

Juan Pablo Arias (j4np0l) wrote :

This doesn't happen in Ubuntu 10.10 Netbook Edition and gnome-power-manager 2.32.0-0ubuntu1 (tested with Asus eee 1001px).

Juan Pablo Arias (j4np0l) wrote :

Kameron, could you please run "apport-collect 673322" from the terminal? You might also want to take a look at the debugging instructions located at https://wiki.ubuntu.com/DebuggingGNOMEPowerManager and submit any other logs related to your problem. Thanks in advance

Changed in gnome-power-manager (Ubuntu):
status: New → Incomplete

apport information

tags: added: apport-collected
description: updated

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

Changed in gnome-power-manager (Ubuntu):
status: Incomplete → New
Juan Pablo Arias (j4np0l) wrote :

I've tried to reproduce this bug without any luck using:

a. Ubuntu 10.10 NE - gnome-power-manager 2.32.0-0ubuntu1 - Asus eee 1001px
b. Ubuntu 10.04 32bits Desktop Edition - gnome-power-manager 2.30.0-0ubuntu1 - Asus eee 1001px
c: Ubuntu 10.04 amd64 Desktop Edition - gnome-power-manager 2.30.0-0ubuntu1 - HP Compaq V3218la

This is more likely to be a kernel, graphics driver or pm-utils bug, so, I'm reassigning it to pm-utils.

affects: gnome-power-manager (Ubuntu) → pm-utils (Ubuntu)
Chow Loong Jin (hyperair) wrote :

Hi, this looks like a gnome-power-manager bug rather than a pm-utils one. Please kill gnome-power-manager, and then get the output of "gnome-power-manager --verbose" while reproducing this bug.

affects: pm-utils (Ubuntu) → gnome-power-manager (Ubuntu)
Changed in gnome-power-manager (Ubuntu):
status: New → Incomplete
description: updated
Launchpad Janitor (janitor) wrote :

[Expired for gnome-power-manager (Ubuntu) because there has been no activity for 60 days.]

Changed in gnome-power-manager (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers