Comment 9 for bug 1231550

Revision history for this message
htrex (hantarex) wrote :

I'm seeing the the battery indicator stuck on the estimating message on a Dell XPS 9560 using Ubuntu 16.04.2 with 4.10.0-20-generic #22~16.04.1-Ubuntu SMP Thu Apr 20 17:43:29 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux.

The Dell XPS, as the Thinkpad of the OP, has a charge limiter to prolong the battery life in the years. It can be set on a range from 55 % to 100% of the battery capacity.

upower reports the state as "charging" but the energy-rate is just 0,0114 W.

I think that when the rate is so low, detecting a trickle charging it's more a fact than a guess.

This is the upower dump (some unimportant bluetooth external devices removed):

upower --dump
Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path: AC
  power supply: yes
  updated: sab 29 apr 2017 15:47:39 CEST (10348 seconds ago)
  has history: no
  has statistics: no
  line-power
    warning-level: none
    online: yes
    icon-name: 'ac-adapter-symbolic'

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path: BAT0
  vendor: LGC-LGC8.33
  model: DELL 5XJ2871
  serial: 3343
  power supply: yes
  updated: sab 29 apr 2017 18:38:26 CEST (101 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: charging
    warning-level: none
    energy: 55,6092 Wh
    energy-empty: 0 Wh
    energy-full: 95,8512 Wh
    energy-full-design: 96,9912 Wh
    energy-rate: 0,0114 W
    voltage: 11,7 V
    percentage: 58%
    capacity: 98,8246%
    technology: lithium-ion
    icon-name: 'battery-good-charging-symbolic'

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply: yes
  updated: sab 29 apr 2017 15:47:39 CEST (10348 seconds ago)
  has history: no
  has statistics: no
  battery
    present: yes
    state: charging
    warning-level: none
    energy: 55,6092 Wh
    energy-full: 95,8512 Wh
    energy-rate: 0,0114 W
    percentage: 58%
    icon-name: 'battery-good-charging-symbolic'

Daemon:
  daemon-version: 0.99.4
  on-battery: no
  lid-is-closed: no
  lid-is-present: yes
  critical-action: HybridSleep