Power
Power copied to clipboard
Functionality for remaining percentage (linux)
This should add functionality to also get the remaining battery percentages of all batteries on linux
@meepoSenpai We should add implementation for get_remaining_percentage for all other platforms. Even if the implementation simply raises NotImplementedError.
It should suffice to raise a NotImplementedError in the Superclass, correct?
Since it's an @abstractmethod it has to be implemented.
get_remaining_percentage must be implemented for Windows or Darwin before this can be merged.
I would say "Power" as a package is not complete until a few more things are being taken care of, such as get_remaining_percentage and get_time_remaining (which just works in an os-independent way).
@kootenpv What is the difference between get_time_remaining_estimate and get_time_remaining?