Closed svartalf closed 5 years ago
Manager::refresh folder should check if battery root path is still exists and return an Err(..) immediately if Linux had removed that folder.
Manager::refresh
Err(..)
Since Battery struct is an instant information representation, it is not affected by the related bug.
Battery
For details see: https://github.com/svartalf/rust-battop/issues/8
Manager::refresh
folder should check if battery root path is still exists and return anErr(..)
immediately if Linux had removed that folder.Since
Battery
struct is an instant information representation, it is not affected by the related bug.For details see: https://github.com/svartalf/rust-battop/issues/8