← Back to team overview

touch-packages team mailing list archive

[Bug 1388235] Re: Battery icon turns red at 30%

 

To be a little more precise about the previous comment, I suggest:

1. that ubuntu-themes add new icons:

* ubuntu-mobile/status/scalable/battery-010.svg
* ubuntu-mobile/status/scalable/battery-010-charging.svg
* ubuntu-mobile/status/scalable/battery-030.svg
* ubuntu-mobile/status/scalable/battery-030-charging.svg
* ubuntu-mobile/status/scalable/battery-050.svg
* ubuntu-mobile/status/scalable/battery-050-charging.svg
* ubuntu-mobile/status/scalable/battery-070.svg
* ubuntu-mobile/status/scalable/battery-070-charging.svg
* ubuntu-mobile/status/scalable/battery-090.svg
* ubuntu-mobile/status/scalable/battery-090-charging.svg

2. that indicator-power try to match to the closest 10% =except= for
[20-25%] which would be special cased to -030 to avoid the red 20% icon:

[0%..5%) battery-000
[5%..15%) battery-010
[15%..19%) battery-020
[20%..35%) battery-030
[35%..45%) battery-040
[45%..55%) battery-050
[55%..65%) battery-060
[65%..75%) battery-070
[75%..85%) battery-080
[85%..95%) battery-090
[95%..100%] battery-100

3. that indicator-power keep providing the current icon names as
fallbacks so that this fix doesn't break compatibility with other icon
themes

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

Title:
  Battery icon turns red at 30%

Status in Ubuntu UX bugs:
  Confirmed
Status in “indicator-power” package in Ubuntu:
  Confirmed
Status in “ubuntu-themes” package in Ubuntu:
  New

Bug description:
  This seems a bit pessimistic since the phone still has a great deal of
  capacity and time left, perhaps 15 or 20% is a better threshold

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ux/+bug/1388235/+subscriptions


References