Skip to content

applets/battery: show icon indicating special power mode in more cases

Natalie Clarius requested to merge work/natalie/batteryapplet-status-icon into master

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
before after

@teams/usability @teams/vdg

Edited by Natalie Clarius

Merge request reports

Loading