It should be more to emphasise the urgency of the "we'll suspend in 1 minute" threat
rather than waste power needlessly.
Ideally it would take the "critical percentage" from PowerDevil
(cherry picked from commit 77626c1e3b)
It should be more to emphasise the urgency of the "we'll suspend in 1 minute" threat
rather than waste power needlessly.
Ideally it would take the "critical percentage" from PowerDevil
in case of several batteries; a plain "sum/count" won't do it,
especially when the batteries have different Energy. Take that into
account, report it thru the dataengine and do the math correctly
Tooltips aren't particularly discoverable. This also refactors the code away from using
a string containing a HTML table (which doesn't play well with RTL languages) to a fancy
Array and a GridLayout that is shared between the battery tooltip and the main view
BUG: 337996
FIXED-IN 5.2.0
This finally allows us to have predictable sliders where a wheel whill always
result in a brightness change rather than having it go from 0 to 10 which is still
below 33% in case of 3 keyboard brightness steps resulting in no change whatsoever.
It also shows 0/3, 1/3, etc instead of percentage in such cases.
Also clean up a bit, remove superfluous clipping and prevent brightness change
on popup instantiation
Now that the AC Adapter is back in the dataengine, we can reflect the state properly again.
--Plasma Errata
This reverts commit bb6eabc0c9.
Conflicts:
applets/batterymonitor/package/contents/ui/batterymonitor.qml
Remove that broken table and just show the battery percentage
similar to what the lock screen does, since we no longer have
that overlay thingie. This also makes it consistent with the
other tooltips.
FIXED-IN: 5.1.0
BUG: 337092