SVG icon set
git clone https://git.lucas.co/cce-icons.git
svg/battery.svg (1.5K)
1 <svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg">
2 <!-- Battery on its side, wireframe: body outline plus the terminal nub.
3 Stroke 4, as mail.svg. Body corners are squircle
4 (continuous-curvature) cubics, r=2.5 — the curve spans 1.5r from
5 each corner with control points at 0.5r, as in folder.svg, but at a
6 radius this body can afford: on a 16-tall box the panels' r=4.5
7 leaves almost no straight side and the outline reads as a pill, not
8 a cell. The nub clears the body wall for the same reason — inked
9 32.5..36.5 against a wall inked to 33, it reads as a terminal on
10 the end rather than a bulge in the corner. The body path
11 is inset 2 (the half-stroke) from the solid glyph's old 3..33 x
12 10..30 silhouette, so the stroked outer edge lands where the filled
13 one did, and the nub is a single capped stroke whose width IS the
14 old nub: its cap ends inside the body wall, where the two merge.
15 (The body was solid while the readout sat ON it; the number reads
16 out beside the glyph now, so there is nothing to carry.) -->
17 <g fill="none" stroke="#ffffff" stroke-width="4" stroke-linecap="round"
18 stroke-linejoin="round">
19 <path d="M8.75 12 L27.25 12 C29.75 12, 31 13.25, 31 15.75 L31 24.25 C31 26.75, 29.75 28, 27.25 28 L8.75 28 C6.25 28, 5 26.75, 5 24.25 L5 15.75 C5 13.25, 6.25 12, 8.75 12 Z" />
20 <path d="M34.5 17 L34.5 23" />
21 </g>
22 </svg>