Second "not present" battery appears randomly

Bug #861285 reported by Sam Rigelsford
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Hello,

Ubuntu 11.10 32bit (beta) on HP 6730b laptop. Updated every morning.

I leave my laptop running on my desk all day, and the past 3 days after I have come back to it from some short time away (having had the screen locked) the computer has gone into standby. It is plugged in (very rarely gets unplugged)

Upon turning it back on, it shows a new battery in the power manager, with a status of 'not present'. This in turn seems to make the system think it is critically low on power, hence the standby.

$ cat /proc/acpi/battery/BAT1/state
present: no

$ cat /proc/acpi/battery/BAT0/state
present: yes
capacity state: ok
charging state: charged
present rate: 0 mA
remaining capacity: 4682 mAh
present voltage: 12469 mV

The new battery BAT1 does not show in upower, which makes this bug differ somewhat to the similar one: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/852406

$ upower -d
Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path: /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC
  power supply: yes
  updated: Wed Sep 28 08:13:31 2011 (9991 seconds ago)
  has history: no
  has statistics: no
  line-power
    online: yes

Device: /org/freedesktop/UPower/devices/mouse_6_2
  native-path: /sys/devices/pci0000:00/0000:00:1d.0/usb6/6-2
  vendor: Logitech, Inc.
  model: MX1000 Laser Mouse
  power supply: no
  updated: Wed Sep 28 10:59:34 2011 (28 seconds ago)
  has history: yes
  has statistics: no
  mouse
    present: yes
    rechargeable: yes
    state: discharging
    percentage: 71.4286%

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path: /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0
  vendor: Hewlett-Packard
  model: Primary
  serial: 05002 2010/02/26
  power supply: yes
  updated: Wed Sep 28 10:59:38 2011 (24 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: fully-charged
    energy: 50.5656 Wh
    energy-empty: 0 Wh
    energy-full: 51.7644 Wh
    energy-full-design: 55.08 Wh
    energy-rate: 0 W
    voltage: 12.469 V
    percentage: 97.6841%
    capacity: 93.9804%
    technology: lithium-ion

Daemon:
  daemon-version: 0.9.13
  can-suspend: yes
  can-hibernate yes
  on-battery: no
  on-low-battery: no
  lid-is-closed: no
  lid-is-present: yes
  is-docked: yes

Obviously only a beta, but if it helps to clear it up before release....
$ lsb_release -rd
Description: Ubuntu oneiric (development branch)
Release: 11.10

Cheers,
Sam.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
ApportVersion: 1.23-0ubuntu1
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: srigelsford 3688 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xd8900000 irq 48'
   Mixer name : 'Analog Devices AD1984A'
   Components : 'HDA:11d4194a,103c30e6,00100400 HDA:11c11040,103c1378,00100200'
   Controls : 18
   Simple ctrls : 11
DistroRelease: Ubuntu 11.10
HibernationDevice: RESUME=UUID=88d9b666-a2f8-4e16-b997-b290ed6fcab8
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110907)
MachineType: Hewlett-Packard HP Compaq 6730b (NN204ET#ABU)
Package: linux (not installed)
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.0.0-12-generic root=/dev/mapper/hostname-root ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
RelatedPackageVersions:
 linux-restricted-modules-3.0.0-12-generic N/A
 linux-backports-modules-3.0.0-12-generic N/A
 linux-firmware 1.60
Tags: oneiric running-unity
Uname: Linux 3.0.0-12-generic i686
UpgradeStatus: Upgraded to oneiric on 2011-09-12 (16 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 12/08/2009
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68PDD Ver. F.13
dmi.board.name: 30DD
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 96.22
dmi.chassis.asset.tag: CNU01305DX
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68PDDVer.F.13:bd12/08/2009:svnHewlett-Packard:pnHPCompaq6730b(NN204ET#ABU):pvrF.13:rvnHewlett-Packard:rn30DD:rvrKBCVersion96.22:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP Compaq 6730b (NN204ET#ABU)
dmi.product.version: F.13
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Sam Rigelsford (srigelsford) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 861285

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: oneiric
Revision history for this message
Sam Rigelsford (srigelsford) wrote : AcpiTables.txt

apport information

tags: added: apport-collected running-unity
description: updated
Revision history for this message
Sam Rigelsford (srigelsford) wrote : AlsaDevices.txt

apport information

Revision history for this message
Sam Rigelsford (srigelsford) wrote : BootDmesg.txt

apport information

Revision history for this message
Sam Rigelsford (srigelsford) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Sam Rigelsford (srigelsford) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Sam Rigelsford (srigelsford) wrote : Card0.Codecs.codec.1.txt

apport information

Revision history for this message
Sam Rigelsford (srigelsford) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Sam Rigelsford (srigelsford) wrote : IwConfig.txt

apport information

Revision history for this message
Sam Rigelsford (srigelsford) wrote : Lspci.txt

apport information

Revision history for this message
Sam Rigelsford (srigelsford) wrote : Lsusb.txt

apport information

Revision history for this message
Sam Rigelsford (srigelsford) wrote : PciMultimedia.txt

apport information

Revision history for this message
Sam Rigelsford (srigelsford) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Sam Rigelsford (srigelsford) wrote : ProcEnviron.txt

apport information

Revision history for this message
Sam Rigelsford (srigelsford) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Sam Rigelsford (srigelsford) wrote : ProcModules.txt

apport information

Revision history for this message
Sam Rigelsford (srigelsford) wrote : PulseSinks.txt

apport information

Revision history for this message
Sam Rigelsford (srigelsford) wrote : PulseSources.txt

apport information

Revision history for this message
Sam Rigelsford (srigelsford) wrote : RfKill.txt

apport information

Revision history for this message
Sam Rigelsford (srigelsford) wrote : UdevDb.txt

apport information

Revision history for this message
Sam Rigelsford (srigelsford) wrote : UdevLog.txt

apport information

Revision history for this message
Sam Rigelsford (srigelsford) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Andy Whitcroft (apw) wrote :

Likely the suspends are triggered by inactivity. There has been fixed made to gnome-settings-daemon which exposed a bug in the defaults (the fix made g-s-d correctly use its defaults, which we had never set correctly). This led the default on idle for AC to be suspend. Likely the new battery is appearing as a result of the suspend, rather than a trigger for it. A new g-s-d should be in the archive around now to correct the defaults.

If you could confirm whether the the suspend when I am away still occurs that would be helpful. Also if we could confirm that booting, check batteries == 1, suspend/resume, check if the battery appears and report that here. If so please also report the complete dmesg for the period including the suspend.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

I believe the issue of the second battery appearing after suspend has been resolved in indicator-power-0.9-0ubuntu2 via bug 863518. Please test and let us know.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.