Skip to content
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

Support macsmc-ac/online sysfs check for pause-on-battery #3103

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

Spudz76
Copy link
Contributor

@Spudz76 Spudz76 commented Aug 5, 2022

Attempt to support/fix #3102

@SChernykh
Copy link
Contributor

If I read it right, it's not a standard location for "on battery" status.

@Spudz76
Copy link
Contributor Author

Spudz76 commented Aug 6, 2022

Yes but at the time the macsmc-battery sysfs node was not known to me from the information given, so checking AC online is the inverse of on-battery. If it's AC-offline but still running then obviously it's on battery or it wouldn't be running.

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.

None yet

2 participants