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

Error after installing the latest version #1940

Closed
K2ouMais opened this issue Nov 28, 2020 · 2 comments · Fixed by #1950
Closed

Error after installing the latest version #1940

K2ouMais opened this issue Nov 28, 2020 · 2 comments · Fixed by #1950
Labels
🐛 bug Something isn't working as expected.

Comments

@K2ouMais
Copy link

Hello,

I just installed Starship Prompt in my WSL Ubuntu and I am getting this Warning:

[WARN] - (starship::modules::battery): Unable to access battery information:
Unable to calculate device voltage value

This device is not a laptop and so I am not using a battery.

What can I do to disable this warning?

Thank you in advance

@K2ouMais K2ouMais added the 🐛 bug Something isn't working as expected. label Nov 28, 2020
@davidkna
Copy link
Member

You can disable the battery module with starship config battery.disabled true.

@K2ouMais
Copy link
Author

That was the solution.

It would be really good if I could find this in the documentation.

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working as expected.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants