← Back to team overview

dx-packages team mailing list archive

[Bug 1234458] Re: Indicator stuck on mouse icon, along with "estimating..."

 

After a little research, here's what I think is going on: The power
level information from Logitech mice (using HID++) has very low
resolution, as can be seen in hidpp-device.c from the "upower" package:
Power level will always be reported as one of [5, 20, 55, 90]. Power
drain rate (in watts) is not reported, so I assume the power indicator
is trying to figure out how long the battery will last just by taking
the differential of the power level. Since this never changes (until it
drops by a whole level), the estimate is always infinity.

The solution should be to modify the estimation algorithm so that if it
fails to estimate within 1 minute or so, it just reports the power rate
(55% in your case).

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-power in Ubuntu.
https://bugs.launchpad.net/bugs/1234458

Title:
  Indicator stuck on mouse icon, along with "estimating..."

Status in “indicator-power” package in Ubuntu:
  Confirmed

Bug description:
  My power indicator is stuck on the mouse icon. When I click on it, it
  says "Mouse (estimating)".

  Why is it stuck on "estimating"?
  Why show the icon at all if I'm using a Logitech mouse with a battery?

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: indicator-power 12.10.6+13.10.20130918.2-0ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-9.16-generic 3.11.2
  Uname: Linux 3.11.0-9-generic x86_64
  ApportVersion: 2.12.5-0ubuntu1
  Architecture: amd64
  Date: Wed Oct  2 20:19:51 2013
  InstallationDate: Installed on 2012-11-13 (323 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  MarkForUpload: True
  SourcePackage: indicator-power
  UpgradeStatus: Upgraded to saucy on 2013-08-19 (44 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-power/+bug/1234458/+subscriptions


References