[Bug 1231550] Re: battery status indicator shows 'estimating'
** Changed in: indicator-power (Ubuntu) Status: Confirmed => Fix Committed ** Changed in: indicator-power (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1231550 Title: battery status indicator shows 'estimating' To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/1231550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1231550] Re: battery status indicator shows 'estimating'
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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1231550 Title: battery status indicator shows 'estimating' To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/1231550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1231550] Re: battery status indicator shows 'estimating'
** Branch linked: lp:~unity-api-team/indicator-power/16.04-lp1559731 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1231550 Title: battery status indicator shows 'estimating' To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/1231550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1231550] Re: battery status indicator shows 'estimating'
I think Reece, your problem is related to this other bug: https://bugs.launchpad.net/ubuntu/+source/indicator-power/+bug/1234458 In my case, I have no mouse icon, and the battery indicator is stuck on the estimating message. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1231550 Title: battery status indicator shows 'estimating' To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/1231550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1231550] Re: battery status indicator shows 'estimating'
Similar issue here, although I think the cause is different. See attached screenshot. 1) The menu shows estimating... even though the battery is present and charged. Furthermore, none of the other devices have useful information. 2) Note that the menu icon is for a mouse, not a battery. If I unplug power, the indicator icon momentarily shows a full battery. When I plug in again, it switches to a mouse icon. 3) I use 3 mice and 2 keyboards with this laptop. These are Logitech unified devices. I think what we're seeing is that upower reports all mice and keyboards registered with the unified receiver, even if not present. ** Attachment added: Selection_400.png https://bugs.launchpad.net/indicator-power/+bug/1231550/+attachment/3911154/+files/Selection_400.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1231550 Title: battery status indicator shows 'estimating' To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/1231550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1231550] Re: battery status indicator shows 'estimating'
upower -d corresponding to comment #6 ** Attachment added: upower-d https://bugs.launchpad.net/indicator-power/+bug/1231550/+attachment/3911155/+files/upower-d -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1231550 Title: battery status indicator shows 'estimating' To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/1231550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1231550] Re: battery status indicator shows 'estimating'
** Also affects: indicator-power Importance: Undecided Status: New ** Changed in: indicator-power Assignee: (unassigned) = Charles Kerr (charlesk) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1231550 Title: battery status indicator shows 'estimating' To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/1231550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1231550] Re: battery status indicator shows 'estimating'
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: indicator-power (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1231550 Title: battery status indicator shows 'estimating' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/indicator-power/+bug/1231550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1231550] Re: battery status indicator shows 'estimating'
** Attachment added: example of upower showing a charging battery providing time remaining https://bugs.launchpad.net/ubuntu/+source/indicator-power/+bug/1231550/+attachment/3842597/+files/upower-charging.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1231550 Title: battery status indicator shows 'estimating' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/indicator-power/+bug/1231550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1231550] Re: battery status indicator shows 'estimating'
so its probably related to the fact that I've explicitly told the battery not to charge while plugged in. Thats accomplished by: stop=80 start=40 bat_d=/sys/devices/platform/smapi/BAT0 sudo sh -c echo $stop $bat_d/stop_charge_thresh echo $start $bat_d/start_charge_thresh More info at http://www.thinkwiki.org/wiki/Tp_smapi and that requires tp_smapi module loaded. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1231550 Title: battery status indicator shows 'estimating' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/indicator-power/+bug/1231550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1231550] Re: battery status indicator shows 'estimating'
Yes, telling the battery to not charge even though it's plugged in is what's confusing indicator-power -- upower is reporting that the battery is charging, but understandably isn't providing a time-remaining estimate. In these situations, the indicator shows 'estimating' because it doesn't have enough information from upower to guess at a time. One possibility is that we could push this upstream to upower, saying that the `charging' state is inaccurate here because the battery isn't charging. At the indicator-power level, we could also look at the wattage being consumed. Your upower dump does list the `charging' state, but that only 0.0033 W are being used. I'm a little uncomfortable with adding heuristics to second-guess what upower is reporting, but it's a thought. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1231550 Title: battery status indicator shows 'estimating' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/indicator-power/+bug/1231550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs