-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when running battery charging off with latest version #8
Comments
You'll have to run Please let me know if that fixes it. |
Hey it worked @actuallymentor , thanks! You should add this to the readme. I reckon it happens a lot. |
I have the same problem.
This did not fix it for me. And just want to add one more interesting bit of information. When I run Then as a sanity check, I just tried to run that command myself: After running Even though I'm sure that nowhere during the installation process did I intentionally give any process root acces. But it may of course be possible, because the app did ask me to fill in my password one time to install additional components. So maybe the app is using that password accidentally to give itself root access while installing those additional components. And so yes, if it then also created So I just deleted that log file by force. And then when I ran Hope this information can help you to fix this issue better. |
I installed with homebrew and was having this issue. I just ran |
Hey all! Thanks for doing a dive into this, I appreciate it. This issue should only occur if you had a previous version installed. The beta/RC versions messed up some things (my bad), and it should not happen in the future. If anyone finds this thread, things you can do to attempt a fix:
And to reinstall use brew (if you have it):
|
After updating the app, when I run
battery charging off
, I keep getting the following error,touch: /Users/xxx/.battery/battery.log: Permission denied 15:47:15 - Setting charging to off touch: /Users/xxx/.battery/battery.log: Permission denied touch: /Users/xxx/.battery/battery.log: Permission denied 15:47:15 - Enabling battery charging touch: /Users/xxx/.battery/battery.log: Permission denied 15:47:15 - Battery at 63% ((no remaining), smc charging enabled 15:47:15 - Disabling battery charging
I am unable to access the .battery folder. I have tried deleting the folder and reinstalling battery as well. Still get the same error.
I also ran sudo battery visudo. Still have the same error.
The text was updated successfully, but these errors were encountered: