-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Unable to access battery information #63
Comments
Hi, @mkoakintomiwa! Thank you for the bug report! I managed to write a fix for it, can you test it? It's in the git branch right now, so you need to temporary replace your [dependencies]
battery = { git = "https://github.com/svartalf/rust-battery.git", branch = "issue-63" } From what I understand, it can be reproduced when your laptop battery is fully charged and AC is plugged on, so your battery neither charging nor discharging. |
I'm going to assume that 0d7b9e4 fixes this bug, so this issue is closed now. Thank you once again for the bug report! |
Operating system: Windows
I got
Unable to access battery information Error: Error { source: Kind(InvalidData), description: Some("Device rate value is unknown") } error: process didn't exit successfully:
target\debug\battery.exe(exit code: 1)
When i ran this:The text was updated successfully, but these errors were encountered: