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

cycle_count might be zero all the time for some Linux drivers #23

Closed
svartalf opened this issue Mar 13, 2019 · 0 comments
Closed

cycle_count might be zero all the time for some Linux drivers #23

svartalf opened this issue Mar 13, 2019 · 0 comments
Labels
A-battery Area: battery crate C-bug Something isn't working good first issue Good for newcomers O-linux Operating system: Linux P-medium Medium priority

Comments

@svartalf
Copy link
Owner

Based on svartalf/rust-battop#6 issue: cycle_count file in Linux' sysfs always contains zero value even for old enough battery.

Probably zero value should be considered as None, it's rare enough situation to have new battery with correctly counted cycles amount; invalid value will be shown more often.

@svartalf svartalf added C-bug Something isn't working O-linux Operating system: Linux A-battery Area: battery crate P-medium Medium priority good first issue Good for newcomers labels Mar 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-battery Area: battery crate C-bug Something isn't working good first issue Good for newcomers O-linux Operating system: Linux P-medium Medium priority
Projects
None yet
Development

No branches or pull requests

1 participant