Reproduced in test suite:

TI:09:55:58     energy 132,000000 bigger than full 120,000000

(lt-upowerd:8664): GLib-GObject-WARNING **: value "110,000000" of type
'gdouble' is invalid or out of range for property 'percentage' of type
'gdouble'

That's how it ends up as 0%.

** Changed in: upower (Ubuntu)
       Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1240673

Title:
  Reports 0% charged for fully charged batteries

Status in “upower” package in Ubuntu:
  In Progress

Bug description:
  See the following upower dump:

  $ upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_AC
    native-path:          AC
    power supply:         yes
    updated:              Wed 16 Oct 2013 12:58:28 PM EDT (7198 seconds ago)
    has history:          no
    has statistics:       no
    line-power
      online:             yes

  Device: /org/freedesktop/UPower/devices/battery_BAT0
    native-path:          BAT0
    vendor:               SMP
    model:                DELL Y61CV22
    serial:               3840
    power supply:         yes
    updated:              Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:          yes
    has statistics:       yes
    battery
      present:             yes
      rechargeable:        yes
      state:               fully-charged
      energy:              66.6 Wh
      energy-empty:        0 Wh
      energy-full:         66.6 Wh
      energy-full-design:  66.6 Wh
      energy-rate:         0.0111 W
      voltage:             12.836 V
      percentage:          0%
      capacity:            76.9167%
      technology:          lithium-ion

  Device: /org/freedesktop/UPower/devices/battery_BAT2
    native-path:          BAT2
    vendor:               Samsung SDI
    model:                DELL W1GGM26
    serial:               12515
    power supply:         yes
    updated:              Wed 16 Oct 2013 12:58:33 PM EDT (7193 seconds ago)
    has history:          yes
    has statistics:       yes
    battery
      present:             yes
      rechargeable:        yes
      state:               fully-charged
      energy:              31.08 Wh
      energy-empty:        0 Wh
      energy-full:         31.08 Wh
      energy-full-design:  31.08 Wh
      energy-rate:         0.0111 W
      voltage:             12.428 V
      percentage:          0%
      capacity:            81.2857%
      technology:          lithium-ion

  Note that state is fully-charged, but percentage is o% on both batteries.  
This worked fine on 13.04.
  Daemon:
    daemon-version:  0.9.22
    can-suspend:     yes
    can-hibernate:   no
    on-battery:      no
    on-low-battery:  no
    lid-is-closed:   no
    lid-is-present:  yes
    is-docked:       no

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upower 0.9.22-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Wed Oct 16 15:02:33 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-04-04 (925 days ago)
  InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MarkForUpload: True
  SourcePackage: upower
  UpgradeStatus: Upgraded to saucy on 2013-10-16 (0 days ago)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to