Public bug reported:

Sometimes after I unplug the power cable I get this:

$ cat /proc/acpi/battery/BAT0/state
present:                 yes
capacity state:          ok
charging state:          charged
present rate:            22191 mW
remaining capacity:      34980 mWh
present voltage:         11498 mV

The "charging state" line is cleary wrong and mistakes HAL into this:

$ lshal | grep battery
  battery.charge_level.percentage = 63  (0x3f)  (int)
  battery.charge_level.rate = 0  (0x0)  (int)
  battery.charge_level.last_full = 51220  (0xc814)  (int)
  battery.charge_level.current = 32430  (0x7eae)  (int)
  battery.voltage.current = 11404  (0x2c8c)  (int)
  battery.reporting.rate = 22967  (0x59b7)  (int)
  battery.reporting.current = 32430  (0x7eae)  (int)
  battery.charge_level.capacity_state = 'ok'  (string)
  battery.rechargeable.is_discharging = false  (bool)
  battery.rechargeable.is_charging = false  (bool)
  battery.is_rechargeable = true  (bool)
  battery.charge_level.unit = 'mWh'  (string)
  battery.charge_level.granularity_2 = 10  (0xa)  (int)
  battery.charge_level.granularity_1 = 10  (0xa)  (int)
  battery.charge_level.low = 100  (0x64)  (int)
  battery.charge_level.warning = 250  (0xfa)  (int)
  battery.charge_level.design = 50200  (0xc418)  (int)
  battery.voltage.design = 10950  (0x2ac6)  (int)
  battery.voltage.unit = 'mV'  (string)
  battery.reporting.granularity_2 = 10  (0xa)  (int)
  battery.reporting.granularity_1 = 10  (0xa)  (int)
  battery.reporting.low = 100  (0x64)  (int)
  battery.reporting.warning = 250  (0xfa)  (int)
  battery.reporting.design = 50200  (0xc418)  (int)
  battery.reporting.last_full = 51220  (0xc814)  (int)
  battery.reporting.unit = 'mWh'  (string)
  battery.technology = 'LION013'  (string)
  battery.model = 'ASMB013'  (string)
  battery.vendor = 'DPON013'  (string)
  battery.present = true  (bool)
  info.capabilities = {'battery'} (string list)
  info.category = 'battery'  (string)
  battery.type = 'primary'  (string)
  linux.acpi_path = '/proc/acpi/battery/BAT0'  (string)

saying it's not charging or discharging.

This is a white macbook 2.0Ghz core duo laptop.

** Affects: linux-source-2.6.17 (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
ACPI incorrectly reports the battery as charged
https://launchpad.net/bugs/74594

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to