From f5aa7758b4baf752faf1e4d20e1967505863668b Mon Sep 17 00:00:00 2001 From: chenhq Date: Thu, 24 Aug 2023 18:23:19 +0800 Subject: [PATCH] fix #205 --- solox/view/apis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solox/view/apis.py b/solox/view/apis.py index c0e49e8..42fd2c6 100644 --- a/solox/view/apis.py +++ b/solox/view/apis.py @@ -396,7 +396,7 @@ def makeReport(): process = method._request(request, 'process') try: video = 0 - if platform == Platform.Android: + if platform == Platform.Android and model == 'normal': deviceId = d.getIdbyDevice(devices, platform) battery_monitor = Battery(deviceId=deviceId) battery_monitor.recoverBattery()