applets/batterymonitor: use GridLayout to simplify inhibition hints
Reason for the change
RowLayout + ColumnLayout can be replaced by one GridLayout which is more efficient as those layouts are all based on GridLayout and the number of layouts is also reduced.
Test plan
Add test for inhibition hints and also check layout polish loop warnings.
Screenshots or screen recordings
Minimum width | Normal width |
---|---|
Bugs fixed
Edited by Fushan Wen