Skip to content

applets/battery: rework layout for inhibitions

Before After
no inhibitions before_1 after_1
with inhibitions before_2 after_2


  • We want to add the ability to release app inhibitions (BUG: 423745, which is in progress), so we'll need a somewhat more spacious layout to place buttons
  • Consistency: All other items in the applet are shown in this format (icon, heading, state label, controls, more details), and unlike e.g. controls for turning bluetooth on/off, it was never actually a global control to disable everything power related, so it being in the header was a little arbitrary


  • It makes the applet more lengthy, but since all the brightness related controls have been split out, we do have that space available.


Merge request reports