Closed mkoakintomiwa closed 4 years ago
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 battery
dependency in Cargo.toml
with the following dependency:
[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: