Launchpad has imported 23 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=694482.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2011-04-07T13:35:32+00:00 Kjartan wrote:

Description of problem:

I see two batteries in the battery information panel in gnome-shell. One
of them is at 0%. upower --dump and sysfs also show two batteries so it
seems to be the kernel that is at fault here.

This is a Dell Latitude E4300 laptop


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/828273/comments/0

------------------------------------------------------------------------
On 2011-04-07T13:37:25+00:00 Kjartan wrote:

lrwxrwxrwx 1 root root 0 april  7 15:36 AC -> 
../../devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC
lrwxrwxrwx 1 root root 0 april  7 14:26 BAT0 -> 
../../devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0
lrwxrwxrwx 1 root root 0 april  7 14:26 BAT1 -> 
../../devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/BAT1

[kmaraas@e4300 upower (master)]$ dmesg | grep -i battery
[    0.841579] ACPI: Deprecated procfs I/F for battery is loaded, please retry 
with CONFIG_ACPI_PROCFS_POWER cleared
[    0.841585] ACPI: Battery Slot [BAT0] (battery present)
[    0.841607] ACPI: Deprecated procfs I/F for battery is loaded, please retry 
with CONFIG_ACPI_PROCFS_POWER cleared
[    0.841612] ACPI: Battery Slot [BAT1] (battery absent)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/828273/comments/1

------------------------------------------------------------------------
On 2011-04-09T21:52:27+00:00 Chuck wrote:

(In reply to comment #1)
> [    0.841612] ACPI: Battery Slot [BAT1] (battery absent)

That's just the empty slot for the second battery (the one that clips to
the bottom of the machine.)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/828273/comments/2

------------------------------------------------------------------------
On 2011-04-10T17:29:22+00:00 Kjartan wrote:

Going to go out on a limb here and reopen this because it's causing real
problems for me.

The second "battery" only shows up after resume from suspend and
sometimes I end up with a laptop that just suspends immediately because
the empty battery slot is at 0% capasity and thus triggers an emergency
suspend.

I haven't even had the machine in the docking station so I don't see why
it should show up at all.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/828273/comments/3

------------------------------------------------------------------------
On 2011-04-14T00:22:16+00:00 Matthew wrote:

If it appears again can you please do:

grep . /sys/class/power_supply/*/*

and attach the output here?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/828273/comments/4

------------------------------------------------------------------------
On 2011-04-14T05:49:00+00:00 Kjartan wrote:

Here's the output. The first is before suspend the other is after
resume:

[kmaraas@e4300 po (master)]$ grep . /sys/class/power_supply/*/*
/sys/class/power_supply/AC/online:1
/sys/class/power_supply/AC/type:Mains
/sys/class/power_supply/AC/uevent:POWER_SUPPLY_NAME=AC
/sys/class/power_supply/AC/uevent:POWER_SUPPLY_ONLINE=1
/sys/class/power_supply/BAT0/alarm:0
/sys/class/power_supply/BAT0/charge_full:4126000
/sys/class/power_supply/BAT0/charge_full_design:5600000
/sys/class/power_supply/BAT0/charge_now:5600000
/sys/class/power_supply/BAT0/current_now:1000
/sys/class/power_supply/BAT0/cycle_count:0
/sys/class/power_supply/BAT0/manufacturer:SMP
/sys/class/power_supply/BAT0/model_name:DELL H986297
/sys/class/power_supply/BAT0/present:1
/sys/class/power_supply/BAT0/serial_number:834
/sys/class/power_supply/BAT0/status:Full
/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
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_STATUS=Full
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_PRESENT=1
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_TECHNOLOGY=Li-ion
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CYCLE_COUNT=0
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11100000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_VOLTAGE_NOW=12788000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CURRENT_NOW=1000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CHARGE_FULL_DESIGN=5600000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CHARGE_FULL=4126000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CHARGE_NOW=5600000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_MODEL_NAME=DELL H986297
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_MANUFACTURER=SMP
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_SERIAL_NUMBER=834
/sys/class/power_supply/BAT0/voltage_min_design:11100000
/sys/class/power_supply/BAT0/voltage_now:12788000
[kmaraas@e4300 po (master)]$ grep . /sys/class/power_supply/*/*
/sys/class/power_supply/AC/online:1
/sys/class/power_supply/AC/type:Mains
/sys/class/power_supply/AC/uevent:POWER_SUPPLY_NAME=AC
/sys/class/power_supply/AC/uevent:POWER_SUPPLY_ONLINE=1
/sys/class/power_supply/BAT0/alarm:0
/sys/class/power_supply/BAT0/charge_full:4126000
/sys/class/power_supply/BAT0/charge_full_design:5600000
/sys/class/power_supply/BAT0/charge_now:5600000
/sys/class/power_supply/BAT0/current_now:1000
/sys/class/power_supply/BAT0/cycle_count:0
/sys/class/power_supply/BAT0/manufacturer:SMP
/sys/class/power_supply/BAT0/model_name:DELL H986297
/sys/class/power_supply/BAT0/present:1
/sys/class/power_supply/BAT0/serial_number:834
/sys/class/power_supply/BAT0/status:Full
/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
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_STATUS=Full
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_PRESENT=1
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_TECHNOLOGY=Li-ion
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CYCLE_COUNT=0
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11100000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_VOLTAGE_NOW=12787000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CURRENT_NOW=1000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CHARGE_FULL_DESIGN=5600000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CHARGE_FULL=4126000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CHARGE_NOW=5600000
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_MODEL_NAME=DELL H986297
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_MANUFACTURER=SMP
/sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_SERIAL_NUMBER=834
/sys/class/power_supply/BAT0/voltage_min_design:11100000
/sys/class/power_supply/BAT0/voltage_now:12787000
/sys/class/power_supply/BAT1/alarm:0
grep: /sys/class/power_supply/BAT1/cycle_count: Ingen slik enhet
grep: /sys/class/power_supply/BAT1/energy_full: Ingen slik enhet
grep: /sys/class/power_supply/BAT1/energy_full_design: Ingen slik enhet
grep: /sys/class/power_supply/BAT1/energy_now: Ingen slik enhet
grep: /sys/class/power_supply/BAT1/manufacturer: Ingen slik enhet
grep: /sys/class/power_supply/BAT1/model_name: Ingen slik enhet
grep: /sys/class/power_supply/BAT1/power_now: Ingen slik enhet
/sys/class/power_supply/BAT1/present:0
grep: /sys/class/power_supply/BAT1/serial_number: Ingen slik enhet
grep: /sys/class/power_supply/BAT1/status: Ingen slik enhet
grep: /sys/class/power_supply/BAT1/technology: Ingen slik enhet
/sys/class/power_supply/BAT1/type:Battery
/sys/class/power_supply/BAT1/uevent:POWER_SUPPLY_NAME=BAT1
/sys/class/power_supply/BAT1/uevent:POWER_SUPPLY_PRESENT=0
grep: /sys/class/power_supply/BAT1/voltage_min_design: Ingen slik enhet
grep: /sys/class/power_supply/BAT1/voltage_now: Ingen slik enhet
[kmaraas@e4300 po (master)]$

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/828273/comments/5

------------------------------------------------------------------------
On 2011-04-14T06:14:10+00:00 Matthew wrote:

Ok, so that all looks nominally fine - the question is why upower thinks
it's present. When you're in the "good" state can you (as root) run

udevadm monitor

and then suspend/resume, and if the problem appears attach the udevadm
output? It would also help to have the output of the acpidump command
from the pmtools package.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/828273/comments/6

------------------------------------------------------------------------
On 2011-04-14T09:41:39+00:00 Kjartan wrote:

[kmaraas@e4300 Nedlasting]$ sudo udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[1302773968.491059] add      /devices/virtual/vc/vcs63 (vc)
KERNEL[1302773968.491090] add      /devices/virtual/vc/vcsa63 (vc)
UDEV  [1302773968.505074] add      /devices/virtual/vc/vcs63 (vc)
UDEV  [1302773968.506642] add      /devices/virtual/vc/vcsa63 (vc)
KERNEL[1302773984.460743] remove   /devices/system/cpu/cpu1/cpufreq (cpu)
KERNEL[1302773984.460770] remove   /devices/system/cpu/cpu1/cache/index0 (cpu)
KERNEL[1302773984.460803] remove   /devices/system/cpu/cpu1/cache/index1 (cpu)
KERNEL[1302773984.460817] remove   /devices/system/cpu/cpu1/cache/index2 (cpu)
KERNEL[1302773984.460831] remove   /devices/system/cpu/cpu1/cache (cpu)
KERNEL[1302773984.460845] remove   /devices/system/machinecheck/machinecheck1 
(machinecheck)
KERNEL[1302773984.460860] add      /devices/system/cpu/cpu1/cache/index0 (cpu)
KERNEL[1302773984.460874] add      /devices/system/cpu/cpu1/cache/index1 (cpu)
KERNEL[1302773984.460888] add      /devices/system/cpu/cpu1/cache/index2 (cpu)
KERNEL[1302773984.460901] add      /devices/system/cpu/cpu1/cache (cpu)
KERNEL[1302773984.460916] add      /devices/system/machinecheck/machinecheck1 
(machinecheck)
KERNEL[1302773984.460930] add      /devices/system/cpu/cpu1/cpufreq (cpu)
KERNEL[1302773984.460947] change   
/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC (power_supply)
KERNEL[1302773984.460965] remove   
/devices/platform/i8042/serio0/input/input3/event3 (input)
KERNEL[1302773984.460997] remove   /devices/platform/i8042/serio0/input/input3 
(input)
KERNEL[1302773984.461020] add      /devices/platform/i8042/serio0/input/input15 
(input)
KERNEL[1302773984.461038] add      
/devices/platform/i8042/serio0/input/input15/event3 (input)
KERNEL[1302773984.461072] remove   
/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[1302773984.461101] add      
/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[1302773984.461129] change   
/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[1302773984.461147] change   /devices/platform/dell-laptop/rfkill/rfkill0 
(rfkill)
KERNEL[1302773984.461163] change   /devices/platform/dell-laptop/rfkill/rfkill1 
(rfkill)
KERNEL[1302773984.461180] change   
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.0/bluetooth/hci0/rfkill2
 (rfkill)
UDEV  [1302773984.471283] remove   /devices/system/cpu/cpu1/cache/index0 (cpu)
UDEV  [1302773984.471639] remove   /devices/system/cpu/cpu1/cpufreq (cpu)
UDEV  [1302773984.472255] add      /devices/system/cpu/cpu1/cpufreq (cpu)
UDEV  [1302773984.472627] remove   /devices/system/cpu/cpu1/cache/index1 (cpu)
UDEV  [1302773984.473181] remove   
/devices/platform/i8042/serio0/input/input3/event3 (input)
UDEV  [1302773984.474144] remove   /devices/system/machinecheck/machinecheck1 
(machinecheck)
UDEV  [1302773984.474724] change   
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.0/bluetooth/hci0/rfkill2
 (rfkill)
UDEV  [1302773984.475185] change   /devices/platform/dell-laptop/rfkill/rfkill0 
(rfkill)
UDEV  [1302773984.475722] remove   
/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV  [1302773984.476230] remove   /devices/system/cpu/cpu1/cache/index2 (cpu)
UDEV  [1302773984.476587] change   /devices/platform/dell-laptop/rfkill/rfkill1 
(rfkill)
UDEV  [1302773984.478115] change   
/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC (power_supply)
UDEV  [1302773984.478541] add      /devices/system/machinecheck/machinecheck1 
(machinecheck)
UDEV  [1302773984.478911] remove   /devices/platform/i8042/serio0/input/input3 
(input)
UDEV  [1302773984.479305] remove   /devices/system/cpu/cpu1/cache (cpu)
UDEV  [1302773984.479611] add      /devices/system/cpu/cpu1/cache/index0 (cpu)
UDEV  [1302773984.479946] add      /devices/system/cpu/cpu1/cache/index1 (cpu)
UDEV  [1302773984.480213] add      /devices/system/cpu/cpu1/cache/index2 (cpu)
UDEV  [1302773984.480666] add      
/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV  [1302773984.481105] change   
/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV  [1302773984.482247] add      /devices/system/cpu/cpu1/cache (cpu)
UDEV  [1302773984.492144] add      /devices/platform/i8042/serio0/input/input15 
(input)
KERNEL[1302773984.503188] remove   
/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[1302773984.503240] add      
/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[1302773984.503310] change   
/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[1302773984.503377] add      
/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/BAT1 (power_supply)
KERNEL[1302773984.503419] change   
/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/BAT1 (power_supply)
UDEV  [1302773984.508888] remove   
/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV  [1302773984.516922] add      
/devices/platform/i8042/serio0/input/input15/event3 (input)
UDEV  [1302773984.517381] add      
/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV  [1302773984.517890] change   
/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV  [1302773984.518399] add      
/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/BAT1 (power_supply)
UDEV  [1302773984.519722] change   
/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/BAT1 (power_supply)
KERNEL[1302773984.716957] remove   
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.0/bluetooth/hci0/rfkill2
 (rfkill)
KERNEL[1302773984.716983] remove   
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.0/bluetooth/hci0 
(bluetooth)
UDEV  [1302773984.718209] remove   
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.0/bluetooth/hci0/rfkill2
 (rfkill)
UDEV  [1302773984.718903] remove   
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.0/bluetooth/hci0 
(bluetooth)
KERNEL[1302773984.722863] remove   
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.0 (usb)
KERNEL[1302773984.722889] remove   
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.1 (usb)
KERNEL[1302773984.722909] remove   
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.2 (usb)
KERNEL[1302773984.722928] remove   
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.3 (usb)
KERNEL[1302773984.722950] remove   
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3 (usb)
UDEV  [1302773984.723437] remove   
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.3 (usb)
UDEV  [1302773984.727859] remove   
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.1 (usb)
UDEV  [1302773984.728223] remove   
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.2 (usb)
UDEV  [1302773984.728462] remove   
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.0 (usb)
KERNEL[1302773984.761999] change   
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.2/3-1.2:1.0 (usb)
UDEV  [1302773984.763810] remove   
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3 (usb)
UDEV  [1302773984.828616] change   
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.2/3-1.2:1.0 (usb)
KERNEL[1302773985.180101] add      
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3 (usb)
KERNEL[1302773985.182371] add      
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.0 (usb)
KERNEL[1302773985.183355] add      
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.0/bluetooth/hci0 
(bluetooth)
KERNEL[1302773985.183639] add      
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.0/bluetooth/hci0/rfkill3
 (rfkill)
KERNEL[1302773985.183699] change   
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.0/bluetooth/hci0/rfkill3
 (rfkill)
KERNEL[1302773985.184214] add      
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.1 (usb)
KERNEL[1302773985.184274] add      
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.2 (usb)
KERNEL[1302773985.184353] add      
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.3 (usb)
UDEV  [1302773985.190153] add      
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3 (usb)
UDEV  [1302773985.191453] add      
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.1 (usb)
UDEV  [1302773985.192516] add      
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.0 (usb)
UDEV  [1302773985.193587] add      
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.0/bluetooth/hci0 
(bluetooth)
UDEV  [1302773985.194209] add      
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.0/bluetooth/hci0/rfkill3
 (rfkill)
UDEV  [1302773985.194982] change   
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.0/bluetooth/hci0/rfkill3
 (rfkill)
UDEV  [1302773985.197660] add      
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.3 (usb)
UDEV  [1302773985.197685] add      
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.2 (usb)
KERNEL[1302773991.214751] change   
/devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/block/sr0 (block)
UDEV  [1302773992.124868] change   
/devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/block/sr0 (block)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/828273/comments/7

------------------------------------------------------------------------
On 2011-04-14T09:42:55+00:00 Kjartan wrote:

acpidump output is the same before and after suspend/resume

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/828273/comments/8

------------------------------------------------------------------------
On 2011-04-14T09:43:46+00:00 Kjartan wrote:

Created attachment 492014
acpidump output before suspend

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/828273/comments/9

------------------------------------------------------------------------
On 2011-04-25T12:31:31+00:00 Chuck wrote:

(In reply to comment #7)
> KERNEL[1302773984.503188] remove  
> /devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
> KERNEL[1302773984.503240] add     
> /devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
> KERNEL[1302773984.503310] change  
> /devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
> KERNEL[1302773984.503377] add     
> /devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/BAT1 (power_supply)
> KERNEL[1302773984.503419] change  
> /devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/BAT1 (power_supply)
> UDEV  [1302773984.508888] remove  
> /devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
> UDEV  [1302773984.516922] add     
> /devices/platform/i8042/serio0/input/input15/event3 (input)
> UDEV  [1302773984.517381] add     
> /devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
> UDEV  [1302773984.517890] change  
> /devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
> UDEV  [1302773984.518399] add     
> /devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/BAT1 (power_supply)
> UDEV  [1302773984.519722] change  
> /devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/BAT1 (power_supply)

So we do remove/add/change (twice?) for BAT0, and just add/change for
BAT1. BAT1 doesn't really exist, maybe udev is confused by the empty
slot?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/828273/comments/10

------------------------------------------------------------------------
On 2011-04-25T12:34:14+00:00 Chuck wrote:

(In reply to comment #3)
> 
> I haven't even had the machine in the docking station so I don't see why it
> should show up at all.

What does this have to do with docking stations? The second battery
clips to the machine and the slot for it (really just the connectors on
the bottom of the machine) is always present.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/828273/comments/11

------------------------------------------------------------------------
On 2011-04-25T20:25:34+00:00 Kjartan wrote:

Just ignore my comment about docking station. I misread your comment
about the second battery and connectors.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/828273/comments/12

------------------------------------------------------------------------
On 2011-04-27T01:27:46+00:00 Chuck wrote:

*** Bug 698189 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/828273/comments/13

------------------------------------------------------------------------
On 2011-05-11T20:08:55+00:00 Rui wrote:

This is also happening on a Dell Latitude D630 with kernel
2.6.39-0.rc7.git0.0.fc16.x86_64 and current F15 user land.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/828273/comments/14

------------------------------------------------------------------------
On 2011-05-30T13:23:56+00:00 Trevor wrote:

*** Bug 709040 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/828273/comments/15

------------------------------------------------------------------------
On 2011-06-29T10:25:28+00:00 Albert wrote:

This happens on my Dell Latitude E6500 too, Fedora 15 latest updates.
Please shout if I can provide more information.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/828273/comments/16

------------------------------------------------------------------------
On 2011-06-30T07:21:15+00:00 Chuck wrote:

*** Bug 717573 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/828273/comments/17

------------------------------------------------------------------------
On 2011-09-14T09:08:57+00:00 Matthew wrote:

Happens on my E6410 also (kernel-2.6.40.4-5.fc15.x86_64).

 I think this should really be a higher priority, as it makes the
machine virtually unusable as a portable device.  The extra battery
shows up after suspend/resume whether the machine is plugged in, docked,
or on battery.  Once it does, the machine can't be disconnected from
power without it hibernating.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/828273/comments/20

------------------------------------------------------------------------
On 2011-09-21T07:28:23+00:00 Steven wrote:

I have a workaround (documented in bug #704110) using a resume hook in
/etc/pm/sleep.d that reads out battery state from
/proc/acpi/battery/BAT*. Note that, although deprecated, using that
interface causes the phantom battery to disappear afterwards. Reading
state from /sys/class/power_supply does nothing in that respect.

See https://bugzilla.redhat.com/show_bug.cgi?id=704110#c12

Since using that, I have had no more phantom battery or shutdown-upon-
resume issues.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/828273/comments/21

------------------------------------------------------------------------
On 2012-06-04T18:11:30+00:00 Josh wrote:

Is this still happening with 2.6.43/3.3 in F15/F16?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/828273/comments/25

------------------------------------------------------------------------
On 2012-06-04T18:50:48+00:00 Matthew wrote:

Doesn't seem to occur on a fresh install of F17 w/
kernel-3.3.7-1.fc17.x86_64.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/828273/comments/26

------------------------------------------------------------------------
On 2012-06-04T19:02:18+00:00 Josh wrote:

(In reply to comment #21)
> Doesn't seem to occur on a fresh install of F17 w/
> kernel-3.3.7-1.fc17.x86_64.

OK.  Thanks for letting us know.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/828273/comments/27


** Changed in: fedora
       Status: Unknown => Fix Released

** Changed in: fedora
   Importance: Unknown => Undecided

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/828273

Title:
  After resume, showing 2 batteries even though only one installed

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to