Improve feature support for fake AirPods Gen1 (#71)

Remove microphone detection and add ear detection and pod charge detection.
This commit is contained in:
Matthias Urhahn
2023-01-06 16:39:46 +01:00
committed by GitHub
parent 86df7bea22
commit 4101fddc5b
2 changed files with 31 additions and 18 deletions
@@ -24,6 +24,12 @@ class FakeAirPodsGen1Test : BaseAirPodsTest() {
batteryLeftPodPercent shouldBe 1.0f
batteryRightPodPercent shouldBe 1.0f
isLeftPodInEar shouldBe false
isRightPodInEar shouldBe false
isLeftPodCharging shouldBe true
isRightPodCharging shouldBe true
isCaseCharging shouldBe false
batteryCasePercent shouldBe 0.7f