Setting desired battery level

0

We are trying test our application in AWS Devicefarm. We have created Appium Java Testng tests, which would run on devicefarm real devices. We want to verify the battery usage when we use the app. We are planning to achieve this by comparing the battery levels at start and end of test. We are able to extract the device battery level using Appium, but in most cases the device appears to be in charging state. Is there a way to set the battery level in device farm or pick up devices which are not in charging state.

質問済み 2年前67ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ