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

Fix MacOSX Catalina without battery situation #92

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

Conversation

Vanyoo
Copy link

@Vanyoo Vanyoo commented Mar 23, 2020

  • Situation
✗ pmset -g batt
Now drawing from 'AC Power'

When I use pmset command using in helpers.sh, I get above output.My PC
does not have battery, so the plugin cannot display it well.
So I add some judgment for supporting the PC without battery.

Signed-off-by: van [email protected]

- Situation
```zsh
✗ pmset -g batt
Now drawing from 'AC Power'
```
When I use `pmset` command using in helpers.sh, I get above output.My PC
does not have battery, so the plugin cannot display it well.
So I add some judgment for supporting the PC without battery.

Signed-off-by: van <[email protected]>
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