mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-02-11 20:18:59 +00:00
linux: AirPods Max battery status support (#272)
This commit is contained in:
@@ -118,6 +118,14 @@ ApplicationWindow {
|
||||
batteryLevel: airPodsTrayApp.deviceInfo.battery.caseLevel
|
||||
isCharging: airPodsTrayApp.deviceInfo.battery.caseCharging
|
||||
}
|
||||
|
||||
PodColumn {
|
||||
visible: airPodsTrayApp.deviceInfo.battery.headsetAvailable
|
||||
inEar: true
|
||||
iconSource: "qrc:/icons/assets/" + airPodsTrayApp.deviceInfo.podIcon
|
||||
batteryLevel: airPodsTrayApp.deviceInfo.battery.headsetLevel
|
||||
isCharging: airPodsTrayApp.deviceInfo.battery.headsetCharging
|
||||
}
|
||||
}
|
||||
|
||||
SegmentedControl {
|
||||
@@ -318,4 +326,4 @@ ApplicationWindow {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user