Skip to content

Conversation

@base47
Copy link

@base47 base47 commented Nov 23, 2025

See issue #420 for problem description.

@base47 base47 changed the title Fix #420: Error installing battery limiter: undefined Fix: Error installing battery limiter: undefined Nov 23, 2025
function smc_read_hex() {
key=$1
line=$(echo $(sudo smc -k $key -r))
line=$(echo $(smc -k $key -r))
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no need for sudo here and everywhere else where we just need to read a value from SMC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant