Skip to content

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