Currently we get complaints that the power profile icons sometimesreplace the battery icons, obscuring the battery level and chargingindicator.
This commit makes use of some new Breeze icons added inframeworks/breeze-icons!376 to show a badge of the current powerprofile in the corner of the battery icon when that profile is anon-default one (i.e. don't show the user their default power profileall the time; they already know what it is). This lets users see allrelevant pieces of information at once, which is quite nice.
When using other icon themes lacking these new icons, the widget willfall back gracefully to only showing the battery icon and not showingthe power profile icons at all. This is not a catastrophe IMO since thatinformation is still available in the popup.
Test Plan
- Apply frameworks/breeze-icons!376.
- On a system with batteries, change the power profile to a non-default one.
BUG: 483805FIXED-IN: 6.2
