I see this too with version 2.24.0-0ubuntu8 of G.P.M, on a Packard Bell
EasyNote A8202 laptop. In fact, it's been like this ever since I moved
from Feisty to Hardy!

Example: tooltip shows "85.9%". The context menu says "51.0%"

"lshal |grep -i battery" shows this:
-----
  battery.charge_level.current = 25070  (0x61ee)  (int)
  battery.charge_level.design = 48840  (0xbec8)  (int)
  battery.charge_level.last_full = 29190  (0x7206)  (int)
  battery.charge_level.percentage = 51  (0x33)  (int)
  battery.charge_level.rate = 506  (0x1fa)  (int)
  battery.is_rechargeable = true  (bool)
  battery.model = '01ED'  (string)
  battery.present = true  (bool)
  battery.rechargeable.is_charging = false  (bool)
  battery.rechargeable.is_discharging = true  (bool)
  battery.remaining_time = 178363  (0x2b8bb)  (int)
  battery.reporting.current = 25070  (0x61ee)  (int)
  battery.reporting.design = 48840  (0xbec8)  (int)
  battery.reporting.last_full = 29190  (0x7206)  (int)
  battery.reporting.rate = 506  (0x1fa)  (int)
  battery.reporting.technology = 'Li-ion'  (string)
  battery.reporting.unit = 'mWh'  (string)
  battery.technology = 'lithium-ion'  (string)
  battery.type = 'primary'  (string)
  battery.vendor = 'SIMPLO'  (string)
  battery.voltage.current = 11947  (0x2eab)  (int)
  battery.voltage.design = 11100  (0x2b5c)  (int)
  battery.voltage.unit = 'mV'  (string)
  info.capabilities = {'battery'} (string list)
  info.category = 'battery'  (string)
  info.udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0'  
(string)
-----
and 'cat /proc/acpi/battery/BAT0/state' gives this:
-----
present:                 yes
capacity state:          ok
charging state:          discharging
present rate:            15961 mW
remaining capacity:      24990 mWh
present voltage:         11892 mV
-----

It looks like 51% is the correct figure.

-- 
Different discharge time in battery details and tooltip
https://bugs.launchpad.net/bugs/182738
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to