nerd-fonts icon indicating copy to clipboard operation
nerd-fonts copied to clipboard

Glyph set for batteries with power/charging status

Open cawaltrip opened this issue 7 months ago • 2 comments

Requirements

  • [x] I have searched the issues for my request and found nothing related or helpful
  • [x] I have checked the FAQ for help
  • [x] I have reviewed the Wiki for relevant information

Problem Description

I've always been disappointed with the options available for battery glyphs in other icon and font sets.

Desired Solution

So I've created my own, called Battery Symbols (https://github.com/cawaltrip/battery-symbols). Currently, it has a horizontal battery, with charging levels in 1% increments from 0-100%, both with and without a lightning bolt charging icon in the middle of it. I've got plans for creating a vertical version, as well as embedding the actual percentage number into the batteries. Currently I'm patching them into the Nerd Fonts myself, but I thought this might be something others would appreciate.

If there's interest, but the number of glyphs is too large, I can create a separate font that includes a smaller subset of them (e.g., 0-100% in increments of 10%, plus 25% and 75%).

I've got no problem making the changes, creating the PR, and updating documentation if accepted.

Alternatives Considered

No response

Additional Context

The README of my repo has some examples of the glyphs in the font.

cawaltrip avatar May 23 '25 17:05 cawaltrip

Hey they look really great!

Unfortunately there is an abundant set of battery icons already in NF, horizontal, vertical, filled or block-indicator, with bold, wireless charge, Bluetooth, ...

Image

https://www.nerdfonts.com/cheat-sheet?q=battery

Of course not exactly as yours.

Edit: Add direct cheat sheet search link

Finii avatar May 23 '25 18:05 Finii

Thanks! What I find lacking in nerd fonts is a battery that I liked the look of (subjective, I understand), and that had the granularity of percentages I wanted, in a horizontal battery. Nerd fonts has a vertical battery from Material Design with 10% gradations, but not a horizontal one. The horizontal ones also don't have glyphs with a charging indicator.

But I also haven't seen requests for these, so I might be in the minority here. I'll continue to work on the font to add different styles and maybe in the future it'd be something of interest.

cawaltrip avatar May 24 '25 19:05 cawaltrip