cycle_count might be zero all the time for some Linux drivers #23
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
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.The text was updated successfully, but these errors were encountered: