Comment 12 for bug 1186181

Revision history for this message
Charles Kerr (charlesk) wrote : 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.