Unable to find energy_now file on Linux
justbuchanan opened this issue · comments
Hi, I've tried using this module on my Linux system with kernel version 4.1.6 and it hits a FileNotFoundError
because the energy_now
file doesn't exist for my battery. I do see a file in there called charge_now
though. Do you know if this is due to a renaming in more recent kernel versions? If so, would you be interested in a pull-request that fixes this? Thanks!
Looks like it is.
Fortunately it is just rename, content seems to be the same.
Best Regards
Ilya Kulakov
On 26 сент. 2015 г., at 14:38, Justin Buchanan notifications@github.com wrote:
Hi, I've tried using this module on my Linux system with kernel version 4.1.6 and it hits a FileNotFoundError because the energy_now file doesn't exist for my battery. I do see a file in there called charge_now though. Do you know if this is due to a renaming in more recent kernel versions? If so, would you be interested in a pull-request that fixes this? Thanks!
—
Reply to this email directly or view it on GitHub.
Ok cool. Do you plan on fixing this sometime or would you like me to submit a pull request?
First of all I need to fix the behavior: it should fallback to default implementation in cases like that.
Best Regards
Ilya Kulakov
On 26 сент. 2015 г., at 17:56, Justin Buchanan notifications@github.com wrote:
Ok cool. Do you plan on fixing this sometime and/or would you like me to submit a pull request?
—
Reply to this email directly or view it on GitHub.
2 years later still not fixed right?
No, but thank you for bringing my attention.
Should be fixed in the develop branch.