qol: charging indicater should be more acurate
This commit is contained in:
@@ -44,7 +44,7 @@ Rectangle {
|
|||||||
Text {
|
Text {
|
||||||
id: icon
|
id: icon
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
text: root.getBatteryState(UPower.displayDevice.percentage * 100, (UPower.displayDevice.changeRate))
|
text: root.getBatteryState(UPower.displayDevice.percentage * 100, ((UPower.displayDevice.timeToFull > 0)))
|
||||||
color: root.getBatteryColor(UPower.displayDevice.percentage * 100)
|
color: root.getBatteryColor(UPower.displayDevice.percentage * 100)
|
||||||
font.weight: Font.DemiBold
|
font.weight: Font.DemiBold
|
||||||
font.pointSize: 24 / 1.4
|
font.pointSize: 24 / 1.4
|
||||||
|
|||||||
Reference in New Issue
Block a user