Public bug reported:

On Fujitsu-Siemens Esprimo Mobile U9200, the "charged" and "discharging"
states are swapped in /proc/acpi/battery/BAT0/state. Ie., when the
battery is fully charged and the laptop is running on AC, the state is
reported as "discharging":

present:                 yes
capacity state:          ok
charging state:          discharging
present rate:            0 mA
remaining capacity:      4428 mAh
present voltage:         12405 mV

And vice versa, when I disconnect AC and run on battery, the state
changes to "charged":

present:                 yes
capacity state:          ok
charging state:          charged
present rate:            1945 mA
remaining capacity:      4197 mAh
present voltage:         12063 mV

This has been the case in every ubuntu release I've managed to test
(10.04, 10.10, 11.10 and 12.04) The "charging" state is reported
correctly.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-10-generic 3.2.0-10.17
ProcVersionSignature: Ubuntu 3.2.0-10.17-generic 3.2.1
Uname: Linux 3.2.0-10-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC262 Analog [ALC262 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  test       1623 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfc400000 irq 47'
   Mixer name   : 'Realtek ALC262'
   Components   : 'HDA:10ec0262,17340000,00100202'
   Controls      : 28
   Simple ctrls  : 18
CurrentDmesg:
 [   24.170174] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
 [   28.301710] atkbd serio0: Unknown key pressed (translated set 2, code 0x83 
on isa0060/serio0).
 [   28.301713] atkbd serio0: Use 'setkeycodes e003 <keycode>' to make it known.
 [   34.512012] eth0: no IPv6 routers present
Date: Sat Jan 21 17:42:27 2012
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120118)
MachineType: FUJITSU SIEMENS ESPRIMO Mobile U9200
ProcEnviron:
 LANGUAGE=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-10-generic 
root=UUID=717515d4-c709-4c85-9589-5635bab2ee06 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-10-generic N/A
 linux-backports-modules-3.2.0-10-generic  N/A
 linux-firmware                            1.67
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: yes
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/22/2008
dmi.bios.vendor: Phoenix
dmi.bios.version: 1.11 - 067 - 1566
dmi.board.name: S11D
dmi.board.vendor: FUJITSU SIEMENS
dmi.board.version: 1.0
dmi.chassis.asset.tag: FSC
dmi.chassis.type: 10
dmi.chassis.vendor: FUJITSU SIEMENS
dmi.chassis.version: 1.0
dmi.modalias: 
dmi:bvnPhoenix:bvr1.11-067-1566:bd04/22/2008:svnFUJITSUSIEMENS:pnESPRIMOMobileU9200:pvr1.0:rvnFUJITSUSIEMENS:rnS11D:rvr1.0:cvnFUJITSUSIEMENS:ct10:cvr1.0:
dmi.product.name: ESPRIMO Mobile U9200
dmi.product.version: 1.0
dmi.sys.vendor: FUJITSU SIEMENS

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: amd64 apport-bug precise

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

Title:
  Wrong battery charging state in /proc/acpi/battery

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

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

Reply via email to