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

Fixed battery status on Apple computers without battery, like iMacs. #317

Closed
wants to merge 1 commit into from

Conversation

bartoszj
Copy link
Contributor

@bartoszj bartoszj commented Oct 9, 2014

Fix battery status when there is no battery in the computer #315.

pmset -g batt returns only Now drawing from 'AC Power', so the bat variable will contain empty string.

@dolmen dolmen added MacOS X Related to MacOS X specific implementation battery Related to battery data or display labels Nov 8, 2014
@dolmen
Copy link
Collaborator

dolmen commented Nov 8, 2014

Thanks! I cherry picked yur commit!

@dolmen dolmen closed this Nov 8, 2014
@dolmen dolmen mentioned this pull request Nov 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
battery Related to battery data or display MacOS X Related to MacOS X specific implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants