← Back to team overview

touch-packages team mailing list archive

[Bug 1186181] Re: battery icon unreliable at low battery levels

 

Yes, I'm seeing this too. There's a second problem, unrelated to
https://code.launchpad.net/~charlesk/indicator-power/1p-1186181-prefer-
battery-charging-XXX-icons, that shows up only for discharging batteries
at a low percentage:

This goes back to bug #743823, which is about not showing the 'critical
red' icon -- regardless of the battery percentage level -- if more than
30 minutes is left on the battery. 0% and 20% both show critical red, so
the code's workaround is to bump the icon up to the 40% level.

This works less well now that the phone profile of indicator-power shows
the battery charge percentage in the menu, and the desktop profile
supports showing the percentage side-by-side with the battery icon.

I see two solutions to this:

1. Remove the "use the 40% icon" code so the  icon and percentage text
will roughly match. This has the benefit of being simple. It regresses
on bug #743823, but I'm not sure that's such a bad thing.

2. Remove the "use the 40% icon" code but have two versions of the 0%
and 20% icons -- one set showing critical red and one not -- to be used
depending on time remaining. This IMO is closer to the spirit of the
spec, but it's also potentially confusing to users, requires new icons,
and will take a little bit of care to ensure that it doesn't break 3rd
party icon sets too badly on the desktop.

Of these two, I'd lean toward option 1 because it would be the less
surprising to users. However (1) maybe there are other options I'm not
thinking of and (2) this question should probably go through Design, so
I'm going to add design to this ticket.

** Changed in: indicator-power
     Assignee: (unassigned) => Matthew Paul Thomas (mpt)

** Changed in: indicator-power
   Importance: Undecided => Medium

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

Title:
  battery icon unreliable at low battery levels

Status in The Power Indicator:
  Triaged
Status in “indicator-power” package in Ubuntu:
  Triaged

Bug description:
  Battery icon does not reliably display correct values at low battery
  levels.

  The icon works fine until you get below 30%. At 10-30% a small red
  icon should be displayed, and another icon should be displayed at
  <10%. Currently, the icon doesn't seem to change to anything smaller
  than the 40% icon.

  I have sometimes seen the red 20% icon, but it's very unreliable, and
  typically switches back to the 40% icon moments after resuming the
  phone.

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