Multiple batteries not shown properly? #620
Unanswered
blauwkeut
asked this question in
Troubleshoot
Replies: 1 comment 7 replies
-
You're right, we need to count them all. Don't do that yet. I'll fix that over the weekend. When it comes to the colors you can make use of the template functionality in the colors. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Jan,
My laptop has two batteries, but oh-my-posh seems to show this in a wierd way. Not sure if it's oh-my-posh itself or the battery library, but the prompt only shows the status of one of the batteries...
Is there a way to show the status of each battery, or the 'sum' of both batteries as reported by the OS? Or both so we can choose...
Tried messing with the template and trying to reference it array-like .Battery[1] but that didn't work.
Second question: what are the tresholds for color changes on this? Certain percentages of remaining charge? Can this be modified (colors per percentage)? And could I e.g. show a different icon based on remaining capacity (using the different battery level icons in NerdFont)?
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions