applets/battery: show icon indicating special power mode in more cases
Ready to be merged after 6.0 is branched
Lightweight alternative to !3531 (closed) without badge overlays, since these need some more figuring out and it would be nice to get some simpler improvements in before the feature freeze.
Differences to current behavior:
- Indicate manual sleep blocking too, not only power profiles
- Indicate special power mode also if it was set manually, not only if it was requested by an application
- Indicate special power mode for the no batteries case as well
- When there are any batteries, use the power status icon only as long as not discharging, not as long as plugged in (since there may be the 'plugged in but still discharging' case which should have precedence)
before | after |
---|---|
Edited by Natalie Clarius