Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore battery levels of 0% as they are impossible #89

Merged
merged 3 commits into from
Dec 1, 2023

Conversation

trvrnrth
Copy link
Contributor

@trvrnrth trvrnrth commented Dec 1, 2023

Resolves #88

Copy link
Owner

@zxdavb zxdavb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sort of behaviour should be encouraged - thanks!

However, adding the frames (as comments) to parsers.py is no longer best practice.

Instead, add the frames to tests/parsers/code_1060.log. This file doesn't exist, but should - have a look at tests/parsers/code_10d0.log, and you'll see exactly what is required.

Add it to this this commit.

@trvrnrth trvrnrth requested a review from zxdavb December 1, 2023 21:58
Copy link
Owner

@zxdavb zxdavb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That will do me (I'll make some minor chanes)

@zxdavb zxdavb merged commit 0a08451 into zxdavb:master Dec 1, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DT4R always reports battery level as 0
2 participants