1 Obviously, this is a battery monitor applet for Plasma.
3 The catch of those four .svg files is the following:
5 battery-inkscape.svg is an so-called "Inkscape SVG", it's the one
6 you want to edit end export to
7 battery.svg as plain .svg file.
9 Likewise, for the Oxygen theme.
11 This file contains various layers:
13 * Battery The "background", an empty battery
14 * AcAdapter A flash, saying "Ac is plugged in"
15 * Fill10 10% filled, red
16 * Fill20 20% filled, orange
17 * Fill20 30% filled, green (and so on...)
26 * Shadow An Oxygen-style shadow under the battery
28 The Battery layer is always rendered as the first step. On top
29 of that, we render only one of the FillN layers. If the AC
30 Adapter is plugged in, we paint that layer on top of the cake.
31 It makes no difference when we paint the Shadow, there's no
32 overlap between shadow and other layers.