git.lucas.co / cce-icons
SVG icon set
git clone https://git.lucas.co/cce-icons.git

commit9b86516bc9c6fac9a4a0aa156a402aa6221d310a
parent0bab946616
authorLucas Galante <[email protected]>
date2026-09-16 10:22
Add battery-charging: the battery glyph with a bolt across it

The bolt runs the glyph's full height rather than the body's, so its tips
stay visible when the status bar's digit pocket covers the middle; a mask
knocks a gap out of the body around it so it reads as a bolt on the
battery.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

 svg/battery-charging.svg | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/svg/battery-charging.svg b/svg/battery-charging.svg
new file mode 100644
index 0000000..780e2bb
--- /dev/null
+++ b/svg/battery-charging.svg
@@ -0,0 +1,18 @@
+<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg">
+  <!-- battery.svg with a bolt across the body. The bolt runs the glyph's full
+       height, not just the body's, so its tips still show when a readout's
+       digit pocket covers the middle; the mask knocks a gap out of the body
+       around it so it reads as a bolt ON the battery, not a blob in it. -->
+  <defs>
+    <mask id="gap">
+      <rect width="40" height="40" fill="#ffffff" />
+      <path d="M21 1 L11 22 L18 22 L15 39 L26 17 L19 17 Z" fill="#000000"
+            stroke="#000000" stroke-width="4" stroke-linejoin="round" />
+    </mask>
+  </defs>
+  <g fill="#ffffff">
+    <rect x="3" y="10" width="30" height="20" rx="4" mask="url(#gap)" />
+    <rect x="33" y="15" width="4" height="10" rx="1.5" />
+    <path d="M21 1 L11 22 L18 22 L15 39 L26 17 L19 17 Z" />
+  </g>
+</svg>