alibaba / alibaba/tidevice

tidevice/_device.py : 403: battery_info return type

Open
#329 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.6k
Forks
469
PR merge metrics
No merged PRs in 30d

Description

tidevice/_device.py: 403:

def battery_info(self) -> ScreenInfo:

return type should be BatteryInfo?

Contributor guide

No contributing guide indexed for this repository

Research direction

Open tidevice/_device.py around line 403 and inspect the battery_info method's return annotation. Confirm the returned object is BatteryInfo, update the annotation accordingly, and verify that the method's declared type matches its actual result.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, mobile-dev
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.